v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBInvoice
Gets an Invoice by Id
Return an Invoice based on Invoice Id.
get/financials/invoices/{invoice_id}
Path parameters
invoice_idinteger required
The invoice header identifier
Headers
x-api-keystring required
A valid API key. If you don't have one, please request one through the Web Integrations screen.
Response
Invoice with a header and all details
Example response
{
"client_id": 1234567891234567,
"lead_id": 1234567891234567,
"dropin_id": 1234567891234567,
"payment_due": "2014-12-31",
"paid_on": "2014-12-31T23:59:59.938Z",
"paid_on_date": "2014-12-31",
"reservation_id": 1234567891234567,
"discount_amount": 0.1,
"discount_percentage": 0.1,
"payment_method_id": 1234567891234567,
"payment_method_expiration_date": "2014-12-31",
"gross_line_discounts": 0.1,
"net_line_discounts": 0.1,
"gross_header_discounts": 0.1,
"gross_total_discounts": 0.1,
"net_total_discounts": 0.1,
"gross_revenue_adjustment": 0.1,
"refunded_revenue": 0.1,
"gross_revenue": 0.1,
"post_header_gross_revenue": 0.1,
"net_revenue": 0.1,
"post_header_net_revenue": 0.1,
"gross_tax": 0.1,
"refunded_tax": 0.1,
"final_refunded_amount": 0.1,
"final_tax": 0.1,
"final_charge": 0.1,
"refundable_final_charge": 0.1,
"paid_amount": 0.1,
"unpaid_amount": 0.1,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
},
"last_status_change_by": 1234567891234567,
"invoice_details": [
{
"product_variant_id": 1234567891234567,
"product_type_id": 1234567891234567,
"revenue_category_id": 1234567891234567,
"cost_per_unit": 0.1,
"list_price": 0.1,
"sales_price": 0.1,
"price_adjustment": 0.1,
"expected_revenue": 0.1,
"gross_line_discount": 0.1,
"net_line_discount": 0.1,
"discount_amount": 0.1,
"discount_percentage": 0.1,
"gross_header_discount": 0.1,
"net_header_discount": 0.1,
"header_discount_amount": 0.1,
"header_discount_percentage": 0.1,
"gross_total_discount": 0.1,
"net_total_discount": 0.1,
"gross_revenue_adjustment": 0.1,
"net_revenue_adjustment": 0.1,
"refunded_revenue": 0.1,
"gross_revenue": 0.1,
"post_header_gross_revenue": 0.1,
"net_revenue": 0.1,
"post_header_net_revenue": 0.1,
"tax_rate_id": 1234567891234567,
"tax_rate": 0.1,
"gross_tax": 0.1,
"refunded_tax": 0.1,
"final_refunded_amount": 0.1,
"final_tax": 0.1,
"final_charge": 0.1,
"refundable_final_charge": 0.1,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"Updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
},
"invoice_detail_display_type_id": 1234567891234567,
"fee": 0.1,
"refunded_fee": 0.1,
"fee_tax": 0.1
}
]
}