API ReferenceAp invoices
Preview landed cost adjustment for a PO
AuthorizationBearer <token>
In: header
Path Parameters
id*string
purchaseOrderId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/ap-invoices/string/landed-cost-preview/string"{
"adjustments": [
{
"costAllocation": 0.1,
"currentQuantity": 0.1,
"currentTotalValue": 0.1,
"currentUnitPrice": 0.1,
"newUnitPrice": 0.1,
"priceIncrease": 0.1,
"priceIncreasePercent": 0.1,
"productId": "string",
"productName": "string",
"proportionOfPO": 0.1,
"stockSiteId": "string",
"stockSiteName": "string"
}
],
"allocatedAmount": 0.1,
"alreadyApplied": true,
"apInvoiceId": "string",
"costType": "PRODUCT",
"distributionMethod": "BY_VALUE",
"purchaseOrderId": "string",
"totalCostToDistribute": 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"
}