Build on Finance
Read which Finance modules an organisation has and keep its reference data (entities, accounts, tax codes, rates, periods) from code or an agent, over MCP or REST.
Petawork Finance is made of modules an organisation has or not. The API answers which modules this organisation has, and why, and keeps the reference data every module reads. See Petawork Finance for the product and Finance reference data for entities, dimensions, accounts, tax codes, exchange rates and periods.
What you can build
- A setup check. Before your integration sends anything to a module, list the modules and stop with a clear message when the one you need is off.
- A chart of accounts sync. Push your accounting system's accounts and tax codes with
finance_account_importandfinance_taxcode_import(CSV text, all rows or none;dry_runfirst). - A rate feed. Set each day's exchange rates with
finance_fxrate_set(sourceimportorconnector), and read them back withfinance_fxrate_get, which answersfx_missingrather than guess. - An independent audit check. Page through
finance_event_listand recompute each event's SHA-256 yourself, or callfinance_event_verifyfor the first event that fails (how the chain works). - An exceptions feed. Subscribe a webhook to
finance.exception.openedand send each new exception to your ticket system or chat, then work it withfinance_exception_assign,finance_exception_resolveorfinance_exception_waive(the exceptions queue). - An export to your own ledger. Page through
finance_journal_listwithstatusreadyand book each balanced journal in a system no connector covers yet (the journal outbox).
At a glance
Generated from the code on every docs build.
| MCP endpoint | https://cloud.petawork.ai/workspace/mcp/finance, server name petawork-finance |
| Connect | claude mcp add --transport http petawork-finance https://cloud.petawork.ai/workspace/mcp/finance |
| MCP tools | 263 (109 read, 154 write) |
| OAuth scopes | finance:read finance:write finance:admin |
| REST twin | 272 routes under https://cloud.petawork.ai/api/v1 |
| Webhook events | finance.exception.opened, finance.document.confirmed, finance.bill.approved, finance.bill.paid, finance.expense_report.approved, finance.payment_run.released, finance.payment_run.settled, finance.invoice.issued, finance.invoice.paid, finance.invoice.overdue, finance.recon_run.completed, finance.recon_case.opened, finance.recon_case.recovered, finance.period.locked |
Authentication and scopes
- An organisation with no Finance module has no Finance: the tools are not listed, and a call answers
403 product_not_enabledover REST (an error result over MCP) with the words "Finance is not enabled for this organisation." - A personal API key or an OAuth grant acts as the member with their role's level: owner and admin manage, billing
reads, developer and viewer have none. OAuth apps ask for
finance:read,finance:writeorfinance:adminby name; none of them is in the default scope. Reference data and role writes needfinance:admin. - Inside Finance, the member's Finance roles decide what they may do and on which entities: owner and admin are controllers everywhere, a member scoped to one entity never sees another's rows (an unknown id's answer).
- A team key bound to a service agent reads reference data and does what the agent's Finance roles allow, never releasing payments or changing roles. A team key with no agent has no Finance.
REST
The REST twin: 272 routes under https://cloud.petawork.ai/api/v1, each calling the MCP tool named in its row with the same arguments (see the REST twin).
| Method | Path | Summary | MCP tool |
|---|---|---|---|
| GET | /api/v1/finance/modules |
The Finance modules of this organisation, on or off | finance_module_list |
| GET | /api/v1/finance/entities |
The legal entities and properties | finance_entity_list |
| POST | /api/v1/finance/entities |
Add a legal entity or property | finance_entity_create |
| PATCH | /api/v1/finance/entities/{id} |
Change or archive an entity | finance_entity_update |
| GET | /api/v1/finance/dimensions |
The dimensions, or one dimension's values | finance_dimension_list |
| POST | /api/v1/finance/dimensions |
Add a dimension and its first values | finance_dimension_create |
| PATCH | /api/v1/finance/dimensions/{id} |
Change a dimension and upsert its values by code | finance_dimension_update |
| GET | /api/v1/finance/accounts |
The chart of accounts | finance_account_list |
| POST | /api/v1/finance/accounts |
Add an account | finance_account_create |
| POST | /api/v1/finance/accounts/import |
Import accounts from CSV, all or nothing | finance_account_import |
| PATCH | /api/v1/finance/accounts/{id} |
Change or deactivate an account | finance_account_update |
| GET | /api/v1/finance/tax-codes |
The tax codes | finance_taxcode_list |
| POST | /api/v1/finance/tax-codes |
Add a tax code | finance_taxcode_create |
| POST | /api/v1/finance/tax-codes/import |
Import tax codes from CSV, all or nothing | finance_taxcode_import |
| PATCH | /api/v1/finance/tax-codes/{id} |
Change or deactivate a tax code | finance_taxcode_update |
| GET | /api/v1/finance/fx-rates |
Exchange rates, newest first | finance_fxrate_list |
| PUT | /api/v1/finance/fx-rates |
Set a pair's rate on a date | finance_fxrate_set |
| GET | /api/v1/finance/fx-rates/lookup |
The rate on or before a date (404 fx_missing when none) | finance_fxrate_get |
| GET | /api/v1/finance/periods |
An entity's months, open, closing or locked | finance_period_list |
| PATCH | /api/v1/finance/periods |
Open, close or lock an entity's month | finance_period_update |
| GET | /api/v1/finance/roles |
Who holds which Finance role | finance_role_list |
| POST | /api/v1/finance/roles |
Give a member a Finance role | finance_role_grant |
| POST | /api/v1/finance/roles/{id}/revoke |
Revoke a Finance role grant | finance_role_revoke |
| GET | /api/v1/finance/events |
The Finance event chain, newest first | finance_event_list |
| GET | /api/v1/finance/events/verify |
Recompute the event chain and name the first bad event | finance_event_verify |
| POST | /api/v1/finance/documents/uploads |
A one-time upload URL for a document's raw bytes | finance_document_prepare |
| GET | /api/v1/finance/documents |
Finance > Documents, newest first | finance_document_list |
| POST | /api/v1/finance/documents |
Send a document in: an upload_id, a public url or small base64; the same bytes again come back as a duplicate | finance_document_create |
| GET | /api/v1/finance/documents/{id} |
One document and a short-lived download URL for its bytes | finance_document_get |
| POST | /api/v1/finance/documents/{id}/reject |
Reject a document with a reason | finance_document_reject |
| POST | /api/v1/finance/documents/{id}/extract |
Queue a document's read by the organisation's vision model, or run it again | finance_document_extract |
| POST | /api/v1/finance/documents/{id}/check |
Run the checks after extraction again: confirmed when every check passes, else needs_review with the reasons | finance_document_check |
| GET | /api/v1/finance/capture/settings |
The confidence floor the checks after extraction use | finance_capturesetting_get |
| PATCH | /api/v1/finance/capture/settings |
Set the confidence floor the checks after extraction use | finance_capturesetting_update |
| POST | /api/v1/finance/documents/{id}/correct |
Correct fields of what was read: the checks run again and the party's hints learn | finance_document_correct |
| POST | /api/v1/finance/documents/{id}/confirm |
Confirm a document at needs_review, with its coding | finance_document_confirm |
| GET | /api/v1/finance/capture/hints |
The hints Capture learned from corrections | finance_capturehint_list |
| PATCH | /api/v1/finance/capture/hints/{id} |
Rewrite a learned hint's words | finance_capturehint_update |
| POST | /api/v1/finance/capture/hints/delete |
Forget one hint, or every hint of a party | finance_capturehint_delete |
| GET | /api/v1/finance/capture/coding-locks |
The locked coding mappings | finance_codinglock_list |
| PUT | /api/v1/finance/capture/coding-locks |
Lock what a party's or a category's documents book to | finance_codinglock_set |
| DELETE | /api/v1/finance/capture/coding-locks/{id} |
Remove a coding lock | finance_codinglock_delete |
| GET | /api/v1/finance/recon/sources |
The reconciliation sources, with records and last import | finance_reconsource_list |
| POST | /api/v1/finance/recon/sources |
Add a reconciliation source to an entity | finance_reconsource_create |
| PATCH | /api/v1/finance/recon/sources/{id} |
Change, map (confirmed), archive or restore a source | finance_reconsource_update |
| GET | /api/v1/finance/recon/imports |
A source's imports, newest first, with their progress | finance_reconbatch_list |
| POST | /api/v1/finance/recon/imports |
Import a document into a source, or preview it; CSV and XLSX need a confirmed mapping | finance_reconbatch_import |
| GET | /api/v1/finance/recon/records |
A source's records by date range, amount, import, text and state, in date or amount order | finance_reconrecord_list |
| GET | /api/v1/finance/exceptions |
The exceptions queue, most severe first, with the totals at stake | finance_exception_list |
| GET | /api/v1/finance/exceptions/{id} |
One exception in full | finance_exception_get |
| POST | /api/v1/finance/exceptions/{id}/assign |
Assign an exception, or take it back to the queue | finance_exception_assign |
| POST | /api/v1/finance/exceptions/{id}/resolve |
Resolve an exception, saying what was done | finance_exception_resolve |
| POST | /api/v1/finance/exceptions/{id}/waive |
Waive an exception with a written reason | finance_exception_waive |
| GET | /api/v1/finance/parties |
Vendors and customers | finance_party_list |
| POST | /api/v1/finance/parties |
Add a vendor or customer | finance_party_create |
| GET | /api/v1/finance/parties/{id} |
A party with its contacts and bank accounts (last four only) | finance_party_get |
| PATCH | /api/v1/finance/parties/{id} |
Change, block or unblock a party | finance_party_update |
| POST | /api/v1/finance/parties/{id}/verify |
Verify a party (not by its creator) | finance_party_verify |
| POST | /api/v1/finance/party-bank-accounts |
Add or change a party's bank account (sealed, pending) | finance_partybank_create |
| POST | /api/v1/finance/party-bank-accounts/{id}/verify |
Verify a bank account (another person than who added it) | finance_partybank_verify |
| POST | /api/v1/finance/party-bank-accounts/{id}/retire |
Retire a bank account | finance_partybank_retire |
| POST | /api/v1/finance/party-bank-accounts/{id}/reveal |
The full account number, recorded as an event | finance_partybank_reveal |
| GET | /api/v1/finance/approvals |
Approval requests: waiting on me, mine, or all I may read | finance_approval_list |
| GET | /api/v1/finance/approvals/{id} |
An approval request with its steps and decisions | finance_approval_get |
| POST | /api/v1/finance/approvals/{id}/decide |
Approve, reject, withdraw, comment, ask for a comment, or break glass | finance_approval_decide |
| POST | /api/v1/finance/approvals/decide |
Approve or reject many, skipping any with an open exception | finance_approval_decide |
| GET | /api/v1/finance/approval-policies |
The approval policies, in the order they are tried | finance_approvalpolicy_list |
| POST | /api/v1/finance/approval-policies |
Add an approval policy | finance_approvalpolicy_update |
| POST | /api/v1/finance/approval-policies/simulate |
Who would approve a document like this | finance_approvalpolicy_get |
| GET | /api/v1/finance/approval-policies/{id} |
A policy at its current or a given version, with its versions | finance_approvalpolicy_get |
| PATCH | /api/v1/finance/approval-policies/{id} |
Save the next version of an approval policy | finance_approvalpolicy_update |
| GET | /api/v1/finance/delegations |
Out-of-office delegations of approvals | finance_delegation_list |
| POST | /api/v1/finance/delegations |
Hand your approvals to a colleague for some dates | finance_delegation_update |
| PATCH | /api/v1/finance/delegations/{id} |
End a delegation | finance_delegation_update |
| GET | /api/v1/finance/recon/rulesets |
Reconciliation rulesets of the entities you may read | finance_reconruleset_list |
| POST | /api/v1/finance/recon/rulesets |
A new reconciliation ruleset on an entity, at version 1 | finance_reconruleset_create |
| GET | /api/v1/finance/recon/rulesets/{id} |
A ruleset with its rules in plain words, at its current or a given version | finance_reconruleset_get |
| PATCH | /api/v1/finance/recon/rulesets/{id} |
Save the next version of a ruleset, or archive or restore it | finance_reconruleset_update |
| GET | /api/v1/finance/recon/runs |
Reconciliation runs, newest first | finance_reconrun_list |
| POST | /api/v1/finance/recon/runs |
Run a reconciliation ruleset over a period, in the background | finance_reconrun_start |
| GET | /api/v1/finance/recon/runs/{id} |
A run with its counts and its totals per source | finance_reconrun_get |
| GET | /api/v1/finance/recon/matches |
Reconciliation matches by run, entity, status or record | finance_reconmatch_list |
| POST | /api/v1/finance/recon/matches |
Match records by hand with a reason, or suggest a match | finance_reconmatch_create |
| POST | /api/v1/finance/recon/matches/{id}/confirm |
Confirm a suggested or rule's match | finance_reconmatch_confirm |
| POST | /api/v1/finance/recon/matches/{id}/undo |
Undo a match: both sides back to unmatched | finance_reconmatch_undo |
| POST | /api/v1/finance/recon/records/{id}/exclude |
Exclude a record with a reason, or include it again | finance_reconrecord_exclude |
| GET | /api/v1/finance/recon/cases |
Reconciliation cases by status, kind, entity, run, source or party | finance_reconcase_list |
| GET | /api/v1/finance/recon/cases/{id} |
A case with its records, amounts, evidence and exception | finance_reconcase_get |
| PATCH | /api/v1/finance/recon/cases/{id} |
Claim, recover, write off or dismiss a case | finance_reconcase_update |
| POST | /api/v1/finance/recon/runs/{id}/cancel |
Cancel a queued or running reconciliation run | finance_reconrun_cancel |
| GET | /api/v1/finance/recon/case-groups |
Open reconciliation cases grouped by counterparty and kind, with the total at stake and the oldest's age | finance_reconcase_summary |
| POST | /api/v1/finance/recon/cases/{id}/journal |
Propose a written-off case's adjusting journal, once | finance_reconjournal_propose |
| GET | /api/v1/finance/recon/ledger |
The recovery ledger by counterparty and month | finance_reconledger_get |
| GET | /api/v1/finance/recon/report |
An entity's daily reconciliation report, as JSON or CSV | finance_reconreport_get |
| GET | /api/v1/finance/recon/claims |
Claim letters by entity, counterparty or status | finance_reconclaim_list |
| POST | /api/v1/finance/recon/claims |
Draft a claim letter for cases against one counterparty, or change a draft | finance_reconclaim_draft |
| GET | /api/v1/finance/recon/claims/{id} |
A claim letter with its table and status | finance_reconclaim_get |
| POST | /api/v1/finance/recon/runs/{run_id}/suggest |
Ask the org's model to suggest matches for a run's leftovers, in the background | finance_reconsuggest_run |
| POST | /api/v1/finance/recon/matches/{id}/decide |
Confirm or reject a suggested match | finance_reconsuggest_decide |
| POST | /api/v1/finance/recon/cases/{id}/explain |
A case's plain-language explanation by the org's model | finance_reconcase_explain |
| GET | /api/v1/finance/recon-contracts |
Reconciliation contracts with parties | finance_reconcontract_list |
| POST | /api/v1/finance/recon-contracts |
Add a contract and its first version of terms | finance_reconcontract_create |
| GET | /api/v1/finance/recon-contracts/{id} |
A contract with every version of its terms | finance_reconcontract_get |
| PATCH | /api/v1/finance/recon-contracts/{id} |
Change a contract, change one version or add a version | finance_reconcontract_update |
| GET | /api/v1/finance/recon/packs |
The reconciliation packs shipped, one in full, and where each is installed | finance_pack_list |
| POST | /api/v1/finance/recon/packs |
Install a reconciliation pack on an entity, or bring it to the pack's newer version | finance_pack_apply |
| POST | /api/v1/finance/recon-contracts/{id}/evaluate |
A transaction's expected commission, fees, tax, net and due date, with the working and findings | finance_reconcontract_evaluate |
| GET | /api/v1/finance/journals |
The journal outbox, newest first | finance_journal_list |
| GET | /api/v1/finance/journals/{id} |
One journal with its lines | finance_journal_get |
| POST | /api/v1/finance/journals/{id}/retry |
Check a blocked journal again, or a failed export | finance_journal_retry |
| POST | /api/v1/finance/journals/{id}/void |
Void a journal that was never exported | finance_journal_void |
| POST | /api/v1/finance/journals/{id}/reverse |
Post the reversing journal | finance_journal_reverse |
| GET | /api/v1/finance/policies |
A spending policy (organisation-wide or an entity's) with its versions | finance_policy_get |
| PUT | /api/v1/finance/policies |
Save the next version of a spending policy | finance_policy_update |
| POST | /api/v1/finance/policies/test |
Which rules a sample document would pass, warn or block | finance_policy_get |
| GET | /api/v1/finance/budgets |
Budgets with committed, released, actual and available | finance_budget_list |
| PUT | /api/v1/finance/budgets |
Set one or many budgets, or import them from CSV | finance_budget_set |
| POST | /api/v1/finance/budgets/check |
What an item would leave in its budgets, and the budget check | finance_budget_list |
| POST | /api/v1/finance/party-invites |
Send a vendor their onboarding link (the link is in the answer once) | finance_party_invite |
| POST | /api/v1/finance/party-invites/{id} |
Revoke a vendor onboarding link (body {"action":"revoke"}) | finance_party_invite |
| GET | /api/v1/finance/bills |
Bills, newest first | finance_bill_list |
| POST | /api/v1/finance/bills |
Enter a bill or credit note, or make one from a Capture document | finance_bill_create |
| GET | /api/v1/finance/bills/{id} |
One bill with its lines | finance_bill_get |
| PATCH | /api/v1/finance/bills/{id} |
Change a draft or needs-review bill | finance_bill_update |
| POST | /api/v1/finance/bills/{id}/submit |
Run the checks and send the bill for approval | finance_bill_submit |
| POST | /api/v1/finance/bills/{id}/void |
Void a bill with a reason | finance_bill_void |
| POST | /api/v1/finance/bills/{id}/dispute |
Dispute a bill, or resolve the dispute | finance_bill_dispute |
| GET | /api/v1/finance/purchase-orders |
Purchase orders, newest first (open=true: the open commitments) | finance_po_list |
| POST | /api/v1/finance/purchase-orders |
Create a draft purchase order, or read one from a Capture document | finance_po_create |
| GET | /api/v1/finance/purchase-orders/{id} |
One purchase order with its lines, receipts and what is billed | finance_po_get |
| PATCH | /api/v1/finance/purchase-orders/{id} |
Change a draft purchase order | finance_po_update |
| POST | /api/v1/finance/purchase-orders/{id}/issue |
Send a purchase order for approval (issued and numbered once approved) | finance_po_issue |
| POST | /api/v1/finance/purchase-orders/{id}/close |
Close or cancel a purchase order with a reason | finance_po_close |
| GET | /api/v1/finance/purchase-orders/{po_id}/receipts |
A purchase order's goods receipts | finance_receipt_list |
| POST | /api/v1/finance/purchase-orders/{po_id}/receipts |
Record goods received against a purchase order | finance_receipt_create |
| GET | /api/v1/finance/match-tolerances |
The tolerances a bill is matched within, for an entity | finance_matchtolerance_get |
| PUT | /api/v1/finance/match-tolerances |
Set an entity's match tolerances, or the organisation's default | finance_matchtolerance_set |
| GET | /api/v1/finance/purchase-requests |
Purchase requests, newest first (yours, or every one you may see) | finance_request_list |
| POST | /api/v1/finance/purchase-requests |
Create a draft purchase request | finance_request_create |
| GET | /api/v1/finance/purchase-requests/{id} |
One purchase request with its lines and its quotes compared | finance_request_get |
| PATCH | /api/v1/finance/purchase-requests/{id} |
Change a draft, held or rejected purchase request | finance_request_update |
| POST | /api/v1/finance/purchase-requests/{id}/submit |
Check a purchase request against policy and budget and send it for approval | finance_request_submit |
| POST | /api/v1/finance/purchase-requests/{id}/convert |
Turn an approved purchase request into an issued purchase order | finance_request_convert |
| POST | /api/v1/finance/purchase-requests/{id}/cancel |
Cancel a purchase request with a reason | finance_request_cancel |
| POST | /api/v1/finance/purchase-requests/{request_id}/quotes |
Attach a vendor quote to a purchase request | finance_requestquote_add |
| POST | /api/v1/finance/purchase-requests/{request_id}/choose-quote |
Choose a purchase request's quote and say why | finance_requestquote_choose |
| GET | /api/v1/finance/agent-jobs |
The Finance agent jobs | finance_agentjob_list |
| POST | /api/v1/finance/agent-jobs |
Create a Finance agent job, or a draft from a template | finance_agentjob_create |
| GET | /api/v1/finance/agent-jobs/{id} |
A Finance agent job with its authority in words | finance_agentjob_get |
| PATCH | /api/v1/finance/agent-jobs/{id} |
Save the next version of a Finance agent job | finance_agentjob_update |
| POST | /api/v1/finance/agent-jobs/{id}/pause |
Pause or resume a Finance agent job | finance_agentjob_pause |
| POST | /api/v1/finance/agent-jobs/{id}/run |
Run a Finance agent job now | finance_agentjob_run |
| GET | /api/v1/finance/agent-runs |
Finance agent runs, newest first | finance_agentrun_list |
| GET | /api/v1/finance/agent-runs/{id} |
A Finance agent run with every action | finance_agentrun_get |
| GET | /api/v1/finance/agent-actions |
The evaluate queue: Finance agents' recommendations, open or reviewed | finance_agentaction_list |
| POST | /api/v1/finance/agent-actions/{id}/review |
Accept, edit or reject a Finance agent's recommendation, once | finance_agentaction_review |
| GET | /api/v1/finance/agent-report |
The Finance agents' monthly report | finance_agentreport_get |
| GET | /api/v1/finance/inbound |
Capture by email: settings, each entity's address, the last deliveries and held mail (never the secret) | finance_inbound_get |
| PATCH | /api/v1/finance/inbound |
Turn Capture by email on or off, set the provider, address and allowed senders, or make a new secret (shown once) | finance_inbound_update |
| GET | /api/v1/finance/bank-accounts |
The organisation's own bank accounts with their calendars | finance_bankaccount_list |
| POST | /api/v1/finance/bank-accounts |
Add a bank account payment runs pay from | finance_bankaccount_create |
| PATCH | /api/v1/finance/bank-accounts/{id} |
Change a bank account or its calendar | finance_bankaccount_update |
| GET | /api/v1/finance/payment-runs |
Payment runs, newest value date first | finance_payrun_list |
| POST | /api/v1/finance/payment-runs |
Propose a payment run from approved items and manual lines | finance_payrun_propose |
| GET | /api/v1/finance/payment-runs/{id} |
A payment run with its payments and what was left out | finance_payrun_get |
| POST | /api/v1/finance/payment-runs/{id}/prepare |
Prepare a run and send it for approval | finance_payrun_prepare |
| POST | /api/v1/finance/payment-runs/{id}/cancel |
Cancel a run that was not released | finance_payrun_cancel |
| POST | /api/v1/finance/payments/{payment_id}/hold |
Hold a payment in a run, or take its hold off | finance_payrun_hold |
| GET | /api/v1/finance/payments |
Payments in runs, newest first | finance_payment_list |
| GET | /api/v1/finance/payments/{id} |
A payment and the items it covers | finance_payment_get |
| GET | /api/v1/finance/payment-runs/{id}/file |
What a run's bank file holds and what stops it; never the file | finance_payrun_export |
| POST | /api/v1/finance/payment-runs/{id}/sent |
Mark an exported run's file uploaded to the bank | finance_payrun_mark_sent |
| GET | /api/v1/finance/payments/{id}/remittance |
A payment's remittance advice | finance_remittance_get |
| GET | /api/v1/finance/expenses |
Expenses you may see: your own, or every member's on your entities for a controller or auditor | finance_expense_list |
| POST | /api/v1/finance/expenses |
File an expense of your own, from a receipt or typed | finance_expense_create |
| GET | /api/v1/finance/expenses/{id} |
One expense with both amounts, its receipt and its last policy check | finance_expense_get |
| PATCH | /api/v1/finance/expenses/{id} |
Change your own draft expense, link a receipt or declare it lost | finance_expense_update |
| DELETE | /api/v1/finance/expenses/{id} |
Delete your own draft expense | finance_expense_delete |
| GET | /api/v1/finance/expense-reports |
Expense reports: yours, all you may see, or waiting on you | finance_expensereport_list |
| POST | /api/v1/finance/expense-reports |
Start an expense report of your own expenses | finance_expensereport_create |
| GET | /api/v1/finance/expense-reports/{id} |
A report with its lines, total, approval and its checks as they stand | finance_expensereport_get |
| POST | /api/v1/finance/expense-reports/{id}/submit |
Check a report against the policy and send it for approval | finance_expensereport_submit |
| POST | /api/v1/finance/expense-reports/{id}/withdraw |
Take a report back from approval | finance_expensereport_withdraw |
| GET | /api/v1/finance/expense-categories |
Expense categories and the checks each adds | finance_category_list |
| PUT | /api/v1/finance/expense-categories |
Add or change an expense category by its code | finance_category_update |
| GET | /api/v1/finance/card-feeds |
Company card feeds you may see | finance_cardfeed_list |
| POST | /api/v1/finance/card-feeds |
Add a company card feed (last four digits only) | finance_cardfeed_create |
| POST | /api/v1/finance/card-feeds/{feed_id}/import |
Import a card statement CSV into a feed | finance_cardtxn_import |
| GET | /api/v1/finance/card-lines |
Card statement lines with their match state | finance_cardtxn_list |
| POST | /api/v1/finance/card-lines/match |
Confirm, reject or rerun a card line's match to a receipt | finance_cardtxn_match |
| PATCH | /api/v1/finance/card-lines/{id} |
Send a receipt for your card line, or declare it lost | finance_cardtxn_update |
| POST | /api/v1/finance/reimbursements/runs |
Propose a payment run paying approved expense reports back | finance_reimbursement_propose |
| GET | /api/v1/finance/reimbursements |
Expense reports to reimburse and where each stands | finance_reimbursement_list |
| PUT | /api/v1/finance/member-payees |
Set the party whose verified account reimburses a member | finance_memberpayee_set |
| GET | /api/v1/finance/advances |
Advances you may see, with what is open by age | finance_advance_list |
| POST | /api/v1/finance/advances |
Ask for an advance, for yourself or a member you manage | finance_advance_create |
| GET | /api/v1/finance/advances/{id} |
An advance with its expenses, settlements, refunds and utilisation | finance_advance_get |
| POST | /api/v1/finance/advances/{id}/submit |
Send an advance for approval | finance_advance_submit |
| POST | /api/v1/finance/advances/{id}/disburse |
Record an approved advance as paid out | finance_advance_disburse |
| POST | /api/v1/finance/advances/{id}/spend |
Charge one of your expenses to a paid advance | finance_advance_spend |
| POST | /api/v1/finance/advances/{id}/refunds |
Record money returned on an advance, with proof | finance_advance_refund |
| POST | /api/v1/finance/advances/{id}/close |
Close an advance that is 100% used | finance_advance_close |
| POST | /api/v1/finance/expense-conversions |
Move an expense between an advance and a reimbursement | finance_expense_convert |
| POST | /api/v1/finance/expense-risk-checks |
Run the risk checks again on an expense or a report | finance_expense_check |
| GET | /api/v1/finance/expense-risk-report |
Flag rates, exceptions and overrides of the expense risk checks | finance_riskreport_get |
| GET | /api/v1/finance/expense-risk-settings |
The weights and thresholds of the expense risk checks | finance_riskconfig_get |
| PUT | /api/v1/finance/expense-risk-settings |
Change the weights and thresholds of the expense risk checks | finance_riskconfig_update |
| GET | /api/v1/finance/exports |
Export batches, newest first, and the templates on offer | finance_export_list |
| POST | /api/v1/finance/exports |
Freeze ready journals or contacts into an export file | finance_export_create |
| GET | /api/v1/finance/exports/{id} |
One export batch with its file | finance_export_get |
| POST | /api/v1/finance/exports/{id}/confirm |
Confirm the accounting system imported the file | finance_export_confirm |
| POST | /api/v1/finance/exports/{id}/cancel |
Cancel an open export batch | finance_export_cancel |
| POST | /api/v1/finance/imports |
Import master data from a mapped CSV file | finance_import_start |
| POST | /api/v1/finance/imports/{job_id}/continue |
Carry a running import on | finance_import_start |
| GET | /api/v1/finance/imports/{id} |
One import job with its progress and problems | finance_import_get |
| GET | /api/v1/finance/invoices |
Sales invoices, newest first; overdue is computed | finance_invoice_list |
| POST | /api/v1/finance/invoices |
A new draft sales invoice | finance_invoice_create |
| POST | /api/v1/finance/invoices/import |
Import open invoices from CSV, all or nothing | finance_invoice_import |
| GET | /api/v1/finance/invoices/{id} |
One invoice with its lines, credit memos and deliveries | finance_invoice_get |
| PATCH | /api/v1/finance/invoices/{id} |
Change a draft invoice | finance_invoice_update |
| POST | /api/v1/finance/invoices/{id}/issue |
Issue a draft: its number, frozen, its journal | finance_invoice_issue |
| POST | /api/v1/finance/invoices/{id}/void |
Void an invoice while nothing is paid | finance_invoice_void |
| POST | /api/v1/finance/invoices/{id}/send |
Email an invoice through Comms email | finance_invoice_send |
| GET | /api/v1/finance/credit-memos |
Credit memos, newest first | finance_creditmemo_list |
| POST | /api/v1/finance/credit-memos |
Credit an issued invoice | finance_creditmemo_create |
| GET | /api/v1/finance/credit-memos/{id} |
One credit memo with its lines | finance_creditmemo_get |
| GET | /api/v1/finance/close |
An entity's month: its close checklist, computed live | finance_close_get |
| GET | /api/v1/finance/close/history |
An entity's locks and unlocks with the checklist as it stood | finance_close_history |
| POST | /api/v1/finance/close/lock |
Lock a month (a reason to lock with open items) | finance_period_lock |
| POST | /api/v1/finance/close/unlock |
Unlock a month, with a reason | finance_period_unlock |
| POST | /api/v1/finance/close/items |
Add, change, archive or tick a close checklist item | finance_closeitem_save |
| POST | /api/v1/finance/close/sample |
Draw a reproducible audit sample (manifest and CSV) | finance_sample_run |
| GET | /api/v1/finance/close/auditor-views |
What members holding an auditor grant read | finance_auditorview_list |
| GET | /api/v1/finance/receipts |
Customer receipts, newest first; one with its applications | finance_receiptin_list |
| POST | /api/v1/finance/receipts |
Record a customer receipt, or many from CSV | finance_receiptin_create |
| POST | /api/v1/finance/receipts/apply |
Apply a receipt or a customer credit to invoices | finance_receiptin_apply |
| POST | /api/v1/finance/receipts/unapply |
Take an application back; its journal reversed | finance_receiptin_unapply |
| POST | /api/v1/finance/write-offs |
Ask to write off an invoice, through approvals | finance_writeoff_request |
| GET | /api/v1/finance/dunning |
An entity's payment reminder schedule and log | finance_dunning_get |
| PATCH | /api/v1/finance/dunning |
Change an entity's payment reminder schedule | finance_dunning_update |
| POST | /api/v1/finance/dunning/pause |
Pause reminders for an invoice or customer, or mark a dispute | finance_dunning_pause |
| GET | /api/v1/finance/items |
Items with their prices, and the price books | finance_item_list |
| POST | /api/v1/finance/items |
A new item with its prices | finance_item_create |
| PATCH | /api/v1/finance/items/{id} |
Change an item or its prices | finance_item_update |
| GET | /api/v1/finance/subscriptions |
Subscriptions, newest first | finance_subscription_list |
| POST | /api/v1/finance/subscriptions |
A new subscription | finance_subscription_create |
| GET | /api/v1/finance/subscriptions/{id} |
One subscription with its next invoice | finance_subscription_get |
| PATCH | /api/v1/finance/subscriptions/{id} |
Change, pause or resume a subscription | finance_subscription_update |
| POST | /api/v1/finance/subscriptions/{id}/cancel |
Cancel a subscription from a date | finance_subscription_cancel |
| POST | /api/v1/finance/billing-runs |
Bill an entity's subscriptions that fall due | finance_billingrun_start |
| GET | /api/v1/finance/billing-runs/{id} |
One billing run with its lines | finance_billingrun_get |
| GET | /api/v1/finance/folio-rules |
Folio billing rules | finance_foliorule_list |
| POST | /api/v1/finance/folio-rules |
A folio billing rule for a customer or an event | finance_foliorule_create |
| PATCH | /api/v1/finance/folio-rules/{id} |
Change a folio billing rule (a new version) | finance_foliorule_update |
| GET | /api/v1/finance/folio-rules/{rule_id}/preview |
What a run of the rule over a period would do | finance_foliorun_get |
| POST | /api/v1/finance/folio-imports |
Import guest folios from a property system export or a Capture document | finance_folio_import |
| POST | /api/v1/finance/folio-runs |
Run a folio rule over a period: draft invoices | finance_foliorun_start |
| GET | /api/v1/finance/folio-runs/{id} |
One folio run with its drafts and routed lines | finance_foliorun_get |
| GET | /api/v1/finance/connections |
Connections to an accounting system and whether Xero is configured here | finance_connection_list |
| GET | /api/v1/finance/connections/{id} |
One connection, its last runs and the not-synced report | finance_connection_get |
| POST | /api/v1/finance/connections/{id}/sync |
Push the entity's ready journals now, each at most once | finance_connection_sync |
| POST | /api/v1/finance/connections/{id}/disconnect |
Disconnect: delete and revoke the connection's tokens | finance_connection_disconnect |
| GET | /api/v1/finance/home |
What needs attention, one card per module | finance_home_get |
| GET | /api/v1/finance/reports/{report} |
One report's tables, computed on read | finance_report_get |
| POST | /api/v1/finance/bank-accounts/{bank_account_id}/settle |
Settle released payments from a bank account's imported statement | finance_settlement_run |
| GET | /api/v1/finance/settlements |
Payment settlements and returns, and the proposals waiting for a person | finance_settlement_list |
| POST | /api/v1/finance/settlements/{id}/confirm |
Confirm a proposed settlement or return | finance_settlement_confirm |
| POST | /api/v1/finance/settlements/{id}/dismiss |
Dismiss a proposed settlement with a reason | finance_settlement_dismiss |
| GET | /api/v1/finance/cash-forecast |
Outflows and inflows by week, per entity and currency | finance_cashforecast_get |
| GET | /api/v1/finance/payment-reports/{report} |
Days payable outstanding by vendor, or off-cycle runs by requester | finance_paymentreport_get |
| GET | /api/v1/finance/receipt-suggestions |
Incoming bank lines suggested as customer receipts, with the invoices they would pay | finance_receiptsuggest_list |
| POST | /api/v1/finance/receipt-suggestions/{record_id}/decide |
Confirm a suggested receipt (as suggested or edited) or dismiss its bank line | finance_receiptsuggest_decide |
Events
14 org webhook events, generated from lib/webhooks/events.ts. Subscribe an endpoint to them in Settings, Webhooks (see Webhooks and events).
| Event | When |
|---|---|
finance.exception.opened |
A new exception landed on Petawork Finance's exceptions queue (raising the same problem again does not send it twice): its id, kind, severity, risk score, module, entity, the record it is about and the expected and actual amounts with their currency. Never its detail. |
finance.document.confirmed |
A document in Finance's inbox was confirmed by a person: its id, kind, entity, party, total in minor units with currency and status. Never its bytes or text. |
finance.bill.approved |
A supplier bill finished its approval route: its id, entity, party, amount in minor units with currency, due date and the approval request. |
finance.bill.paid |
A supplier bill was paid in full: its id, entity, party, amount, currency, when and the payment run. |
finance.expense_report.approved |
An expense report finished its approval route: its id, entity, the member, total and currency. |
finance.payment_run.released |
A payment run was released to the bank: its id, entity, status, item count and total with currency. |
finance.payment_run.settled |
A released payment run settled: its id, entity, status, item count, total, currency and when. |
finance.invoice.issued |
A sales invoice was issued: its id, entity, party, number, amount, currency and due date. |
finance.invoice.paid |
A sales invoice was paid in full: its id, entity, party, amount, currency and when. |
finance.invoice.overdue |
A sales invoice passed its due date unpaid (once per invoice): its id, entity, party, amount, currency, due date and days overdue. |
finance.recon_run.completed |
A reconciliation run finished: its id, entity, account, status and its matched, unmatched and exception counts. |
finance.recon_case.opened |
A reconciliation case was opened for a difference: its id, run, entity, kind, status and amount with currency. |
finance.recon_case.recovered |
A reconciliation case was closed with money recovered: its id, run, entity, status, amount recovered and currency. |
finance.period.locked |
An accounting period of an entity was locked and takes no new postings: the entity, the month, who locked it and when. |
MCP tools
263 tools: 109 read, 154 write. Generated from the code; "write (destructive)" is the tool's destructiveHint. A tool with a REST route is the same call over HTTP.
| Tool | Title | Access | Scope | REST route |
|---|---|---|---|---|
finance_account_create |
Create a Finance account | write | finance:admin |
POST /api/v1/finance/accounts |
finance_account_import |
Import Finance accounts from CSV | write | finance:admin |
POST /api/v1/finance/accounts/import |
finance_account_list |
List Finance accounts | read | finance:read |
GET /api/v1/finance/accounts |
finance_account_update |
Change or deactivate a Finance account | write | finance:admin |
PATCH /api/v1/finance/accounts/{id} |
finance_advance_close |
Close an advance | write | finance:write |
POST /api/v1/finance/advances/{id}/close |
finance_advance_create |
Ask for an advance | write | finance:write |
POST /api/v1/finance/advances |
finance_advance_disburse |
Record an advance as paid | write | finance:write |
POST /api/v1/finance/advances/{id}/disburse |
finance_advance_get |
Get an advance | read | finance:read |
GET /api/v1/finance/advances/{id} |
finance_advance_list |
List advances | read | finance:read |
GET /api/v1/finance/advances |
finance_advance_refund |
Record money returned on an advance | write | finance:write |
POST /api/v1/finance/advances/{id}/refunds |
finance_advance_spend |
Charge an expense to an advance | write | finance:write |
POST /api/v1/finance/advances/{id}/spend |
finance_advance_submit |
Send an advance for approval | write | finance:write |
POST /api/v1/finance/advances/{id}/submit |
finance_agentaction_list |
List Finance agent recommendations | read | finance:read |
GET /api/v1/finance/agent-actions |
finance_agentaction_review |
Review a Finance agent recommendation | write | finance:write |
POST /api/v1/finance/agent-actions/{id}/review |
finance_agentjob_create |
Create a Finance agent job | write | finance:admin |
POST /api/v1/finance/agent-jobs |
finance_agentjob_get |
Get a Finance agent job | read | finance:read |
GET /api/v1/finance/agent-jobs/{id} |
finance_agentjob_list |
List Finance agent jobs | read | finance:read |
GET /api/v1/finance/agent-jobs |
finance_agentjob_pause |
Pause or resume a Finance agent job | write | finance:admin |
POST /api/v1/finance/agent-jobs/{id}/pause |
finance_agentjob_run |
Run a Finance agent job now | write | finance:admin |
POST /api/v1/finance/agent-jobs/{id}/run |
finance_agentjob_update |
Change a Finance agent job | write | finance:admin |
PATCH /api/v1/finance/agent-jobs/{id} |
finance_agentreport_get |
Get the Finance agents' monthly report | read | finance:read |
GET /api/v1/finance/agent-report |
finance_agentrun_get |
Get a Finance agent run | read | finance:read |
GET /api/v1/finance/agent-runs/{id} |
finance_agentrun_list |
List Finance agent runs | read | finance:read |
GET /api/v1/finance/agent-runs |
finance_approval_decide |
Decide a Finance approval | write | finance:write |
POST /api/v1/finance/approvals/{id}/decide (+1) |
finance_approval_get |
Get a Finance approval request | read | finance:read |
GET /api/v1/finance/approvals/{id} |
finance_approval_list |
List Finance approvals | read | finance:read |
GET /api/v1/finance/approvals |
finance_approvalpolicy_get |
Get a Finance approval policy | read | finance:read |
POST /api/v1/finance/approval-policies/simulate (+1) |
finance_approvalpolicy_list |
List Finance approval policies | read | finance:read |
GET /api/v1/finance/approval-policies |
finance_approvalpolicy_update |
Create or change a Finance approval policy | write | finance:admin |
POST /api/v1/finance/approval-policies (+1) |
finance_auditorview_list |
List what Finance auditors read | read | finance:read |
GET /api/v1/finance/close/auditor-views |
finance_bankaccount_create |
Add a company bank account | write | finance:write |
POST /api/v1/finance/bank-accounts |
finance_bankaccount_list |
List company bank accounts | read | finance:read |
GET /api/v1/finance/bank-accounts |
finance_bankaccount_update |
Change a company bank account | write | finance:write |
PATCH /api/v1/finance/bank-accounts/{id} |
finance_bill_create |
Enter a bill | write | finance:write |
POST /api/v1/finance/bills |
finance_bill_dispute |
Dispute a bill | write | finance:write |
POST /api/v1/finance/bills/{id}/dispute |
finance_bill_get |
Get a bill | read | finance:read |
GET /api/v1/finance/bills/{id} |
finance_bill_list |
List bills | read | finance:read |
GET /api/v1/finance/bills |
finance_bill_submit |
Send a bill for approval | write | finance:write |
POST /api/v1/finance/bills/{id}/submit |
finance_bill_update |
Change a bill | write | finance:write |
PATCH /api/v1/finance/bills/{id} |
finance_bill_void |
Void a bill | write (destructive) | finance:write |
POST /api/v1/finance/bills/{id}/void |
finance_billingrun_get |
Get a billing run | read | finance:read |
GET /api/v1/finance/billing-runs/{id} |
finance_billingrun_start |
Run billing for an entity | write | finance:write |
POST /api/v1/finance/billing-runs |
finance_budget_list |
List Finance budgets | read | finance:read |
GET /api/v1/finance/budgets (+1) |
finance_budget_set |
Set Finance budgets | write | finance:admin |
PUT /api/v1/finance/budgets |
finance_capturehint_delete |
Forget Capture hints | write (destructive) | finance:write |
POST /api/v1/finance/capture/hints/delete |
finance_capturehint_list |
List Capture's learned hints | read | finance:read |
GET /api/v1/finance/capture/hints |
finance_capturehint_update |
Rewrite a Capture hint | write | finance:write |
PATCH /api/v1/finance/capture/hints/{id} |
finance_capturesetting_get |
Read Finance capture's settings | read | finance:read |
GET /api/v1/finance/capture/settings |
finance_capturesetting_update |
Change Finance capture's settings | write | finance:write |
PATCH /api/v1/finance/capture/settings |
finance_cardfeed_create |
Add a company card feed | write | finance:write |
POST /api/v1/finance/card-feeds |
finance_cardfeed_list |
List company card feeds | read | finance:read |
GET /api/v1/finance/card-feeds |
finance_cardtxn_import |
Import a card statement | write | finance:write |
POST /api/v1/finance/card-feeds/{feed_id}/import |
finance_cardtxn_list |
List card lines | read | finance:read |
GET /api/v1/finance/card-lines |
finance_cardtxn_match |
Confirm, reject or rerun a card match | write | finance:write |
POST /api/v1/finance/card-lines/match |
finance_cardtxn_update |
Send a receipt for a card line, or declare it lost | write | finance:write |
PATCH /api/v1/finance/card-lines/{id} |
finance_cashforecast_get |
Get the cash forecast | read | finance:read |
GET /api/v1/finance/cash-forecast |
finance_category_list |
List expense categories | read | finance:read |
GET /api/v1/finance/expense-categories |
finance_category_update |
Add or change an expense category | write | finance:admin |
PUT /api/v1/finance/expense-categories |
finance_close_get |
Get a Finance period's close checklist | read | finance:read |
GET /api/v1/finance/close |
finance_close_history |
List a Finance entity's close history | read | finance:read |
GET /api/v1/finance/close/history |
finance_closeitem_save |
Save a Finance close checklist item | write | finance:admin |
POST /api/v1/finance/close/items |
finance_codinglock_delete |
Remove a coding lock | write (destructive) | finance:write |
DELETE /api/v1/finance/capture/coding-locks/{id} |
finance_codinglock_list |
List locked coding mappings | read | finance:read |
GET /api/v1/finance/capture/coding-locks |
finance_codinglock_set |
Lock a coding mapping | write | finance:write |
PUT /api/v1/finance/capture/coding-locks |
finance_connection_disconnect |
Disconnect a Finance connection | write (destructive) | finance:admin |
POST /api/v1/finance/connections/{id}/disconnect |
finance_connection_get |
Get a Finance connection | read | finance:read |
GET /api/v1/finance/connections/{id} |
finance_connection_list |
List Finance connections to an accounting system | read | finance:read |
GET /api/v1/finance/connections |
finance_connection_sync |
Sync a Finance connection now | write | finance:write |
POST /api/v1/finance/connections/{id}/sync |
finance_creditmemo_create |
Credit a sales invoice | write | finance:write |
POST /api/v1/finance/credit-memos |
finance_creditmemo_get |
Get a credit memo | read | finance:read |
GET /api/v1/finance/credit-memos/{id} |
finance_creditmemo_list |
List credit memos | read | finance:read |
GET /api/v1/finance/credit-memos |
finance_delegation_list |
List Finance approval delegations | read | finance:read |
GET /api/v1/finance/delegations |
finance_delegation_update |
Set or end a Finance approval delegation | write | finance:write |
POST /api/v1/finance/delegations (+1) |
finance_dimension_create |
Create a Finance dimension | write | finance:admin |
POST /api/v1/finance/dimensions |
finance_dimension_list |
List Finance dimensions or a dimension's values | read | finance:read |
GET /api/v1/finance/dimensions |
finance_dimension_update |
Change a Finance dimension and its values | write | finance:admin |
PATCH /api/v1/finance/dimensions/{id} |
finance_document_check |
Check a Finance document again | write | finance:write |
POST /api/v1/finance/documents/{id}/check |
finance_document_confirm |
Confirm a Finance document | write | finance:write |
POST /api/v1/finance/documents/{id}/confirm |
finance_document_correct |
Correct what Capture read | write | finance:write |
POST /api/v1/finance/documents/{id}/correct |
finance_document_create |
Send a document into Finance | write | finance:write |
POST /api/v1/finance/documents |
finance_document_extract |
Read a Finance document again | write | finance:write |
POST /api/v1/finance/documents/{id}/extract |
finance_document_get |
Read a Finance document | read | finance:read |
GET /api/v1/finance/documents/{id} |
finance_document_list |
List Finance documents | read | finance:read |
GET /api/v1/finance/documents |
finance_document_prepare |
Prepare a Finance document upload | write | finance:write |
POST /api/v1/finance/documents/uploads |
finance_document_reject |
Reject a Finance document | write | finance:write |
POST /api/v1/finance/documents/{id}/reject |
finance_dunning_get |
Get the payment reminder schedule | read | finance:read |
GET /api/v1/finance/dunning |
finance_dunning_pause |
Pause reminders or mark a dispute | write | finance:write |
POST /api/v1/finance/dunning/pause |
finance_dunning_update |
Change the payment reminder schedule | write | finance:write |
PATCH /api/v1/finance/dunning |
finance_entity_create |
Create a Finance entity | write | finance:admin |
POST /api/v1/finance/entities |
finance_entity_list |
List the Finance entities | read | finance:read |
GET /api/v1/finance/entities |
finance_entity_update |
Change or archive a Finance entity | write | finance:admin |
PATCH /api/v1/finance/entities/{id} |
finance_event_list |
List Finance events | read | finance:read |
GET /api/v1/finance/events |
finance_event_verify |
Verify the Finance event chain | read | finance:read |
GET /api/v1/finance/events/verify |
finance_exception_assign |
Assign a Finance exception | write | finance:write |
POST /api/v1/finance/exceptions/{id}/assign |
finance_exception_get |
Get a Finance exception | read | finance:read |
GET /api/v1/finance/exceptions/{id} |
finance_exception_list |
List Finance exceptions | read | finance:read |
GET /api/v1/finance/exceptions |
finance_exception_resolve |
Resolve a Finance exception | write | finance:write |
POST /api/v1/finance/exceptions/{id}/resolve |
finance_exception_waive |
Waive a Finance exception | write | finance:write |
POST /api/v1/finance/exceptions/{id}/waive |
finance_expense_check |
Check an expense's risk again | write | finance:write |
POST /api/v1/finance/expense-risk-checks |
finance_expense_convert |
Move an expense between an advance and a reimbursement | write | finance:write |
POST /api/v1/finance/expense-conversions |
finance_expense_create |
File an expense | write | finance:write |
POST /api/v1/finance/expenses |
finance_expense_delete |
Delete an expense | write (destructive) | finance:write |
DELETE /api/v1/finance/expenses/{id} |
finance_expense_get |
Get an expense | read | finance:read |
GET /api/v1/finance/expenses/{id} |
finance_expense_list |
List expenses | read | finance:read |
GET /api/v1/finance/expenses |
finance_expense_update |
Change an expense | write | finance:write |
PATCH /api/v1/finance/expenses/{id} |
finance_expensereport_create |
Start an expense report | write | finance:write |
POST /api/v1/finance/expense-reports |
finance_expensereport_get |
Get an expense report | read | finance:read |
GET /api/v1/finance/expense-reports/{id} |
finance_expensereport_list |
List expense reports | read | finance:read |
GET /api/v1/finance/expense-reports |
finance_expensereport_submit |
Submit an expense report | write | finance:write |
POST /api/v1/finance/expense-reports/{id}/submit |
finance_expensereport_withdraw |
Withdraw an expense report | write | finance:write |
POST /api/v1/finance/expense-reports/{id}/withdraw |
finance_export_cancel |
Cancel a Finance export | write | finance:write |
POST /api/v1/finance/exports/{id}/cancel |
finance_export_confirm |
Confirm a Finance export was imported | write | finance:admin |
POST /api/v1/finance/exports/{id}/confirm |
finance_export_create |
Create a Finance export file | write | finance:write |
POST /api/v1/finance/exports |
finance_export_get |
Get a Finance export file | read | finance:read |
GET /api/v1/finance/exports/{id} |
finance_export_list |
List Finance export files | read | finance:read |
GET /api/v1/finance/exports |
finance_folio_import |
Import guest folios | write | finance:write |
POST /api/v1/finance/folio-imports |
finance_foliorule_create |
Create a folio billing rule | write | finance:write |
POST /api/v1/finance/folio-rules |
finance_foliorule_list |
List folio billing rules | read | finance:read |
GET /api/v1/finance/folio-rules |
finance_foliorule_update |
Change a folio billing rule | write | finance:write |
PATCH /api/v1/finance/folio-rules/{id} |
finance_foliorun_get |
Get a folio billing run | read | finance:read |
GET /api/v1/finance/folio-rules/{rule_id}/preview (+1) |
finance_foliorun_start |
Run folio billing | write | finance:write |
POST /api/v1/finance/folio-runs |
finance_fxrate_get |
Look up a Finance exchange rate | read | finance:read |
GET /api/v1/finance/fx-rates/lookup |
finance_fxrate_list |
List Finance exchange rates | read | finance:read |
GET /api/v1/finance/fx-rates |
finance_fxrate_set |
Set a Finance exchange rate | write | finance:admin |
PUT /api/v1/finance/fx-rates |
finance_home_get |
Get Finance home | read | finance:read |
GET /api/v1/finance/home |
finance_import_get |
Get a Finance master-data import | read | finance:read |
GET /api/v1/finance/imports/{id} |
finance_import_start |
Import Finance master data from CSV | write | finance:write |
POST /api/v1/finance/imports (+1) |
finance_inbound_get |
Read Capture by email | read | finance:read |
GET /api/v1/finance/inbound |
finance_inbound_update |
Change Capture by email | write | finance:admin |
PATCH /api/v1/finance/inbound |
finance_invoice_create |
Create a draft sales invoice | write | finance:write |
POST /api/v1/finance/invoices |
finance_invoice_get |
Get a sales invoice | read | finance:read |
GET /api/v1/finance/invoices/{id} |
finance_invoice_import |
Import open sales invoices | write | finance:write |
POST /api/v1/finance/invoices/import |
finance_invoice_issue |
Issue a sales invoice | write | finance:write |
POST /api/v1/finance/invoices/{id}/issue |
finance_invoice_list |
List sales invoices | read | finance:read |
GET /api/v1/finance/invoices |
finance_invoice_send |
Send a sales invoice | write | finance:write |
POST /api/v1/finance/invoices/{id}/send |
finance_invoice_update |
Change a draft sales invoice | write | finance:write |
PATCH /api/v1/finance/invoices/{id} |
finance_invoice_void |
Void a sales invoice | write | finance:write |
POST /api/v1/finance/invoices/{id}/void |
finance_item_create |
Create an item | write | finance:write |
POST /api/v1/finance/items |
finance_item_list |
List items and price books | read | finance:read |
GET /api/v1/finance/items |
finance_item_update |
Change an item or its prices | write | finance:write |
PATCH /api/v1/finance/items/{id} |
finance_journal_get |
Get a Finance journal | read | finance:read |
GET /api/v1/finance/journals/{id} |
finance_journal_list |
List Finance journals | read | finance:read |
GET /api/v1/finance/journals |
finance_journal_retry |
Retry a Finance journal | write | finance:write |
POST /api/v1/finance/journals/{id}/retry |
finance_journal_reverse |
Reverse a Finance journal | write | finance:write |
POST /api/v1/finance/journals/{id}/reverse |
finance_journal_void |
Void a Finance journal | write | finance:write |
POST /api/v1/finance/journals/{id}/void |
finance_matchtolerance_get |
Get the match tolerances | read | finance:read |
GET /api/v1/finance/match-tolerances |
finance_matchtolerance_set |
Set the match tolerances | write | finance:write |
PUT /api/v1/finance/match-tolerances |
finance_memberpayee_set |
Set a member's reimbursement account | write | finance:write |
PUT /api/v1/finance/member-payees |
finance_module_list |
List the Finance modules | read | finance:read |
GET /api/v1/finance/modules |
finance_pack_apply |
Install a reconciliation pack | write | finance:write |
POST /api/v1/finance/recon/packs |
finance_pack_list |
List reconciliation packs | read | finance:read |
GET /api/v1/finance/recon/packs |
finance_party_create |
Add a vendor or customer | write | finance:write |
POST /api/v1/finance/parties |
finance_party_get |
Get a vendor or customer | read | finance:read |
GET /api/v1/finance/parties/{id} |
finance_party_invite |
Send a vendor their onboarding link, or revoke one | write | finance:write |
POST /api/v1/finance/party-invites (+1) |
finance_party_list |
List vendors and customers | read | finance:read |
GET /api/v1/finance/parties |
finance_party_update |
Change, block or unblock a vendor or customer | write | finance:write |
PATCH /api/v1/finance/parties/{id} |
finance_party_verify |
Verify a vendor or customer | write | finance:write |
POST /api/v1/finance/parties/{id}/verify |
finance_partybank_create |
Add or change a party's bank account | write | finance:write |
POST /api/v1/finance/party-bank-accounts |
finance_partybank_retire |
Retire a party's bank account | write (destructive) | finance:write |
POST /api/v1/finance/party-bank-accounts/{id}/retire |
finance_partybank_reveal |
Reveal a bank account number | write | finance:write |
POST /api/v1/finance/party-bank-accounts/{id}/reveal |
finance_partybank_verify |
Verify a party's bank account | write | finance:write |
POST /api/v1/finance/party-bank-accounts/{id}/verify |
finance_payment_get |
Get a payment | read | finance:read |
GET /api/v1/finance/payments/{id} |
finance_payment_list |
List payments | read | finance:read |
GET /api/v1/finance/payments |
finance_paymentreport_get |
Get a payments report | read | finance:read |
GET /api/v1/finance/payment-reports/{report} |
finance_payrun_cancel |
Cancel a payment run | write (destructive) | finance:write |
POST /api/v1/finance/payment-runs/{id}/cancel |
finance_payrun_export |
Check a payment run's bank file | read | finance:read |
GET /api/v1/finance/payment-runs/{id}/file |
finance_payrun_get |
Get a payment run | read | finance:read |
GET /api/v1/finance/payment-runs/{id} |
finance_payrun_hold |
Hold a payment, or take its hold off | write | finance:write |
POST /api/v1/finance/payments/{payment_id}/hold |
finance_payrun_list |
List payment runs | read | finance:read |
GET /api/v1/finance/payment-runs |
finance_payrun_mark_sent |
Mark a payment run sent | write | finance:write |
POST /api/v1/finance/payment-runs/{id}/sent |
finance_payrun_prepare |
Prepare a payment run | write | finance:write |
POST /api/v1/finance/payment-runs/{id}/prepare |
finance_payrun_propose |
Propose a payment run | write | finance:write |
POST /api/v1/finance/payment-runs |
finance_period_list |
List an entity's Finance periods | read | finance:read |
GET /api/v1/finance/periods |
finance_period_lock |
Lock a Finance period | write | finance:admin |
POST /api/v1/finance/close/lock |
finance_period_unlock |
Unlock a Finance period | write | finance:admin |
POST /api/v1/finance/close/unlock |
finance_period_update |
Open, close or lock a Finance period | write | finance:admin |
PATCH /api/v1/finance/periods |
finance_po_close |
Close a purchase order | write (destructive) | finance:write |
POST /api/v1/finance/purchase-orders/{id}/close |
finance_po_create |
Create a purchase order | write | finance:write |
POST /api/v1/finance/purchase-orders |
finance_po_get |
Get a purchase order | read | finance:read |
GET /api/v1/finance/purchase-orders/{id} |
finance_po_issue |
Issue a purchase order | write | finance:write |
POST /api/v1/finance/purchase-orders/{id}/issue |
finance_po_list |
List purchase orders | read | finance:read |
GET /api/v1/finance/purchase-orders |
finance_po_update |
Change a purchase order | write | finance:write |
PATCH /api/v1/finance/purchase-orders/{id} |
finance_policy_get |
Get a Finance spending policy | read | finance:read |
GET /api/v1/finance/policies (+1) |
finance_policy_update |
Change a Finance spending policy | write | finance:admin |
PUT /api/v1/finance/policies |
finance_receipt_create |
Record goods received | write | finance:write |
POST /api/v1/finance/purchase-orders/{po_id}/receipts |
finance_receipt_list |
List a purchase order's receipts | read | finance:read |
GET /api/v1/finance/purchase-orders/{po_id}/receipts |
finance_receiptin_apply |
Apply a receipt to invoices | write | finance:write |
POST /api/v1/finance/receipts/apply |
finance_receiptin_create |
Enter customer receipts | write | finance:write |
POST /api/v1/finance/receipts |
finance_receiptin_list |
List customer receipts | read | finance:read |
GET /api/v1/finance/receipts |
finance_receiptin_unapply |
Unapply a receipt from an invoice | write | finance:write |
POST /api/v1/finance/receipts/unapply |
finance_receiptsuggest_decide |
Confirm or dismiss a suggested receipt | write | finance:write |
POST /api/v1/finance/receipt-suggestions/{record_id}/decide |
finance_receiptsuggest_list |
List receipts suggested from bank lines | read | finance:read |
GET /api/v1/finance/receipt-suggestions |
finance_reconbatch_import |
Import a file into a reconciliation source | write | finance:write |
POST /api/v1/finance/recon/imports |
finance_reconbatch_list |
List a source's imports | read | finance:read |
GET /api/v1/finance/recon/imports |
finance_reconcase_explain |
Explain a reconciliation case | write | finance:write |
POST /api/v1/finance/recon/cases/{id}/explain |
finance_reconcase_get |
Get a reconciliation case | read | finance:read |
GET /api/v1/finance/recon/cases/{id} |
finance_reconcase_list |
List reconciliation cases | read | finance:read |
GET /api/v1/finance/recon/cases |
finance_reconcase_summary |
Group open reconciliation cases | read | finance:read |
GET /api/v1/finance/recon/case-groups |
finance_reconcase_update |
Work a reconciliation case | write | finance:write |
PATCH /api/v1/finance/recon/cases/{id} |
finance_reconclaim_draft |
Draft a claim letter | write | finance:write |
POST /api/v1/finance/recon/claims |
finance_reconclaim_get |
Get a claim letter | read | finance:read |
GET /api/v1/finance/recon/claims/{id} |
finance_reconclaim_list |
List claim letters | read | finance:read |
GET /api/v1/finance/recon/claims |
finance_reconcontract_create |
Add a reconciliation contract | write | finance:write |
POST /api/v1/finance/recon-contracts |
finance_reconcontract_evaluate |
Work out a transaction's expected amounts | read | finance:read |
POST /api/v1/finance/recon-contracts/{id}/evaluate |
finance_reconcontract_get |
Get a reconciliation contract | read | finance:read |
GET /api/v1/finance/recon-contracts/{id} |
finance_reconcontract_list |
List reconciliation contracts | read | finance:read |
GET /api/v1/finance/recon-contracts |
finance_reconcontract_update |
Change a reconciliation contract | write | finance:write |
PATCH /api/v1/finance/recon-contracts/{id} |
finance_reconjournal_propose |
Propose a case's adjusting journal | write | finance:write |
POST /api/v1/finance/recon/cases/{id}/journal |
finance_reconledger_get |
Get the recovery ledger | read | finance:read |
GET /api/v1/finance/recon/ledger |
finance_reconmatch_confirm |
Confirm a reconciliation match | write | finance:write |
POST /api/v1/finance/recon/matches/{id}/confirm |
finance_reconmatch_create |
Match records by hand | write | finance:write |
POST /api/v1/finance/recon/matches |
finance_reconmatch_list |
List reconciliation matches | read | finance:read |
GET /api/v1/finance/recon/matches |
finance_reconmatch_undo |
Undo a reconciliation match | write | finance:write |
POST /api/v1/finance/recon/matches/{id}/undo |
finance_reconrecord_exclude |
Exclude a reconciliation record | write | finance:write |
POST /api/v1/finance/recon/records/{id}/exclude |
finance_reconrecord_list |
List reconciliation records | read | finance:read |
GET /api/v1/finance/recon/records |
finance_reconreport_get |
Get the daily reconciliation report | read | finance:read |
GET /api/v1/finance/recon/report |
finance_reconruleset_create |
Create a reconciliation ruleset | write | finance:write |
POST /api/v1/finance/recon/rulesets |
finance_reconruleset_get |
Get a reconciliation ruleset | read | finance:read |
GET /api/v1/finance/recon/rulesets/{id} |
finance_reconruleset_list |
List reconciliation rulesets | read | finance:read |
GET /api/v1/finance/recon/rulesets |
finance_reconruleset_update |
Change a reconciliation ruleset | write | finance:write |
PATCH /api/v1/finance/recon/rulesets/{id} |
finance_reconrun_cancel |
Cancel a reconciliation run | write | finance:write |
POST /api/v1/finance/recon/runs/{id}/cancel |
finance_reconrun_get |
Get a reconciliation run | read | finance:read |
GET /api/v1/finance/recon/runs/{id} |
finance_reconrun_list |
List reconciliation runs | read | finance:read |
GET /api/v1/finance/recon/runs |
finance_reconrun_start |
Run a reconciliation | write | finance:write |
POST /api/v1/finance/recon/runs |
finance_reconsource_create |
Add a reconciliation source | write | finance:write |
POST /api/v1/finance/recon/sources |
finance_reconsource_list |
List reconciliation sources | read | finance:read |
GET /api/v1/finance/recon/sources |
finance_reconsource_update |
Change a reconciliation source | write | finance:write |
PATCH /api/v1/finance/recon/sources/{id} |
finance_reconsuggest_decide |
Confirm or reject a suggested match | write | finance:write |
POST /api/v1/finance/recon/matches/{id}/decide |
finance_reconsuggest_run |
Suggest matches for a run's leftovers | write | finance:write |
POST /api/v1/finance/recon/runs/{run_id}/suggest |
finance_reimbursement_list |
List reimbursements | read | finance:read |
GET /api/v1/finance/reimbursements |
finance_reimbursement_propose |
Propose a reimbursement run | write | finance:write |
POST /api/v1/finance/reimbursements/runs |
finance_remittance_get |
Get a payment's remittance advice | read | finance:read |
GET /api/v1/finance/payments/{id}/remittance |
finance_report_get |
Get a Finance report | read | finance:read |
GET /api/v1/finance/reports/{report} |
finance_request_cancel |
Cancel a purchase request | write (destructive) | finance:write |
POST /api/v1/finance/purchase-requests/{id}/cancel |
finance_request_convert |
Convert a request to a purchase order | write | finance:write |
POST /api/v1/finance/purchase-requests/{id}/convert |
finance_request_create |
Create a purchase request | write | finance:write |
POST /api/v1/finance/purchase-requests |
finance_request_get |
Get a purchase request | read | finance:read |
GET /api/v1/finance/purchase-requests/{id} |
finance_request_list |
List purchase requests | read | finance:read |
GET /api/v1/finance/purchase-requests |
finance_request_submit |
Submit a purchase request | write | finance:write |
POST /api/v1/finance/purchase-requests/{id}/submit |
finance_request_update |
Change a purchase request | write | finance:write |
PATCH /api/v1/finance/purchase-requests/{id} |
finance_requestquote_add |
Add a quote to a purchase request | write | finance:write |
POST /api/v1/finance/purchase-requests/{request_id}/quotes |
finance_requestquote_choose |
Choose a quote | write | finance:write |
POST /api/v1/finance/purchase-requests/{request_id}/choose-quote |
finance_riskconfig_get |
Get the expense risk settings | read | finance:read |
GET /api/v1/finance/expense-risk-settings |
finance_riskconfig_update |
Change the expense risk settings | write | finance:write |
PUT /api/v1/finance/expense-risk-settings |
finance_riskreport_get |
Expense risk report | read | finance:read |
GET /api/v1/finance/expense-risk-report |
finance_role_grant |
Give a member a Finance role | write | finance:admin |
POST /api/v1/finance/roles |
finance_role_list |
List Finance role grants | read | finance:read |
GET /api/v1/finance/roles |
finance_role_revoke |
Revoke a Finance role grant | write (destructive) | finance:admin |
POST /api/v1/finance/roles/{id}/revoke |
finance_sample_run |
Draw a Finance audit sample | read | finance:read |
POST /api/v1/finance/close/sample |
finance_settlement_confirm |
Confirm a proposed settlement | write | finance:write |
POST /api/v1/finance/settlements/{id}/confirm |
finance_settlement_dismiss |
Dismiss a proposed settlement | write | finance:write |
POST /api/v1/finance/settlements/{id}/dismiss |
finance_settlement_list |
List payment settlements | read | finance:read |
GET /api/v1/finance/settlements |
finance_settlement_run |
Settle payments from a bank statement | write | finance:write |
POST /api/v1/finance/bank-accounts/{bank_account_id}/settle |
finance_subscription_cancel |
Cancel a subscription | write | finance:write |
POST /api/v1/finance/subscriptions/{id}/cancel |
finance_subscription_create |
Create a subscription | write | finance:write |
POST /api/v1/finance/subscriptions |
finance_subscription_get |
Get a subscription | read | finance:read |
GET /api/v1/finance/subscriptions/{id} |
finance_subscription_list |
List subscriptions | read | finance:read |
GET /api/v1/finance/subscriptions |
finance_subscription_update |
Change a subscription | write | finance:write |
PATCH /api/v1/finance/subscriptions/{id} |
finance_taxcode_create |
Create a Finance tax code | write | finance:admin |
POST /api/v1/finance/tax-codes |
finance_taxcode_import |
Import Finance tax codes from CSV | write | finance:admin |
POST /api/v1/finance/tax-codes/import |
finance_taxcode_list |
List Finance tax codes | read | finance:read |
GET /api/v1/finance/tax-codes |
finance_taxcode_update |
Change or deactivate a Finance tax code | write | finance:admin |
PATCH /api/v1/finance/tax-codes/{id} |
finance_writeoff_request |
Ask to write off an invoice | write | finance:write |
POST /api/v1/finance/write-offs |