Upserts a Ledger account resourceAsk AIpost https://api.factorialhr.com/api/2026-04-01/resources/finance/ledger_account_resources/upsertCreate or update a ledger account resource.Body ParamsidintegerFactorial unique identifier.namestringName of the ledger account resource.numberstringNumber of the ledger account resource.external_idstringExternal identifier.legal_entity_idintegerrequiredLegal entity identifier.account_idintegerFinance account identifier.resource_idintegerFactorial unique identifier of the resource associated to the ledger account resource.resource_typestringenumrequiredLedger account resource type.customcategorybankaccountvendortaxtypeinvoicepayrollconceptAllowed:customcategorybankaccountvendortaxtypeinvoicepayrollconceptbalance_typestringenumLedger account balance type.debitcreditdebitAllowed:creditdebitoperation_typestringenumLedger account operation type.purchasepurchasesaleAllowed:purchasesaleResponse 200OKUpdated 3 months ago