Skip to main content

Check Archivable

POST 

/api/nominal-codes/archivable

Check which nominal codes can be archived. A code cannot be archived if it is currently used in the nominal code mapping settings.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Request body:

  • ids (required, array) — nominal code IDs to check; must exist in nominal_codes table

Requires permission: nominal_codes.archive

Request

Responses

OK

Response Headers
    Content-Type