Skip to main content

Payables

Bills due and already paid, with payment approval, dispatch to the bank and allocation across classification centers. Bills awaiting approval only show up in the listing if you filter by payment_approval=pending_approval.

CommandHTTPDescription
payables listGET /v1/payablesList payables
payables createPOST /v1/payablesCreate a payable
payables getGET /v1/payables/{id}Get a payable by ID
payables updatePATCH /v1/payables/{id}Update or settle a payable
payables deleteDELETE /v1/payables/{id}Delete a payable
payables cancel-dispatchPOST /v1/payables/{id}/cancel-dispatchCancel the dispatch to the bank
payables send-to-bankPOST /v1/payables/{id}/send-to-bankSend a payable to the bank
payables aggregates listGET /v1/payables/aggregatesAggregate payable totals
payables ids listGET /v1/payables/idsList payable IDs

Examples​

--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.

# List payables
kobana finance payables list \
--fields "id,company_id,description,amount,interest_amount"

# Get a payable by ID
kobana finance payables get --params '{"id": "PAYABLE_ID"}'

# Create a payable
kobana finance payables create \
--json '{"company_id": "COMPANY_ID", "description": "DESCRIPTION", "amount": "1500.00", "due_date": "2026-01-31T12:00:00Z"}'

# Update or settle a payable
kobana finance payables update \
--params '{"id": "PAYABLE_ID"}' \
--json '{"description": "DESCRIPTION", "amount": "1500.00", "due_date": "2026-01-31T12:00:00Z"}'

# Cancel the dispatch to the bank
kobana finance payables cancel-dispatch --params '{"id": "PAYABLE_ID"}'

# Delete a payable
kobana finance payables delete --params '{"id": "PAYABLE_ID"}' --dry-run

Next steps​