Skip to main content

Map Nominal Codes → Xero Accounts

POST 

/api/xero/accounts/nominal-code-mappings

Persist SKU nominal code → Xero account mappings (polymorphic integration_account link). Enforces the inventory→ASSET guard: rejects mapping any code to a Xero INVENTORY-type account, and requires the inventory-control role's code to map to an ASSET-class account (422 otherwise).

Not yet available to API tokens

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

Request

Responses

OK

Response Headers
    Content-Type