Constants - Document relation roles
Retrieve the document relation roles available for filtering documents by their role in a linking relation.
Path Parameters
Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.
Response Body
curl -X GET "https://example.com/v1/business/string/constants/document_relation_roles/"Header - Retrieve GET
Retrieve one account header by ID. This endpoint is read-only; use header list/create for creation.
Documents - List GET
List accounting documents for the selected business. Supports search and extensive filtering (including account type, date range, draft/flag state, tags, attachments, and ACCRUAL_PAIR due mismatch). Numeric `search` values also match entry amounts. Use `number` for deterministic lookup when the document number is known. List `relation_network_signals` include mismatch flags only; fetch document detail for ACCRUAL_PAIR invoice_total/payment_total. The following fields are searched: | field | match mode | |--------------------------------|--------------| | `number` | prefix | | `description` | contains | | `contact__name` | contains | | `contact__name_aliases` | contains | | `contact__contact_business_id` | prefix | | `import_data__contact_hint` | contains |