Post Xero transaction
post_xero_transactionPost ONE FreedomOS transaction into Xero as Spend Money or Receive Money. Args are fo_transaction_id + xero_bank_account_id only — amount, date, merchant, and Xero expense/income code are loaded from the FO row and the account map. Use after suggest_xero_post when the row is approved in FreedomOS and its category is mapped: it then posts with no card, skips when Xero already holds a document for that bank line, and lands on the weekly digest with its undo (void). Does not mark the Xero document reconciled.
Routing: Post of one approved, mapped FO row into Xero — never invent the amount
[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| fo_transaction_id | Yes | FreedomOS transactions.id UUID from suggest_xero_post | |
| xero_bank_account_id | Yes | Xero BANK AccountID UUID from list_xero_accounts |