v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBFinance > AccountingSetting
Upserts an Accounting setting
Upserts an Accounting setting
post/api/2026-07-01/resources/finance/accounting_settings/upsert
Request body
Example request
{
"external_id": "ext_135",
"legal_entity_id": "101",
"default_account_for_purchase_invoices_id": "5001",
"default_account_for_vendors_id": "5002",
"default_account_for_banks_id": "5003",
"default_account_for_suspense_id": "5004",
"default_account_for_expenses_id": "5005",
"default_account_for_employees_id": "5006",
"default_account_for_sale_invoices_id": "5007",
"default_account_for_clients_id": "5008",
"default_account_for_benefits_id": "5009"
}Response
OK
Example response
{
"id": "1234",
"external_id": "ext_135",
"company_id": "1",
"legal_entity_id": "101",
"updated_at": "2025-01-01T00:00:00.000Z",
"default_account_for_purchase_invoices_id": "5001",
"default_account_for_vendors_id": "5002",
"default_account_for_banks_id": "5003",
"default_account_for_suspense_id": "5004",
"default_account_for_expenses_id": "5005",
"default_account_for_employees_id": "5006",
"default_account_for_sale_invoices_id": "5007",
"default_account_for_clients_id": "5008",
"default_account_for_benefits_id": "5009"
}