curl --location '/api/v1/InventoryPurchaseInvoice/Save' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"inventoryPurchaseInvoice": {
"inventoryPurchaseInvoiceID": 0,
"vendorDLRef": 0,
"number": 0,
"invoiceNumber": 0,
"date": "2019-08-24T14:15:22.123Z",
"currencyRef": 0,
"currencyRate": 0,
"totalPrice": 0,
"totalPriceInBaseCurrency": 0,
"totalTax": 0,
"totalDuty": 0,
"totalTransportPrice": 0,
"totalNetPrice": 0,
"totalNetPriceInBaseCurrency": 0,
"paymentHeaderRef": 0,
"type": 0,
"partyAddressRef": 0,
"description": "string",
"inventoryPurchaseInvoiceItem": [
{
"rowNumber": 0,
"itemRef": 0,
"quantity": 0,
"secondaryQuantity": 0,
"remainingQuantity": 0,
"remainingSecondaryQuantity": 0,
"currencyRate": 0,
"fee": 0,
"feeInBaseCurrency": 0,
"price": 0,
"priceInBaseCurrency": 0,
"discount": 0,
"discountInBaseCurrentcy": 0,
"addition": 0,
"additionInBaseCurrency": 0,
"tax": 0,
"taxInBaseCurrency": 0,
"duty": 0,
"dutyInBaseCurrency": 0,
"transportPrice": 0,
"transportTax": 0,
"transportDuty": 0,
"transportDescription": "string",
"netPriceInBaseCurrency": 0,
"description": "string"
}
]
}
}'