GST Invoices

v1.0.6

Generate basic GST‑compliant PDF invoices for WooCommerce orders. Adds an Order Action button in wp‑admin to open the PDF in the browser.

No tags assigned
0Active Installs
0Total Downloads

Details

Version1.0.6
Added
22 Sept 2025
Last Updated
22 Sept 2025
1 days ago

Description

A minimal, dependency‑free PDF invoice generator for WooCommerce. It provides a secure invoice download link (owner/admin only) and a simple settings page to choose the invoice prefix.

Key points
– No external PDF libraries (tiny built‑in generator).
– Download from the Orders list or Edit Order screens.
– Secure front‑end link requires a nonce and the order owner/admin capability.
– Works on a clean install. No cron, no background jobs.

Usage

Generate/View an invoice (wp‑admin)

  1. Go to WooCommerce Orders.
  2. In the Actions column, click the GST Invoice icon on the order row (or open any order and find the same action in the top action buttons).
  3. The PDF opens in your browser. You can print or save it.

Share a link (front‑end)

  • The plugin builds a secure URL like: https://example.com/?udkwp_gstin=download&order_id=123&_wpnonce=…
  • Only the order owner (logged in) or shop managers/admins can access it. Others will see “You are not allowed to view this invoice.”

Configure invoice numbering

  • Go to Settings GST Invoices and set Invoice Prefix.
  • The final invoice number format is: <prefix><YYYYMMDD>-<order-id> (e.g. INV-20250913-1234).