Skip to main content
GET
/
accounting
/
{resource}
List resources for an end user, optionally filtered by provider
curl --request GET \
  --url https://api.routemcp.io/api/v1/accounting/{resource} \
  --header 'Authorization: <api-key>' \
  --header 'X-End-User-Id: <x-end-user-id>'
{ "success": true, "statusCode": 200, "message": "OK", "data": { "data": [ { "id": "urn:uuid:0958cbc6-6040-430a-848e-aafacbadf4ae", "remote_id": "EILBM0XYAR1", "created_at": "2026-04-15T10:30:00Z", "modified_at": "2026-04-16T15:45:00Z", "type": "ACCOUNTS_RECEIVABLE", "contact": "022a2bef-57e5-4def-8285-d68a25d1e36e", "number": "AIM-01-2026", "issue_date": "2026-04-15", "due_date": "2026-05-15", "paid_on_date": null, "memo": "Quarterly retainer.", "company": "0bb37dc5-2bf3-4c75-95ab-58f06a93a2ac", "employee": null, "currency": "USD", "exchange_rate": "1.00", "payment_term": "fb8c55b6-0525-4452-b3b5-d2922d20b212", "total_discount": 0, "sub_total": 1500, "status": "OPEN", "total_tax_amount": 120, "total_amount": 1620, "balance": 1620, "remote_updated_at": "2026-04-16T15:45:00Z", "tracking_categories": [], "accounting_period": "0a3a9f8b-2c2c-4f50-b34a-e7a3e4d56789", "purchase_orders": [], "sales_orders": [], "payments": [], "applied_payments": [], "line_items": [ { "id": "urn:uuid:5fc63596-d40e-4c73-bee6-26a0e6356f48", "remote_id": "8765", "description": "Strategy consulting — April 2026", "unit_price": 1500, "quantity": 1, "total_amount": 1500, "currency": "USD", "account": "9d9eaaf6-9f95-4e34-bc03-d33b7b4d2611", "tax_rate": "ee2c8927-d59f-4f89-90e3-4eef5ee43a91", "is_billable": true } ], "applied_credit_notes": [], "applied_vendor_credits": [], "inclusive_of_tax": false, "remote_was_deleted": false, "providerSlug": "quickbooks-online", "providerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" } ], "pagination": { "cursor": null, "hasMore": false, "limit": 25 } } }

Documentation Index

Fetch the complete documentation index at: https://docs.routemcp.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)

Headers

X-End-User-Id
string
required

Path Parameters

resource
enum<string>
required

The accounting resource type to query

Available options:
invoice,
contact,
account,
payment,
tax_rate,
journal_entry,
expense,
purchase_order,
sales_order,
credit_note,
vendor_credit,
company_info,
item,
tracking_category,
accounting_period,
payment_method,
payment_term,
address,
attachment,
balance_sheet,
bank_feed_account,
bank_feed_transaction,
cash_flow_statement,
employee,
expense_report,
general_ledger_transaction,
income_statement,
item_fulfillment,
phone_number,
project,
transaction

Query Parameters

provider
string
Example:

"quickbooks-online"

cursor
string
Example:

"eyJxdWlja2Jvb2tzLW9ubGluZSI6IjEwMCJ9"

limit
string
Example:

"25"

enrich
string

"true" (default), "false" to skip, or comma-separated field names

Example:

"true"

created_after
string

Inclusive ISO-8601 lower bound. For record resources (Invoice, Contact, Account, etc.) this filters by the provider record's creation timestamp. For on-demand reports (balance_sheet, income_statement, cash_flow_statement) it is reinterpreted as the report's start_date.

Example:

"2026-01-01T00:00:00Z"

created_before
string

Inclusive ISO-8601 upper bound. For record resources this filters by the provider record's creation timestamp. For on-demand reports it is reinterpreted as the report's end_date — i.e. the as-of date for balance_sheet, and the period end for income_statement / cash_flow_statement.

Example:

"2026-05-11T23:59:59Z"

Response

Paginated list of accounting resources