Skip to main content

Get Tax Treatment

GET 

/api/ledger/connections/:connectionId/tax-treatment

Read the connection's tax treatment: the active mode, the organisation's country (captured from the provider and cached), the mode that country implies as a default, how many tax rates still lack a provider tax-code mapping, and the provider's available tax codes.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token.

Modes:

  • provider_computed — each document line declares its mapped provider tax code and the provider computes the tax. Required for filing regions (AU, NZ, UK, CA) where the tax return is prepared from the provider.
  • posted_as_line — documents are pushed without tax codes and the tax posts as a ledger line to the mapped Sales Tax account. The default, and standard for US organisations.

region_default is the mode implied by country_code; is_filing_region is true for AU/NZ/UK/CA.

Returns 404 when the connection id does not name the configured accounting connection.

Request

Responses

OK

Response Headers
    Content-Type