# Get a specific account code **GET /accountcode/{id}** Return a specific account code. Limited to those the user can see ## Servers - API Auto Mocking: https://YOURSITE.infoodle.com/apiv2 (API Auto Mocking) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **id** (integer) Which item to be processed ## Responses ### 200: List returned OK #### Body Parameters: application/json (object) - **id** (integer) - **accountcode** (string) - **name** (string) - **incomeexpense** (integer) Whether this is an income (1) or expense account code (0) - **taxable** (integer) Referenced when defaulting reconciliation, or identifying transactions that can be used to reclaim gift aid. Its a taxable code when its 1, non taxable when 0 - **salestax** (integer) Referenced when showing tax (VAT, GST). Sales tax is included when its 1, no sales tax applies when its 0 - **sort_order** (integer) The order this code appears in the list - **xero_account_id** (string) If this is a xero account code, its the ID in xero. Read only - **xero_status** (string) shows if the code is still available in xero. Blank if its not a xero account code. Read only - **primary_for_duplicates** (integer) When the code is duplicated in infoodle (for different settings), this identifies which is the primary one for reports - **for_group_id** (integer) If this code is only to be referenced by a specific group. This is the group id that the user must have access to. ### 401: Authentication unauthorised #### Body Parameters: application/json (object) - **error** (string) ### 403: Invalid permission #### Body Parameters: application/json (object) - **error** (string) ### 404: Not Found #### Body Parameters: application/json (object) - **error** (string) [Powered by Bump.sh](https://bump.sh)