| sez | No | true when the buyer is an SEZ unit or developer: IGST applies even in the same state. Default false. | |
| bank | No | Optional bank details to print: {account_name, bank_name, account_number, ifsc, branch, upi}. | |
| buyer | No | The buyer: {name, gstin (if registered), address, state}. The buyer's state decides CGST + SGST or IGST unless place_of_supply is given. | |
| items | No | Line items as objects: [{"description":"Steel rod 12mm","hsn":"7214","qty":10,"unit":"kg","rate":520,"gst_rate":18}]. Text lines like "Steel rod, HSN 7214, 10 kg @ 520, 18%" are a fallback. | |
| terms | No | Optional terms or notes to print, e.g. "Payment within 30 days. Goods once sold will not be taken back." | |
| copies | No | 1 (default, original), 2 (original + duplicate) or 3 (original, duplicate for transporter, triplicate for supplier). | |
| seller | No | The seller issuing the invoice: {name, gstin, address, state, phone, email}. | |
| details | No | Fallback only: the invoice details pasted as text when they cannot be split into the fields above. | |
| ship_to | No | Optional delivery address when it differs from the buyer's, e.g. {"name":"Mehta Stores Warehouse","address":"Plot 7, GIDC, Vapi","state":"Gujarat"}. | |
| due_date | No | Optional due date, e.g. "2026-11-27", or terms such as "net 30", "30 days" or "on receipt". | |
| page_size | No | "A4" (default) or "Letter". | |
| invoice_date | No | Invoice date, e.g. "2026-10-28" or "28/10/2026" (day first). Default: today in India. | |
| invoice_number | No | Invoice number, up to 16 letters, digits, - or /, e.g. "INV/2026-27/045". | |
| reverse_charge | No | true when tax is payable on reverse charge. Default false. | |
| place_of_supply | No | Optional place of supply (state name or code), e.g. "Karnataka" or "29". Default: the ship-to state, else the buyer's state, else the seller's state. | |
| prices_include_gst | No | true when the rates already include GST (the taxable value is worked out from them). Default false. | |