v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBFinance > LedgerAccountResource
Upserts a Ledger account resource
Create or update a ledger account resource.
post/api/2026-07-01/resources/finance/ledger_account_resources/upsert
Request body
Example request
{
"id": "135",
"name": "Tax Type",
"number": "1234567890",
"external_id": "ext_123",
"legal_entity_id": "13",
"account_id": "15",
"resource_id": "155",
"resource_type": "taxtype",
"balance_type": "debit",
"operation_type": "purchase"
}Response
OK
Example response
{
"id": "135",
"resource_type": "taxtype",
"resource_id": "155",
"account_id": "15",
"balance_type": "debit",
"updated_at": "2021-01-01T00:00:00.000Z",
"external_id": "ext_123",
"legal_entity_id": "13"
}