From 039e8417adaafad3ad213256d076cbc1410df1a9 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Sun, 12 Apr 2026 22:39:58 +0200 Subject: [PATCH] docs: update README --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 742278c..22efe76 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,15 @@ BACKBLAZE_PASSWORD=your_password INVOICE_VAT_ID=DE123456789 INVOICE_DOCUMENT_TYPE=Invoice INVOICE_COMPANY=My Company GmbH -INVOICE_NOTES=Internal ref: 12345 +INVOICE_NOTES=Internal ref: 12345\nLine 2\nLine 3 OUTPUT_DIR=./invoices BROWSER_HEADLESS=true +DOWNLOAD_ALL_YEARS=false ``` +Notes can include literal `\n` to create line breaks in the invoice “Other” field. + ## Usage ```bash @@ -50,6 +53,7 @@ python main.py --document-type TYPE Document type to select --company NAME Company name to fill --notes TEXT Notes to fill on invoices +--all-years Download invoices for all years (default: first year only) -v, --verbose Verbose logging ``` @@ -59,6 +63,6 @@ CLI arguments override `.env` values. 1. Logs in to `secure.backblaze.com` 2. Navigates to the billing page -3. Iterates over all billing groups and years +3. Iterates over all billing groups and the selected year(s) (first year by default) 4. For each invoice, opens the invoice page, fills the configured fields, and exports to PDF 5. Skips already-downloaded invoices