BizKitHub
DocsAPI ReferenceExpense/bff/expense/update
postExpenseAdmin BFF

/bff/expense/update

Update expense (payer + supplier swaps allowed on any status)

ExpensepostBffExpenseUpdate

Parameters

JSON body

Request body

application/json
externalIdstringRequired
Length: 2424
descriptionstringOptional
Length: 1
category"fees" | "shipping" | "marketing" | "payroll" | "utilities" | "supplies" | "services" | "sw" | "storage" | "tax" | "insurance" | "travel" | "writeoff" | "refund" | "other"Optional
accountCodestring | nullOptional
One of 2:
Variant 1
string
Length: 016
Variant 2
null
vatRatenumber | nullOptional
One of 2:
Variant 1
number
Variant 2
null
totalMoneynumber | nullOptional
One of 2:
Variant 1
number
Variant 2
null
netMoneynumber | nullOptional
One of 2:
Variant 1
number
Variant 2
null
vatMoneynumber | nullOptional
One of 2:
Variant 1
number
Variant 2
null
effectiveDatestringOptional
dueDatestring | nullOptional
One of 2:
Variant 1
string
Variant 2
null
paidDatestring | nullOptional
One of 2:
Variant 1
string
Variant 2
null
paymentMethodstring | nullOptional
One of 2:
Variant 1
string
Length: 032
Variant 2
null
internalNotestring | nullOptional
One of 2:
Variant 1
string
Variant 2
null
payerContactExternalIdstring | nullOptional

External id of the new "PLÁTCE" contact. null clears the link; omit to keep the current value. Editing the payer is allowed even on terminal rows because it does not move money — it just re-attributes who owes what.

One of 2:
Variant 1
string
Length: 1624
Variant 2
null
supplierContactExternalIdstring | nullOptional

External id of the new "PŘÍJEMCE" contact. Same tri-state as payer: null clears, omit keeps. Editing the supplier is allowed on terminal rows for the same reason.

One of 2:
Variant 1
string
Length: 1624
Variant 2
null

Response schema

1 status code documented

200Success
successbooleanRequired
Default: true
changeCountnumberRequired

Response example

application/json
{
  "success": true,
  "changeCount": 0
}

Request example

POST /bff/expense/update

post
curl -X POST "https://api.bizkithub.com/bff/expense/update" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "externalId": "example_externalId",
  "description": "example_description",
  "effectiveDate": "example_effectiveDate"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key