Write downs billing items
| From Body | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ContactId | Guid | Contact who owns the Billing items | ||||||||||||
| Notes | String | Any user friendly note to help during the reconcillation process | ||||||||||||
| TenderTypeId | Int32 | Check Legend support for the TenderTypeId | ||||||||||||
| WriteDownDate | DateTime | The date the payment was collected | ||||||||||||
| [BillingWriteDownsRequestLineItem] | List of billing items and payments. Make sure there is always one BillingId per request | |||||||||||||
|
||||||||||||||
{
"ContactId": "03655dfe-830a-4e23-95d8-e0e0813e39fa",
"WriteDownDate": "2025-12-18T09:29:32.8007628+00:00",
"BillingWriteDowns": [
{
"BillingId": 1,
"Amount": 2.0,
"GLAccountId": 3
},
{
"BillingId": 1,
"Amount": 2.0,
"GLAccountId": 3
},
{
"BillingId": 1,
"Amount": 2.0,
"GLAccountId": 3
}
],
"TenderTypeId": 2,
"Notes": "sample string 3"
}
BillingWriteDownsResponse
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ContactId | Guid | Contact who the Billing items belongs to | ||||||||||||||||||
| ErrorMessage | String | Error message if there is a global failure | ||||||||||||||||||
| Success | Boolean | |||||||||||||||||||
| [BillingWriteDownsResponseLineItem] | For each write down request, you will get one line item | |||||||||||||||||||
|
||||||||||||||||||||
{
"ContactId": "1f789f35-31f0-4028-ba15-bbbd8f119f9b",
"BillingWriteDowns": [
{
"BillingId": 1,
"Balance": 1.0,
"ProcessDate": "2025-12-18T09:29:32.81643+00:00",
"WriteDownDate": "2025-12-18T09:29:32.81643+00:00",
"ErrorMessage": "sample string 2"
},
{
"BillingId": 1,
"Balance": 1.0,
"ProcessDate": "2025-12-18T09:29:32.81643+00:00",
"WriteDownDate": "2025-12-18T09:29:32.81643+00:00",
"ErrorMessage": "sample string 2"
},
{
"BillingId": 1,
"Balance": 1.0,
"ProcessDate": "2025-12-18T09:29:32.81643+00:00",
"WriteDownDate": "2025-12-18T09:29:32.81643+00:00",
"ErrorMessage": "sample string 2"
}
],
"ErrorMessage": "sample string 2",
"Success": false
}
| Bundle(s) |
|---|
| BillingWriteDown |