Create a ledger account
Changed on⚠️ 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
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/firm/v1/companies/{company_id}/ledger_accounts
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: ledger_accounts:all
Path parameters
Existing company identifier (id)
Request body
Example request
{
"number": "512",
"label": "Secondary Account",
"vat_rate": "FR_200"
}Response
Returns the created ledger account
Example response
{
"id": 124,
"number": "512",
"label": "Secondary Account",
"vat_rate": "any",
"country_alpha2": "FR",
"enabled": true,
"archived_at": "2023-08-30T10:08:08.146343Z"
}Changes
- info
endpoint deprecated
- info
added the new
DE_190_BU0003enum value to the request property - info
added the new
DE_190_BU0009enum value to the request property - info
added the new
DE_190_construction_BU0526enum value to the request property - info
added the new
DE_190_construction_BU0546enum value to the request property - info
added the new
DE_190_electronic_BU0226enum value to the request property - info
added the new
DE_70_BU0002enum value to the request property - info
added the new
DE_70_BU0008enum value to the request property - info
added the new
DE_exempt_BU0001enum value to the request property - info
added the new
DE_exempt_BU0181enum value to the request property - info
added the new
DE_exempt_BU0490enum value to the request property - info
added the new
DE_exempt_construction_BU0046enum value to the request property - info
added the new
DE_extracom_190_BU0511enum value to the request property - info
added the new
DE_extracom_BU0173enum value to the request property - info
added the new
DE_extracom_BU0191enum value to the request property - info
added the new
DE_intracom_190_BU0013enum value to the request property - info
added the new
DE_intracom_190_BU0019enum value to the request property - info
added the new
DE_intracom_190_BU0506enum value to the request property - info
added the new
DE_intracom_70_BU0012enum value to the request property - info
added the new
DE_intracom_70_BU0018enum value to the request property - info
added the new
DE_intracom_exempt_BU0011enum value to the request property - info
added the new
DE_intracom_exempt_BU0047enum value to the request property - info
added the new
DE_intracom_exempt_BU0233enum value to the request property - info
added the new
ES_intracom_sales_goodsenum value to the request property - info
added the new
ES_intracom_sales_servicesenum value to the request property - info
added the new
ES_isp_purchases_100enum value to the request property - info
added the new
ES_isp_purchases_210enum value to the request property - info
added the new
ES_isp_salesenum value to the request property - info
added the new
ES_suplidoenum value to the request property
- info