> For the complete documentation index, see [llms.txt](https://restapi.wyzio.com/llms.txt)

# Validate an invoiced price

> 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



## Servers
- Generated server url: https://wyzio.app (Generated server url)



## Parameters
### Headers

- **WEAL-TOKEN** ()
  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))
  Supplier order ID

- **lineId** (integer(int64))
  Supplier order line ID



### Body: application/json (object)

- **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
OK

#### Body: application/json (object)
object
### 400
400 Bad Request

### 401
401 Unauthorized

### 403
403 Access Denied

### 404
404 Not Found

### 500
500 Internal Server Error


[Powered by Bump.sh](https://bump.sh)
