Skip to content

Document template · be.reports.general_ledger

General Ledger — Grand livre (BE)

  • Render-verified
  • Informational
  • Version 1.0.0

On-demand verification and analysis reports for Belgian accountants. PCMN chart of accounts.

JSON Schema

Fields in this template

Data sent to the API is validated against the template’s JSON Schema before anything is rendered. This template defines 26 fields:

Field Required Type Description
letter Required object
letter.date Required date
letter.reference Required string
entity Required object
entity.name Required string
entity.bce Required string
entity.vat Required string
entity.address Optional string
entity.city Optional string
period Required object
period.start Required date
period.end Required date
ledger_accounts Required array of object
ledger_accounts[].pcmn_code Required string
ledger_accounts[].account_label Required string
ledger_accounts[].pcmn_class Optional enum
ledger_accounts[].opening_balance Required number
ledger_accounts[].ledger_entries Required array of object
ledger_accounts[].closing_balance Required number
ledger_accounts[].total_debit Optional number
ledger_accounts[].total_credit Optional number
grand_totals Optional object
grand_totals.total_debit Optional number
grand_totals.total_credit Optional number
grand_totals.balanced Optional boolean
notes Optional string

POST /render

Generate it

One POST /render call: send your JSON, get the finished PDF back. Or skip the JSON entirely and describe the document in plain language on chut.app.

curl
curl -X POST https://api.papii.eu/render \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "be.reports.general_ledger",
    "data": { ... },
    "options": {"language": "en"}
  }' -o general-ledger.pdf

Frequently asked questions

What is “General Ledger — Grand livre (BE)”?

On-demand verification and analysis reports for Belgian accountants. PCMN chart of accounts. On papii this document is available as template be.reports.general_ledger: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a General Ledger — Grand livre (BE) with AI?

Yes. chut.app — the AI back office papii powers — fills this template from a plain-language description: you describe the document in one sentence, the AI structures the data, papii validates it against the schema and renders the PDF. Developers can also call the papii API directly with structured JSON.

Is the General Ledger — Grand livre (BE) template legally compliant?

This template is render-verified: its schema, sample data and PDF output are automatically tested on every release. It is published with status “ready”, meaning it has not yet been through papii’s final legal review. Where it references specific legislation, that is stated in the template description — always have a professional check documents with legal effect before relying on them.