πŸ”’ Assign purchase order to supplier invoice V3

This endpoint is currently in Beta and available for testing. It may contain bugs, and breaking changes can occur at any time without prior notice. We do not recommend using Beta endpoints in production environments. Should you choose to use it in production, you assume full responsibility for any resulting issues.

This endpoint requires the following scopes: supplierInvoice:update.

Assign a purchase order to a supplier invoice. An invoice can be split across several purchase orders, and the same purchase order can be assigned more than once, each assignment stating its own share of the invoice. Nothing is taken over from either document, and assignments never change the totals of the invoice.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
purchaseOrder
object
required

The purchase order to assign to the invoice.

project
object

The project this assignment is booked to. Reporting sums the assigned amounts per project, so an assignment without a project is not counted towards one. Not derived from the purchase order.

salesOrder
object

The sales order the assigned purchase order was ordered for.

amountGross
object

Gross share of the invoice attributed to this purchase order. Use it to split an invoice across several purchase orders; it is never derived from either document and never changes the invoice total.

amountNet
object

Net share of the invoice attributed to this purchase order. Independent of amountGross: neither is calculated from the other or from a tax rate.

string | null

Number of the cost center this assignment is booked to. Independent of the cost center of the invoice, which is not inherited here.

string | null

Free-text comment on the assignment, shown with it on the invoice.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Unauthorized

403

Forbidden

404

Not Found

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json