Parameters
JSON body
Request body
application/jsonbranchSlugstringRequirednamestringRequiredLength: 1–200
category"rent" | "energy" | "utilities" | "cleaning" | "marketing" | "payroll" | "supplies" | "insurance" | "taxes" | "services" | "other"Requiredtype"fixed" | "variable"RequireddefaultAmountMoneynumberRequiredAmount in minor units (cents / haléře). Non-negative.
Range: 0–∞
currencystringOptionalISO 4217 — defaults to the organisation default currency.
appliesFromstringRequiredISO YYYY-MM-DD.
appliesTostring | nullOptionalOne of 2:
Variant 1
string
ISO YYYY-MM-DD or null = open-ended.
Variant 2
null
isActivebooleanOptionalrecurringIntervalMonthsnumberOptionalRange: 1–36
paymentDayOfMonthnumber | nullOptionalOne of 2:
Variant 1
number
Day of month due, 1..28.
Range: 1–28
Variant 2
null
notestring | nullOptionalOne of 2:
Variant 1
string
Variant 2
null
contactExternalIdstring | nullOptionalOne of 2:
Variant 1
string
External id of the supplier (shop__contact.external_id) — the party this cost is paid to.
Variant 2
null
payerContactExternalIdstring | nullOptionalOne of 2:
Variant 1
string
External id of the "PLÁTCE" (shop__contact.external_id) — the party liable to pay. Omit to leave the branch itself as the implicit payer.
Variant 2
null