build_journal
Turns composed journal entries from invoices or payroll summaries into an accounting import file and rejects unbalanced entries before export, reporting the difference.
Instructions
Write journal entries you composed (e.g. from invoices or a payroll summary) as an import file.
entries: [{"date": "2026-03-31", "number": 1 (optional), "lines": [{"account": "64000000", "debit": "1500.00", "concept": "Nómina marzo"}, {"account": "47510000", "credit": "225.00"}, ...]}]. Entries must balance: an unbalanced entry is refused before any charge, with the difference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| a3_format | No | ||
| fiscal_year | No | ||
| company_code | No | 00001 | |
| account_split | No | ||
| decimal_comma | No | ||
| target_format | Yes | ||
| account_digits | No | ||
| start_entry_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||