API ReferenceAp invoices
Apply landed cost adjustment to stock
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/ap-invoices/string/apply-landed-cost" \ -H "Content-Type: application/json" \ -d '{ "distributionMethod": "BY_VALUE", "purchaseOrderId": "string" }'{
"adjustmentsApplied": 0,
"apInvoiceId": "string",
"message": "string",
"purchaseOrderId": "string",
"stockTransactionIds": [
"string"
],
"success": true,
"totalCostDistributed": 0.1
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}