Skip to main content
GET
/
accounting_code_rules
/
{accounting_code_rule}
Retrieve an accounting code rule
curl --request GET \
  --url https://sandbox.nmbr.co/services/payroll/accounting_code_rules/{accounting_code_rule} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<id>",
  "object": "accounting_code_rule",
  "data": {
    "business_entity": {
      "id": "<id>",
      "object": "business_entity",
      "links": {
        "self": "/business_entities/<id>"
      }
    },
    "tag_group": {
      "id": "<id>",
      "object": "tag_group",
      "links": {
        "self": "/tag_groups/<id>"
      }
    },
    "tag": {
      "id": "<id>",
      "object": "tag",
      "links": {
        "self": "/tags/<id>"
      }
    },
    "type": null,
    "subtype": null,
    "business_preset": null,
    "expense_accounting_code": {
      "id": "<id>",
      "object": "accounting_code",
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    "liability_accounting_code": null,
    "created_at": "2026-01-01T00:00:00.000000Z",
    "updated_at": "2026-01-01T00:00:00.000000Z"
  },
  "links": {
    "self": "/accounting_code_rules/<id>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accounting_code_rule
string
required

Query Parameters

expand
enum<string>[]
Available options:
business_entity,
business_preset,
expense_accounting_code,
liability_accounting_code,
tag,
tag_group

Response

200 - application/json

OK

id
string
read-only

The unique identifier of the object in Nmbr.

object
string
read-only

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

data
Default · object