{
"approvalStatus": {},
"balanceAmount": {},
"baseAmount": {},
"cgst": {},
"chargeCustomer": {},
"customerId": "string",
"description": {},
"dispatchNow": {},
"dueDate": {},
"emailAddress": {},
"gstExclusive": {},
"igst": {},
"invoiceDate": {},
"invoiceNumber": {},
"mobileNumber": {},
"netAmount": {},
"partialPaymentAllowed": {},
"payableReferenceId": {},
"poNumber": {},
"receivableStatus": {},
"sgst": {},
"tds": {},
"totalReceived": {},
"via": {}
}
curl --location --request PATCH 'https://test.your-api-server.com/api/v0/invoice/' \
--header 'Content-Type: application/json' \
--data-raw '{
"approvalStatus": {},
"balanceAmount": {},
"baseAmount": {},
"cgst": {},
"chargeCustomer": {},
"customerId": "string",
"description": {},
"dispatchNow": {},
"dueDate": {},
"emailAddress": {},
"gstExclusive": {},
"igst": {},
"invoiceDate": {},
"invoiceNumber": {},
"mobileNumber": {},
"netAmount": {},
"partialPaymentAllowed": {},
"payableReferenceId": {},
"poNumber": {},
"receivableStatus": {},
"sgst": {},
"tds": {},
"totalReceived": {},
"via": {}
}'
{
"errorResponse": {
"apiSubErrors": [
{}
],
"errorMessage": "string",
"errorType": "CLIENT_REQUEST_ABORT",
"requestId": "string",
"timestamp": "yyyy-MM-dd HH:mm:ss"
},
"payload": {
"approvalStatus": {
"label": "string",
"name": "PAID"
},
"attachmentUrl": "string",
"balanceAmount": 0,
"baseAmount": 0,
"cgst": 0,
"createdBy": "string",
"createdByEmail": "string",
"createdByMobile": "string",
"createdByName": "string",
"createdOn": "2019-08-24T14:15:22Z",
"customerId": "string",
"customerLegalName": "string",
"description": "string",
"dispatched": true,
"dispatchedOn": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24",
"externalId": "string",
"hasKeyContacts": true,
"igst": 0,
"invoiceAttachments": [
{
"attachmentSource": "TALLY_INVOICE",
"createdBy": "string",
"deleted": true,
"fileExt": "string",
"invoiceAttachmentId": "string",
"modifiedBy": "string",
"originalFilename": "string",
"primary": true,
"referenceId": "string",
"remarks": "string",
"shared": true,
"url": "string"
}
],
"invoiceDate": "2019-08-24T14:15:22Z",
"invoiceId": "string",
"invoiceNumber": "string",
"modifiedBy": "string",
"modifiedByEmail": "string",
"modifiedByMobile": "string",
"modifiedByName": "string",
"modifiedOn": "2019-08-24T14:15:22Z",
"netAmount": 0,
"partialPaymentAllowed": true,
"payableReferenceId": "string",
"paymentLink": "string",
"payoutStatus": {
"label": "string",
"name": "PAID"
},
"poNumber": "string",
"receivableStatus": {
"label": "string",
"name": "PAID"
},
"sellerId": "string",
"sgst": 0,
"tds": 0,
"totalReceived": 0,
"via": "string"
},
"response_code": 0,
"response_message": "string"
}