Account Codes

Create an account code

post/accounting/accountCodes

Request

  • Base URL: https://api.clearbooks.co.uk/v1
  • URL: https://api.clearbooks.co.uk/v1/accounting/accountCodes
  • Auth: OAuth 2 (authorization code, authorization URL https://secure.clearbooks.co.uk/account/action/oauth/, token URL https://api.clearbooks.co.uk/oauth/token, scopes: accounting.account_codes:write)

Headers

X-Business-IDinteger

ID of the business to use (required for multi-business authorisations only)

Request body

idinteger
namestring required
headinginteger required
defaultVatRatestring
salesboolean
purchasesboolean

Response

Account code created

idinteger
namestring required
headinginteger required
defaultVatRatestring
salesboolean
purchasesboolean

Changes

No recorded changes to this operation across all 1 revision of this API.