Skip to main content
GET
/
accounting_codes
List accounting codes
curl --request GET \
  --url https://sandbox.nmbr.co/services/payroll/accounting_codes \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    },
    {
      "id": "<id>",
      "object": "accounting_code",
      "data": {
        "business_entity": {
          "id": "<id>",
          "object": "business_entity",
          "links": {
            "self": "/business_entities/<id>"
          }
        },
        "type": "expense",
        "code": "9916",
        "title": "Vitae error architecto sint.",
        "title_translations": null,
        "title_translated": "Vitae error architecto sint.",
        "description": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "description_translations": null,
        "description_translated": "Vitae error architecto sint velit tempora illo itaque consequuntur omnis ratione esse sint.",
        "mapping": {
          "xero": false,
          "quickbooks": false
        },
        "fallback_mappings": [],
        "created_at": "2026-01-01T00:00:00.000000Z",
        "updated_at": "2026-01-01T00:00:00.000000Z"
      },
      "links": {
        "self": "/accounting_codes/<id>"
      }
    }
  ],
  "links": {
    "first": "/accounting_codes?business_entity_id=<id>&page=1",
    "last": "/accounting_codes?business_entity_id=<id>&page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 15,
    "total": 10,
    "has_more": false
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

business_entity_id
string
required
fallback_mappings.type
enum<string>
Available options:
allowance,
deduction,
earning,
employee_benefit,
employer_benefit,
employer_statutory_withholding,
reimbursement,
statutory_withholding
fallback_mappings.subtype
enum<string>
Available options:
accident_insurance_plan,
automobile_and_motor_vehicle,
bonus_discretionary,
bonus_non_discretionary,
bonus_non_taxable,
cell_phone_allowance,
charitable_donation,
child_care_expenses,
child_eduction_non_taxable,
child_eduction_taxable,
clothing_non_taxable,
clothing_taxable,
commission,
commission_periodic,
commission_self_employed,
cpp,
cpp_2,
critical_illness,
death_benefit,
debt_relief,
dental,
education_and_professional_development,
eht,
ei,
employee_assistance_program,
federal_income_tax,
fondaction,
fondaction_rrsp,
fonds_solidarite_ftq,
fonds_solidarite_ftq_rrsp,
garnishment_order,
gift_cash,
gift_near_cash,
gift_non_cash_non_taxable,
gift_non_cash_taxable,
gratuity,
group_dependent_life_insurance,
group_term_life_insurance,
health,
health_spending_account,
housing_allowance_cash,
in_lieu_wages,
income_replacement_indemnity_non_taxable,
income_replacement_indemnity_taxable,
income_tax,
internet_allowance,
invoice_payment,
invoice_sales_tax,
leave_bereavement,
leave_domestic_and_sexual_violence,
leave_general,
leave_paternity,
leave_personal,
leave_sick,
leave_voting,
leave_wedding,
long_term_disability,
meals_subsidized_non_cash,
meals_taxable,
moving_allowance_non_taxable,
moving_allowance_taxable,
municipal_officers_expense,
non_group_long_term_disability,
non_group_short_term_disability,
non_taxable_allowance,
non_taxable_reimbursement,
other_deduction,
overtime,
overtime_meals_non_taxable,
parental_top_up_insurable,
parental_top_up_non_insurable,
parking,
parking_allowance,
pension,
pension_dbpp,
pension_dcpp,
pension_mfpp,
pension_prpp,
pension_restricted_rrsp,
pension_rrsp,
pension_rrsp_non_periodic,
pension_unregistered_prpp,
pension_vrsp,
professional_membership,
professional_membership_dues_taxable,
profit_sharing_dpsp,
provincial_income_tax,
qpip,
qpp,
qpp_2,
retiring_allowance,
retiring_allowance_eligible,
retroactive_pay,
retroactive_pay_increase,
salary,
salary_continuance,
savings_tfsa,
second_opinion_medical_consultation,
severance_pay,
short_term_disability,
social_event_allowance,
statutory_holiday_pay,
supplemental_unemployment,
taxable_cash_allowance,
taxable_reimbursement,
territorial_income_tax,
tools_allowance,
transit_pass,
transportation_to_from_work,
travelling_allowance_non_taxable,
travelling_allowance_taxable,
union_dues,
union_dues_post_tax,
utilities_allowance,
vacation_accrual_adjustment,
vacation_pay,
vacation_pay_employee_terminated,
vacation_pay_no_time_taken,
vacation_pay_time_taken,
vehicle_employer_provided,
virtual_health_service,
wage,
wcb,
wellness_spending_account
is_from_source
enum<string>

Filter accounting codes based on whether they are linked to an external source (e.g., Xero, QuickBooks), or generated manually within the system.

Available options:
external,
manual,
quickbooks,
xero
expand
enum<string>[]
Available options:
business_entity,
business_presets

Response

200 - application/json

OK

object
string
read-only

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

data
object[]