billy_raw_request
Make raw API requests to any Billy v2 endpoint not covered by dedicated tools. Supports GET, POST, PUT, DELETE. Caution: write operations affect accounting records.
Instructions
Escape hatch: call any Billy API v2 endpoint not covered by a dedicated tool. Examples: GET /currencies, /countries, /taxRates, /salesTaxReturns, /invoiceReminders, /files, /bankLines, /postings, /users. Write requests must wrap the body in a singular resource key, e.g. { "daybookTransaction": {...} }. WARNING: POST/PUT/DELETE have real accounting effects — prefer dedicated tools when available. Non-GET methods require BILLY_WRITE_MODE=confirm (user approval) or full; in read-only mode only GET is allowed. CAUTION: Billy SILENTLY IGNORES undocumented query params (no error, just unfiltered results) — cross-check filters against docs/billy-api.md before relying on them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT, wrapped in the singular resource key | |
| path | Yes | Endpoint path relative to /v2, e.g. '/currencies' or '/invoices/abc123' | |
| query | No | Query parameters, e.g. { "organizationId": "...", "page": "2" } | |
| method | No | HTTP method | GET |
| maxChars | No | Truncate response JSON at this many characters (default 20000). Full data never exceeds this — narrow your query or use paging for more. |