Validate an invoiced price

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
POST /api-v1/procurement/invoicing/orders/{orderId}/lines/{lineId}/price-validation

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

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Path parameters

  • orderId integer(int64) Required

    Supplier order ID

  • lineId integer(int64) Required

    Supplier order line ID

application/json

Body Required

  • purchaseInvoiceId integer(int64)

    Purchase invoice

  • attributionId integer(int64)

    Attribution line of the invoice with the new price

  • comment string

    Comment of the validator

Responses

  • 200 application/json

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

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)
{}