{
"pending_invoice": [
{
"tenant_code": "string",
"location_code": "string",
"customer_code": "string",
"route_code": "string",
"salesman_code": "string",
"division_code": "string",
"sap_no": "string",
"invoice_prefix": "string",
"invoice_number": 0,
"invoice_date": "2019-08-24T14:15:22Z",
"total_invoice_amount": 0,
"paid_amount": 0,
"un_cleared_amount": 0,
"balance_amount": 0,
"due_date": "2019-08-24T14:15:22Z",
"is_new": 0,
"document_type": 0,
"sales_currency_code": "string",
"exchange_rate": 0
}
]
}
curl --location --request POST 'https://testapi.com/api/xd/1.0/set_pending_invoice' \
--header 'Content-Type: application/json' \
--data-raw '{
"pending_invoice": [
{
"tenant_code": "string",
"location_code": "string",
"customer_code": "string",
"route_code": "string",
"salesman_code": "string",
"division_code": "string",
"sap_no": "string",
"invoice_prefix": "string",
"invoice_number": 0,
"invoice_date": "2019-08-24T14:15:22Z",
"total_invoice_amount": 0,
"paid_amount": 0,
"un_cleared_amount": 0,
"balance_amount": 0,
"due_date": "2019-08-24T14:15:22Z",
"is_new": 0,
"document_type": 0,
"sales_currency_code": "string",
"exchange_rate": 0
}
]
}'
{
"status": 0,
"message": "string",
"transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
"record_count": 0
}