{
"ar_collection": [
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"document_number": "string",
"document_date": "2024-06-14T06:17:04.908Z",
"customer_code": "string",
"salesman_code": "string",
"route_code": "string",
"division_code": "string",
"document_amount": 0,
"payment_type": 0,
"currency_code": "string",
"load_out_document_no": "string",
"ar_invoice_details": [
{
"invoice_number": "string",
"invoice_date": "2024-06-14T06:17:04.908Z",
"invoice_amount": 0,
"amount_paid": 0,
"comments": "string"
}
],
"ar_collection_detail": [
{
"payment_indicator": "string",
"collection_amount": 0,
"check_number": 0,
"check_date": "2024-06-14T06:17:04.908Z",
"bank_details": "string",
"branch_details": "string",
"comments": "string"
}
]
}
]
}
curl --location --request POST 'https://testapi.com/api/xd/1.0/set_dms_ar_collection' \
--header 'Content-Type: application/json' \
--data-raw '{
"ar_collection": [
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"document_number": "string",
"document_date": "2024-06-14T06:17:04.908Z",
"customer_code": "string",
"salesman_code": "string",
"route_code": "string",
"division_code": "string",
"document_amount": 0,
"payment_type": 0,
"currency_code": "string",
"load_out_document_no": "string",
"ar_invoice_details": [
{
"invoice_number": "string",
"invoice_date": "2024-06-14T06:17:04.908Z",
"invoice_amount": 0,
"amount_paid": 0,
"comments": "string"
}
],
"ar_collection_detail": [
{
"payment_indicator": "string",
"collection_amount": 0,
"check_number": 0,
"check_date": "2024-06-14T06:17:04.908Z",
"bank_details": "string",
"branch_details": "string",
"comments": "string"
}
]
}
]
}'
{
"status": 0,
"message": "string",
"transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"record_count": 0
}