Finance > AccountingSetting
Upserts an Accounting setting
Changed onUpserts an Accounting setting
post/api/2026-10-01/resources/finance/accounting_settings/upsert
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/finance/accounting_settings/upsert
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: finance
- or API key in header x-api-key
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"
}Changes
- info
endpoint added
- info