{
"dms_sales_invoice": [
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"document_number": "string",
"document_date": "2024-08-05T11:09:10.877Z",
"delivery_date": "2024-08-05T11:09:10.877Z",
"customer_code": "string",
"division_code": "string",
"salesman_code": "string",
"route_code": "string",
"total_quantity": 0,
"total_debit_sales": 0,
"total_credit_sales": 0,
"tax_amount": 0,
"discount_amount": 0,
"net_off_amount": 0,
"document_amount": 0,
"currency_code": "string",
"payment_terms": 0,
"beat_code": "string",
"load_out_document_number": "string",
"total_amount_in_words": "string",
"coupon_code": "string",
"coupon_discount_amount": 0,
"bill_to_customer": "string",
"due_date": "2024-08-05T11:09:10.877Z",
"deposit_amount": 0,
"return_amount": 0,
"source_of_data": 0,
"source_tag": "string",
"dms_sales_invoice_details": [
{
"sequence_number": 0,
"item_code": "string",
"item_quantity": 0,
"item_quantity_1": 0,
"item_quantity_2": 0,
"item_quantity_3": 0,
"item_price": 0,
"item_total_promotion": 0,
"item_excise_tax": 0,
"net_unit_price": 0,
"line_net_amount": 0,
"is_free_good": 0,
"distributed_promotion_amount": 0,
"tax_percentage_1": 0,
"tax_amount_1": 0
}
],
"dms_sales_invoice_promo_details": [
{
"sequence_number": 0,
"item_code": "string",
"promotion_amount": 0,
"promotion_quantity": 0,
"promotion_code": "string",
"promo_chg_indicator": 0,
"slab_number": 0,
"promo_coupon_indicator": "string"
}
]
}
]
}
curl --location --request POST 'https://testapi.com/api/xd/1.0/set_dms_sales_invoice' \
--header 'Content-Type: application/json' \
--data-raw '{
"dms_sales_invoice": [
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"document_number": "string",
"document_date": "2024-08-05T11:09:10.877Z",
"delivery_date": "2024-08-05T11:09:10.877Z",
"customer_code": "string",
"division_code": "string",
"salesman_code": "string",
"route_code": "string",
"total_quantity": 0,
"total_debit_sales": 0,
"total_credit_sales": 0,
"tax_amount": 0,
"discount_amount": 0,
"net_off_amount": 0,
"document_amount": 0,
"currency_code": "string",
"payment_terms": 0,
"beat_code": "string",
"load_out_document_number": "string",
"total_amount_in_words": "string",
"coupon_code": "string",
"coupon_discount_amount": 0,
"bill_to_customer": "string",
"due_date": "2024-08-05T11:09:10.877Z",
"deposit_amount": 0,
"return_amount": 0,
"source_of_data": 0,
"source_tag": "string",
"dms_sales_invoice_details": [
{
"sequence_number": 0,
"item_code": "string",
"item_quantity": 0,
"item_quantity_1": 0,
"item_quantity_2": 0,
"item_quantity_3": 0,
"item_price": 0,
"item_total_promotion": 0,
"item_excise_tax": 0,
"net_unit_price": 0,
"line_net_amount": 0,
"is_free_good": 0,
"distributed_promotion_amount": 0,
"tax_percentage_1": 0,
"tax_amount_1": 0
}
],
"dms_sales_invoice_promo_details": [
{
"sequence_number": 0,
"item_code": "string",
"promotion_amount": 0,
"promotion_quantity": 0,
"promotion_code": "string",
"promo_chg_indicator": 0,
"slab_number": 0,
"promo_coupon_indicator": "string"
}
]
}
]
}'
{
"status": 0,
"message": "string",
"transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"record_count": 0
}