v5

latestOpenAPI 3.0.02026-08-044441026.8 MB
Accounting Codes

Merge accounting codes

Merge manual generated accounting codes into other codes. A manual code is any code that has no xero_id or quickbooks_id, which indicates it was imported from an external accounting platform. The manual codes will be deleted after reassignment, with all references to them updated to the target accounting code.

post/accounting_codes/{accounting_code}/merge

Path parameters

accounting_codestring required

Request body

accounting_code_idsstring[]

An array of one or more accounting code IDs to be removed from the system, with all references to them updated to the accounting code in the resource path. All accounting codes in this array must be of the same type as the accounting code in the resource path, and must belong to the same business entity.

Response

OK

idstring

The unique identifier of the object in Nmbr.

objectstring

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