Book a journal entry
books_record_entryBook an entry: two or more lines, each a debit or a credit on an account, which must balance. For anything the other tools don't cover: opening balances, a loan, depreciation, owner's drawings, moving money between accounts, a correction. Entries are never edited; undo one with books_reverse_entry. Lines can carry a tax so the tax report counts them. Costs $0.01 per call; nothing if it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| memo | No | ||
| rate | No | One unit of currency in the base currency, e.g. "0.9241". Default: a standing rate, else the European Central Bank's reference rate for the date. | |
| lines | Yes | ||
| party | No | Who paid or was paid. | |
| currency | No | When it is not the base currency, e.g. "USD". The rate is then rate, a standing rate, or the European Central Bank's for the date. | |
| reference | No | ||
| receipt_file_id | No | A file_id from the file store. |