Assign a company bill to an organisation
Assign a bill waiting in the company’s inbox to one of that company’s organisations. The bill becomes an ordinary bill for that organisation, keeping the same identifier, and supplier matching and duplicate detection run against it for the first time. The move is atomic: it either becomes that organisation’s bill or stays in the inbox. If two people assign the same bill at once, exactly one succeeds and the other receives a conflict.
Authentication. An API key (x-dolfin-api-key) or a JWT Bearer token. When your credential grants access to more than one client, select one with the x-dolfin-client-id header.
Authorizations
An API key issued to your client. It carries the client's scope; org-scoped calls also require the x-dolfin-organisation-id header. Keys are created and revoked by a client administrator.
Headers
Target client. Required when your credential grants access to more than one client; omit when it resolves a single client.
Body
The organisation to assign this bill to. It must be one of this company's organisations — see GET /companies/{companyId}/organisations.