Multi-Book API Support

Multi-book organizations can now discover books, create and filter journal entries by book, and run reports for a specific book:

  • GET /books lists each book's id, name, kind, and mode, with the primary book first. Only primary and adjustment-overlay book IDs can be used with report and journal-entry endpoints.
  • Journal-entry creation accepts an optional book_id. GET /journal-entries can filter by book_id, and journal-entry responses now always include book_id.
  • GET /reports/trial-balance, GET /reports/balance-sheet, GET /reports/income-statement, GET /reports/cash-flow-statement, GET /reports/executive-pl, and GET /reports/journal-entries accept an optional book_id. Primary books return primary-only results; adjustment-overlay books return a combined primary and adjustment view. GL report entries now include book_id.

Applies to V4 only.