Create accountCopy Pagepost https://api.atlar.com/accounting/v2beta/gl-accountsCreate a new general ledger account.Body ParamsexternalIdstringrequired^[a-zA-Z0-9._\-+=]{1,64}$External ID is optional to use, but if used, the Atlar platform will persist it, index it, as well as require it to be unique across all resources. It is possible to retrieve a resource using the external ID using the prefix external:.associatedConnectionsarray of objectsrequiredassociatedConnections*ADD objectnamestringrequiredlength between 1 and 64The name of the general ledger account.numberstringlength between 1 and 255The number of the general ledger account.glEntityIdsarray of stringsrequiredlength ≤ 20The Atlar general ledger entity ids that this general ledger account is associated with. May be empty for BANK accounts that have not been linked to a GL entity yet (e.g. unlinked Rillet CoA entries). Non-BANK accounts must have at least one entry.glEntityIds*ADD stringcurrencystringlength between 3 and 3^[A-Z]{3,3}$The currency of the general ledger account.typestringenumThe general ledger account types are not uniform across other third-party systems. However, it is useful to have a consistent type for the general ledger account. For example, to suggest accounts one can match with a bank account.BANKUNSPECIFIEDBANKACCOUNTS_PAYABLEACCOUNTS_RECEIVABLEAllowed:UNSPECIFIEDBANKACCOUNTS_PAYABLEACCOUNTS_RECEIVABLEdisplayTypestringrequiredlength between 1 and 64The general ledger account types are not uniform across other third-party systems. So instead, we accept the raw type from the third-party system that we can display to the user.Responses 201The created general ledger account. 400Bad request.Updated about 14 hours ago Did this page help you?YesNo