The date by which payment for an invoice is expected to be received.
status
The current status of an invoice. Might be closed or draft
reference
The object with four fields: full - represents full invoice reference, prefix and suffix which are static parts of reference based on business settings, number with is integer that represents sequence.
final_price_incl_tax
The final price including all taxes.
final_price_excl_tax
The final price excluding taxes. (Net final price)
total_price_incl_tax
The total price including taxes. It is final price including taxes without discounts applied.
total_price_excl_tax
The total price excluding taxes. It is final price excluding taxes without discount applied.
discount_total
The discount including tax.
discounted_tax
The discounted tax part.
final_tax_component
The tax component after discount.
tax_component
The tax component before discount.
creditable_amount
Represents negative difference between invoiced booking lines final price including tax and current booking lines total.
credit_total
Total from invoice credit notes.
amount_due
The amount to be paid by the client.
amount_paid
Amount paid by the client up to the present time.
display
The strategy used for printing invoice PDF's, can have one of three values:
items
package
hybrid
comment
Arbirtrary comment.
currency
Currency the invoice is issued in.
tax_breakdown
An array of objects containing the tax amounts per tax rate. Each object contains the tax rate, the taxable amount and the tax amount.
booking
Expandable object containing the booking the invoice belongs to.
payments
Expandable array of payments bound to the invoice.
lines
Expandable array of lines contained within the invoice.
exports
Array of objects with exports of the invoice to external systems.
Generate an invoice for a booking. You can create an amount, percentage or remainder ID. You can also assign invoices to guests or payments, depending on your settings.
post
/bookings/{booking_id}/invoices/payment
Body
guest_uuidstring · uuid | nullable
Guest to assign to invoice. Required if other invoices for the booking are per-guest.
amountnumber · float | nullable
Amount to invoice. Required when percentage or remainder are not specified.
Percentage of the booking final amount to invoice. Required if amount or remainder are not specified.
remainderboolean | nullable
If enabled the whole un-invoiced amount will be invoiced. Required if amount or percentage are not specified.
payment_idsstring · uuid[] | nullable
List of ID's to generate an invoice for. Generates an invoice for the sum of all paid amounts or for the sum of the whole booking, depending on which is larger. Required if amount, percentage or remainder are not specified.
Delete an invoice. Both draft and closed invoices can be deleted, however invoices that have previously been credited cannot be deleted as long as their credit note(s) exists.