Invoices from Paperless-ngx, filed as structured records
Paperless receives an invoice PDF by upload, watched folder or email. A language model reads it into a Powerhouse invoice record, filed by month for review in Connect and queryable over GraphQL.
Document archive
- Invoice PT-2026-2041
- Uploaded PDF, OCR and classified
Powerhouse
- issuer
- Lumen Type Foundry
- invoiceNo
- PT-2026-2041
- dateDue
- 2026-10-01
- totalPriceTaxIncl
- 13,500.00 EUR
Filed for review
Billing drive, September 2026
Every invoice in the drive, rolled up
- Monthly value by status
- Top payers by invoice total
How it works
The paperless-sync connector joins Paperless to a Billing drive in Powerhouse. It reads only the documents Paperless has classified as invoices, and it never writes back to the archive.
Watch the film at full size- 01
Paperless receives the invoice
Upload the PDF, drop it in the consume folder, or let Paperless collect it from a mailbox. Paperless reads the text and classifies the document as an invoice.
- 02
The connector hands it to a model
A Paperless workflow pushes the invoice to paperless-sync, which sends the extracted text to the configured model. The example uses google/gemini-2.5-flash through OpenRouter.
- 03
The model fills the invoice record
Issuer, payer, invoice number, dates, currency, line items and totals become typed fields on a Powerhouse invoice.
- 04
It is filed for review
The record lands in the Billing drive under the month it belongs to. Open it in Connect and check it against the original scan.
- 05
Every consumer reads the same state
Connect shows the invoice, Switchboard serves it over GraphQL and HTTP, and the Billing dashboard rolls up every invoice by month and status.
The example runs locally in Docker on sample invoices. It accepts PDFs only, and synchronisation runs one way: edits made in Powerhouse do not travel back to Paperless.
