Parameters
JSON body
Request body
application/jsonaccountingEntityExternalIdstringOptionalbranchSlugstring | nullOptionalsupplierContactExternalIdstring | nullOptionalExternal id of the "PŘÍJEMCE" (payee) contact. Optional. When omitted or null, the expense is stored with supplier=NULL — the BFF does NOT invent a fallback (historically it auto-picked the org internal contact for write-offs, dropped 2026-07 so a genuinely unknown recipient stays unknown). Fill it in later via /update.
invoiceExternalIdstring | nullOptionalpurchaseInvoiceSequenceNumberstring | nullOptionalorderHashstring | nullOptionalcategory"fees" | "shipping" | "marketing" | "payroll" | "utilities" | "supplies" | "services" | "sw" | "storage" | "tax" | "insurance" | "travel" | "writeoff" | "refund" | "other"RequiredaccountCodestring | nullOptionalvatRatenumber | nullOptionaltotalMoneynumber | nullOptionalnetMoneynumber | nullOptionalvatMoneynumber | nullOptionalcurrencystringOptionaleffectiveDatestringRequiredYYYY-MM-DD
dueDatestring | nullOptionalpaidDatestring | nullOptionalpaymentMethodstring | nullOptionaldescriptionstringRequiredinternalNotestring | nullOptionalpayerContactExternalIdstring | nullOptionalExternal id of the "PLÁTCE" — the contact liable to pay the expense. Optional. When omitted or null, the expense is stored with payer=NULL — the BFF does NOT invent a fallback (operators sometimes don't know the counterparty at creation time; the admin fills the default at the UI layer). Fill it in later via /update.
attachmentBlobTokensstring[]Optional