Validates the unit price of a purchase invoice line that differs from its supplier order line. Needs the Validation right of supplier orders (or the order's workflow validators). The price is recorded on the order line as its invoiced price. Returns the invoice's remaining price differences
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/procurement/invoicing/orders/{orderId}/lines/{lineId}/price-validation
curl \
--request POST 'https://wyzio.app/api-v1/procurement/invoicing/orders/{orderId}/lines/{lineId}/price-validation' \
--header "Content-Type: application/json" \
--data '{
"purchaseInvoiceId": 1234,
"attributionId": 5678,
"comment": "Price increase agreed by phone"
}'
Request examples
# Headers
# Payload
{
"purchaseInvoiceId": 1234,
"attributionId": 5678,
"comment": "Price increase agreed by phone"
}
Response examples (200)
{}