POST /landed-cost-purchase-invoices.json
Body Required
-
Amount
Default value is
0
. -
exchangeIso string | null
Exchange iso
-
exchangeRate number(float) | null
Exchange rate
-
Landed cost
-
Purchase invoice
POST /landed-cost-purchase-invoices.json
curl \
-X POST http://api.example.com/v1/landed-cost-purchase-invoices.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"amount":0,"exchangeIso":"string","exchangeRate":42.0,"landedCostId":42,"purchaseInvoiceId":42}'
Request example
{
"amount": 0,
"exchangeIso": "string",
"exchangeRate": 42.0,
"landedCostId": 42,
"purchaseInvoiceId": 42
}
Response examples (200)
{
"amount": 0,
"createdAt": "2024-05-04T09:42:00+00:00",
"exchangeIso": "string",
"exchangeRate": 42.0,
"id": 42,
"landedCostId": 42,
"purchaseInvoiceId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00"
}