curl --location '/api/v1/ReturnedInvoice/Save' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"returnedInvoice": {
"returnedInvoiceId": 0,
"quotationRef": 0,
"customerPartyRef": 0,
"customerRealName": "string",
"customerPartyPhone": "string",
"customerPartyIdentificationCode": "string",
"customerPartyCode": "string",
"saleTypeRef": 0,
"partyAddressRef": 0,
"number": 0,
"date": "2019-08-24T14:15:22.123Z",
"currencyRef": 0,
"slRef": 0,
"price": 0,
"discount": 0,
"addition": 0,
"tax": 0,
"duty": 0,
"priceInBaseCurrency": 0,
"discountInBaseCurrency": 0,
"additionInBaseCurrency": 0,
"taxInBaseCurrency": 0,
"dutyInBaseCurrency": 0,
"rate": 0,
"netPrice": 0,
"creator": 0,
"creationDate": "2019-08-24T14:15:22.123Z",
"lastModifier": 0,
"lastModificationDate": "2019-08-24T14:15:22.123Z",
"fiscalYearRef": 0,
"description": "string"
},
"returnedInvoiceItem": [
{
"rowID": 0,
"itemRef": 0,
"itemCode": "string",
"tracingRef": 0,
"stockRef": 0,
"quantity": 0,
"secondaryQuantity": 0,
"fee": 0,
"price": 0,
"priceInBaseCurrency": 0,
"discount": 0,
"discountInBaseCurrency": 0,
"customerDiscount": 0,
"customerDiscountRate": 0,
"addition": 0,
"additionInBaseCurrency": 0,
"tax": 0,
"duty": 0,
"taxInBaseCurrency": 0,
"dutyInBaseCurrency": 0,
"rate": 0,
"quotationItemRef": 0,
"description": "string",
"netPrice": 0
}
]
}'