v4

latestOpenAPI 3.0.02026-07-314441026.8 MB
Accounting Code Rules

List accounting code rules

get/accounting_code_rules

Query parameters

business_entity_idstring required
tag_group_idstring
has_tag_groupboolean

Filter by whether the rule is scoped to a tag group. false returns only rules not scoped to any tag group; true returns only rules scoped to some tag group. Combining false with one or more tag_group_id values returns the union: rules with no tag group as well as rules in any of the listed groups.

tag_idstring
has_tagboolean

Filter by whether the rule is scoped to a tag. false returns only rules not scoped to any tag; true returns only rules scoped to some tag. Combining false with one or more tag_id values returns the union: rules with no tag as well as rules with any of the listed tags.

'allowance' | 'deduction' | 'earning' | 'employee_benefit' | 'employer_benefit' | 'employer_statutory_withholding' | 'reimbursement' | 'statutory_withholding'
OR
string[]
subtypestring
business_preset_idstring
expense_accounting_code_idstring
liability_accounting_code_idstring
searchstring

Case-insensitive substring match across the rule's tag label, business preset title, line item type and subtype label, and the expense and liability accounting code's code and title. Translated fields are matched in the request's active locale (set via the Accept-Language header).

expandstring[]

Response

OK

objectstring

The type of the object in Nmbr ("list").