curl --location '/api/GenerateInvoiceByItemCode' \
--header 'Content-Type: application/json' \
--data '{
"token": "string",
"description": "string",
"quotationRef": 0,
"customerPartyRef": 0,
"customerPartyCode": "string",
"number": 0,
"customerRealName": "string",
"email": "string",
"saleTypeRef": 0,
"partyAddressRef": 0,
"date": "2019-08-24T14:15:22.123Z",
"price": 0,
"discount": 0,
"addition": 0,
"tax": 0,
"duty": 0,
"rate": 0,
"currencyRef": 0,
"voucherRef": 0,
"creator": 0,
"fiscalYearsRef": 0,
"netPrice": 0,
"invoiceItem": [
{
"itemRef": 0,
"stockRef": 0,
"invoiceRef": 0,
"quantity": 0,
"fee": 0,
"price": 0,
"customerDiscount": 0,
"customerDiscountRate": 0,
"discount": 0,
"addition": 0,
"tax": 0,
"duty": 0,
"netPrice": 0,
"code": "string",
"description": "string"
}
]
}'