List accounting mappings
List the mappings that code entries automatically, including the ones the accounting intelligence agent created.
account mappings of account and accounts_payable sources listed are the default subsidiary’s.Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
The legal entity to act on. Required on every request except GET /v2/legal-entities, which lists the ids a user API key can send here: those of every legal entity its user has access to.
^le_[a-zA-Z0-9]+$Query Parameters
The accounting connection to read. Optional when the legal entity has exactly one connection; required (connection_id_required) when it has several. List them at GET /v2/accounting/connections.
The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.
Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.
1 <= x <= 100Return only mappings keyed on this kind of source.
account, virtual_account, card, card_group, merchant, merchant_category, recipient, accounts_payable Return only mappings keyed on this source id.
Return only mappings that code this dimension.