improved

V2 - Create customers/suppliers with a ledger account

A ledger_account can now be assigned when creating a company customer, individual customer, or supplier.

Endpoints Affected:

POST /company_customers

POST /individual_customers

POST /suppliers

Usage:

To assign a ledger_account, include the following field in the request body of the affected endpoints:

{
  "ledger_account": {
    "number": 411123
  }
}