Skip to main content
POST
Assign a company bill to an organisation

Authorizations

x-dolfin-api-key
string
header
required

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

x-dolfin-client-id
string<uuid>

Target client. Required when your credential grants access to more than one client; omit when it resolves a single client.

Path Parameters

companyId
string<uuid>
required
billId
string<uuid>
required

Body

application/json
organisationId
string<uuid>
required

The organisation to assign this bill to. It must be one of this company's organisations — see GET /companies/{companyId}/organisations.

Response

OK

billId
string<uuid>

The bill's identifier — unchanged by the assignment. Retrieve it from GET /bills/{billId} from now on.

organisationId
string<uuid>