GET api/Invoices
Obtém a lista de todas as faturas.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Lista de faturas ordenada pela data de emissão.
Collection of InvoiceName | Description | Type | Additional information |
---|---|---|---|
InvoiceId | integer |
None. |
|
BookingId | integer |
None. |
|
IssueDate | date |
None. |
|
StayTotal | decimal number |
None. |
|
ExtrasTotal | decimal number |
None. |
|
PaymentMethod | integer |
None. |
|
Total | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "InvoiceId": 1, "BookingId": 1, "IssueDate": "2025-06-16T06:01:10.4598079-05:00", "StayTotal": 4.0, "ExtrasTotal": 5.0, "PaymentMethod": 6, "Total": 7.0 }, { "InvoiceId": 1, "BookingId": 1, "IssueDate": "2025-06-16T06:01:10.4598079-05:00", "StayTotal": 4.0, "ExtrasTotal": 5.0, "PaymentMethod": 6, "Total": 7.0 } ]