curl --location '/api/v1/Receipt/Save' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"receiptHeader": {
"receiptHeaderId": 0,
"type": 0,
"accountSlRef": 0,
"dlRef": 0,
"number": 0,
"date": "2019-08-24T14:15:22.123Z",
"currencyRef": 0,
"description": "string",
"description_En": "string",
"discount": 0,
"totalAmount": 0,
"itemType": 0,
"state": 0,
"creatorForm": "string",
"creator": 0,
"creationDate": "2019-08-24T14:15:22.123Z",
"lastModifier": 0,
"lastModificationDate": "2019-08-24T14:15:22.123Z",
"version": 0,
"rate": 0,
"cashRef": 0,
"amount": 0,
"amountInBaseCurrency": 0,
"fiscalYearRef": 0,
"voucherRef": 0,
"discountRate": 0,
"discountInBaseCurrency": 0,
"guid": "string",
"totalAmountInBaseCurrency": 0
},
"receiptCheques": [
{
"receiptChequeId": 0,
"number": "string",
"secondNumber": "string",
"isGuarantee": true,
"accountNo": "string",
"amount": 0,
"date": "2019-08-24T14:15:22.123Z",
"description": "string",
"description_En": "string",
"version": 0,
"state": 0,
"cashRef": 0,
"receiptHeaderRef": 0,
"bankRef": 0,
"branchCode": "string",
"branchTitle": "string",
"locationRef": 0,
"headerNumber": 0,
"headerDate": "2019-08-24T14:15:22.123Z",
"currencyRef": 0,
"rate": 0,
"amountInBaseCurrency": 0,
"bankBranchRef": 0,
"dlRef": 0,
"type": 0,
"initState": 0,
"sayadCode": "string",
"chequeOwner": "string"
}
],
"receiptDrafts": [
{
"receiptDraftId": 0,
"number": "string",
"date": "2019-08-24T14:15:22.123Z",
"amount": 0,
"bankAccountRef": 0,
"description": "string",
"description_En": "string",
"version": 0,
"receiptHeaderRef": 0,
"headerNumber": 0,
"headerDate": "2019-08-24T14:15:22.123Z",
"currencyRef": 0,
"rate": 0,
"amountInBaseCurrency": 0
}
],
"receiptPoses": [
{
"receiptPosId": 0,
"posRef": 0,
"amount": 0,
"state": 0,
"version": 0,
"receiptHeaderRef": 0,
"headerNumber": 0,
"headerDate": "2019-08-24T14:15:22.123Z",
"currencyRef": 0,
"rate": 0,
"amountInBaseCurrency": 0,
"trackingCode": "string"
}
]
}'