Invoices¶
This resource represents a client invoice document for a booking. A new invoice is generated every time a change is made on the booking which would impact the balance or statuses of services within the invoice.
All invoices for a booking are available on the /bookings/{id}/invoices
endpoint.
XML Schema:
Fields
Name |
Type |
Description |
|---|---|---|
|
String |
|
|
Field |
|
|
Datetime |
The time when the resource was created, in the standard Dates & Times. |
|
String |
The intended audience of this document. Either |
|
Reference Object |
The related document resource. |
|
Reference Object |
The related booking resource. |
|
String |
The invoice number as seen on the PDF document. |
|
Reference Object |
The agent that generated this invoice. |
|
String |
The type of invoice. |
|
Boolean |
Whether the invoice was automatically generated by the system. |
Get an Invoice¶
- GET /invoices/(string: invoice_id)/¶