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, ACCRUAL_PAIR due mismatch, and bank-account mismatches). Numeric `search` values also match entry amounts. Use `number` for deterministic lookup when the document number is known. By default list `relation_network_signals` include mismatch flags only. Pass `include_relation_network=true` (not with `view=list`) to also populate ACCRUAL_PAIR / SALARY_PAYMENT due_effect, invoice_total, and payment_total on the current page after pagination. 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 |