v3

latestOpenAPI 3.0.42026-07-312008682.1 MB
Bills

Close bill

Closes a bill so no further modification to it is possible. Note this operation supports Portfolio Access Tokens.

post/api/connector/v1/bills/close

Request body

ClientTokenstring required

Token identifying the client application.

AccessTokenstring required

Access token of the client application.

Clientstring required

Name and version of the client application.

EnterpriseIdstring uuid nullable

Unique identifier of the enterprise. Required when using Portfolio Access Tokens, ignored otherwise.

BillIdstring uuid required

Unique identifier of the Bill to be closed.

Type'Receipt' | 'Invoice' required

After a bill is closed, the Bill Type is set to Receipt or Invoice. Receipt indicates that the bill has been fully paid and the balance is zero. Invoice indicates that the bill has not yet been fully paid but an invoice has been issued. Prior to closing, Bill Type should not be used.

BillCounterIdstring uuid nullable

Unique identifier of the Counter to be used for closing. Default one is used when no value is provided.

FiscalMachineIdstring uuid nullable

Unique identifier of the Fiscal Machine to be used for closing. Default one is used when no value is provided.

Response

OK