curl --location '/api/GenerateReceipt' \
--header 'Content-Type: application/json' \
--data '{
"token": "string",
"type": 0,
"accountSlRef": 0,
"dlRef": 0,
"number": 0,
"date": "2019-08-24T14:15:22.123Z",
"currencyRef": 0,
"description": "string",
"discount": 0,
"totalAmount": 0,
"rate": 0,
"cashRef": 0,
"amount": 0,
"amountInBaseCurrency": 0,
"fiscalYearRef": 0,
"voucherRef": 0,
"discountRate": 0,
"discountInBaseCurrency": 0,
"totalAmountInBaseCurrency": 0,
"receiptAmount": 0,
"receiptDraft": [
{
"number": "string",
"date": "2019-08-24T14:15:22.123Z",
"amount": 0,
"bankAccountRef": 0,
"description": "string",
"currencyRef": 0,
"rate": 0,
"amountInBaseCurrency": 0
}
],
"receiptPos": [
{
"posRef": 0,
"amount": 0,
"currencyRef": 0,
"rate": 0,
"amountInBaseCurrency": 0,
"trackingCode": "string"
}
],
"receiptCheque": [
{
"number": "string",
"secondNumber": "string",
"isGuarantee": true,
"accountNo": "string",
"amount": 0,
"date": "2019-08-24T14:15:22.123Z",
"description": "string",
"cashRef": 0,
"bankRef": 0,
"branchCode": "string",
"branchTitle": "string",
"locationRef": 0,
"currencyRef": 0,
"rate": 0,
"amountInBaseCurrency": 0,
"bankBranchRef": 0,
"dlRef": 0,
"type": 0,
"initState": 0,
"sayadCode": "string",
"chequeOwner": "string"
}
]
}'