List accounting mappings
Changed onList the mappings that code entries automatically, including the ones the accounting intelligence agent created. On platforms that keep account mappings per subsidiary, such as NetSuite, the account mappings of account and accounts_payable sources listed are the default subsidiary's.
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/accounting/mappings
- AuthAPI key in header X-API-Key
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.
Return only mappings keyed on this kind of source.
Return only mappings keyed on this source id.
Return only mappings that code this dimension.
Response
A page of mappings, oldest first.
Example response
{
"items": [
{
"id": "accounting_mapping_2rj4l7hmrrrcv",
"connectionId": "accounting_connection_2rj4l7hmrrrcv",
"source": {
"id": "c_2rj4l7hmrrrcv"
},
"dimensionKey": "account",
"valueId": "accounting_account_2rj4l7hmrrrcv"
}
]
}Changes
- info
endpoint added
- info