export_xbrl_csv
Writes a book's payments as xBRL-CSV for accounting and reporting systems: mpp-report.json metadata plus mpp-payments.csv with one row per payment and its intent.
Instructions
Writes the book's payments as xBRL-CSV for accounting and reporting systems: one row per payment, in the concepts of the draft Machine Payment Profile for XBRL GL, with the intent each was paid under. The files are mpp-report.json (the metadata) and mpp-payments.csv, in a new folder under /tmp/spr-books/exports. Give a short folder name, not a path. Returns the folder, the file names and the number of rows. If the folder already holds an export it fails, unless overwrite is true. To give an auditor or a counterparty a sealed copy they can check, use export_package instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A folder name: letters, digits, dot, dash or underscore, such as xbrl-2026-10 | |
| overwrite | No | Replace an earlier export of that name |