Available query
InvoiceTaxes — Returns a paginated report of taxes applied on invoices
InvoiceTaxes — Returns a paginated report of taxes applied on invoicesThis query is primarily used for tax reporting and summaries across multiple invoices.
Example Query:
query GetInvoiceTaxes(
$where: QueryInvoiceTaxesWhereWhereConditions,
$orderBy: [QueryInvoiceTaxesOrderByOrderByClause!]
) {
InvoiceTaxes(where: $where, orderBy: $orderBy) {
paginatorInfo {
total
}
data {
tax_amount
invoice { id label status }
tax_rate { id label rate }
}
}
}Available fields
Filters
The following fields can be used in the where parameter:
tax_rate_id, tax_ratable_id, invoice_status, invoice_customer_id, invoice_customer_tag_id, invoice_due_at, invoice_dated_at, invoice_season_id.
Example Filters:
| Field | Example |
|---|---|
invoice_status | { "column": "INVOICE_STATUS", "operator": "EQ", "value": "paid" } |
invoice_dated_at | { "column": "INVOICE_DATED_AT", "operator": "GTE", "value": "2025-01-01" } |
tax_rate_id | { "column": "TAX_RATE_ID", "operator": "EQ", "value": 100005 } |
Sorting
You can sort results using the orderBy parameter:
tax_rate_idtax_amount
