
Settings page in WooCommerce
What it does
– Generates a Proforma Invoice (ISF) for unpaid orders (e.g., BACS).
– Generates a VAT Invoice for paid orders.
– LT company details (seller/bank), numbering series, prefixes/suffixes, “Start from” / “Next number”.
– PDF attachments in emails: ISF (on-hold), VAT (processing/completed).
– Unique protected download URLs (token + TTL) or “logged-in only”.
– Templates can be overridden in your theme: /yourtheme/lt-invoices-for-woocommerce/*.
Notes
– The VAT summary automatically follows WooCommerce tax settings.
– PDF generation is handled by Dompdf (bundled).
– Variables for showing client ID/VAT: billing_company_code, billing_company_id, company_id, billing_company_vat, company_vat, billing_vat_number, billing_vat