Create a ledger account

⚠️

This endpoint is deprecated. Use Create a ledger account from the Company API v2 instead. Your firm token can call it for any company of your firm through the X-Company-Id header. Learn how to use your firm token with the Company API v2.

Create a ledger account

ℹ️

This endpoint requires the following scope: ledger_accounts:all

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Existing company identifier (id)

Body Params
string
required

Ledger Account's number.
If the number starts with 401 (supplier) or 411 (customer) a corresponding supplier or company customer will also be created.

string
required

Ledger Account's label

string
enum
string
enum
Responses

414

URI Too Long: the request URL exceeds the maximum length. Shorten the query string, for example by sending fewer values per query parameter and splitting them across several requests.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json