Get Bill

Retrieve a specific bill by ID

Authentication

x-api-keystring
API Key authentication via header

Path parameters

billIdintegerRequired
Bill identifier

Response

Bill details
idinteger
Bill identifier
statusenum
Bill status
amountdouble
Total bill amount
amountPaiddouble
Amount paid
calculationMethodstring

Calculation method (LINE_ITEMS or PERCENTAGE)

createdAtstringformat: "date-time"
Creation timestamp
updatedAtstringformat: "date-time"
Last update timestamp
billNumberinteger
Unique bill number
descriptionstring or null
Bill description
typeenum or null
Document type
Allowed values:
basedOnIdinteger or null
ID of the record this bill is based on
basedOnUidinteger or null
UID of the record this bill is based on
dueDatestringformat: "date-time"
Due date
issueDatestring or nullformat: "date-time"
Issue date
isArchivedboolean
Whether the bill is archived
percentagedouble or null
Percentage if calculationMethod is PERCENTAGE
baseAmountdouble or null
Base amount if calculationMethod is PERCENTAGE
accountobject or null
recordobject or null
lineItemslist of objects

Errors

401
Unauthorized Error
404
Not Found Error