DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk7 min

How to Generate GST Invoices as PDFs with DocRaptor

Use your validated invoice data to create HTML and submit it to DocRaptor for PDF conversion. Learn which GST particulars to render and why e-invoice reporting remains a separate step.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To generate a GST invoice PDF with DocRaptor, build and validate the invoice data in your application, render it into HTML, then send that HTML to DocRaptor’s PDF API. DocRaptor converts the document; it does not determine GST treatment, check every legal invoice requirement, or obtain an e-invoice IRN. If e-invoicing applies to the transaction, complete the applicable GST portal or IRP workflow separately and include its returned data in the PDF as appropriate.

What you need before generating the PDF

Keep invoice facts in your billing system as structured data. Your application—not the HTML template—should assign invoice numbers, validate dates, determine taxable values and tax breakdowns, and store any applicable e-invoice response fields. Rule 46 lists particulars for tax invoices, with conditional requirements that depend on the issuer and transaction. Review the Central Goods and Services Tax Rules, 2017 and have a qualified GST professional check the template for your circumstances.

As an Amazon Associate I earn from qualifying purchases.

  • Supplier name, address and GSTIN.
  • A consecutive invoice serial number unique for the financial year, no longer than 16 characters. Rule 46 permits letters, numerals, hyphen or dash, and slash.
  • Issue date.
  • Recipient identity and GSTIN/UIN when registered, plus applicable details for unregistered recipients.
  • HSN code, description, and quantity and unit for goods.
  • Total supply value, taxable value after applicable discount or abatement, and applicable tax rates and amounts.
  • Additional particulars where required, including export or SEZ details and details associated with invoices issued through the Rule 48(4) e-invoice process.

This is a working checklist, not an exhaustive legal opinion. Rule 46 is subject to Rule 54 and transaction-specific conditions. The GST Portal’s IFF user guide says invoice dates cannot be future dates or precede GST registration, and invoice numbers should be unique within a financial year. Treat those as input checks alongside the rules that apply to your supply and issuer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Generate the PDF with DocRaptor

  1. Prepare validated invoice data. Retrieve the saved invoice record and confirm its required fields, number, date, tax values and any applicable e-invoice information.
  2. Render the record into HTML. Use an HTML template that includes the particulars applicable to this invoice. Add CSS for print layout and include only data from the trusted invoice record.
  3. Submit the HTML to DocRaptor. Send JSON to https://api.docraptor.com/docs with type set to pdf and document_content containing the HTML. Alternatively, use document_url for content DocRaptor can retrieve. Direct REST requests use HTTP Basic Authentication with the API key as the username and a blank password; the API reference also documents query-parameter authentication.
  4. Handle the response as a document-generation result. For direct output, check the HTTP status and save the response bytes as a PDF. Hosted-document requests return a public URL, while asynchronous requests return a status identifier to poll. Handle errors instead of assuming every response contains PDF bytes.
  5. Deliver the saved document through your own workflow. Apply the access controls and retention policy appropriate to your business and the applicable requirements.

A minimal request body has this shape; it is illustrative, not a complete invoice or a substitute for credentials:

#1 Best Overall
Sale
Portable Printers Wireless for Travel, A285M Small Inkless Thermal Printer | Bluetooth Mobile Mini Printer Support 8.5" X 11" US Letter & A4, Compatible with iPhone Laptop for Home Office School Receipt
  • Portable Printers Wireless for Travel [Compact & Space-saving]: The portable printer weighs only 1.5lb and is small in size. This inkless portable printer fits easily into a backpack or briefcase! Ideal for on-the-go printing during business travel, in car or truck, small office, construction site, school and home use. You can print documents, contracts, invoices, receipts, recipes, lists and boarding passes anytime, anywhere
  • Wireless Bluetooth Printer [High Compatibility]: The portable thermal printer compatible with iPhone, Android Phone, iPad, Tablet via Bluetooth. Print documents, pictures, web pages from your phone anytime, anywhere. You can also use the USB-C cable to connect your laptop or computer for printing. (Note: Laptops and computers only work with USB connection, need to download the driver first: a285m.labelife.cc)
  • Thermal Printer [Multi-Size Printing]: The wireless portable printer with built-in paper bin, support thermal roll paper, continuous and single sheet thermal paper. A285M small wireless printer also supports 5 sizes of thermal paper: 8.5“ X 11” US Letter, A4, 4.33'' (110mm), 3.14'' (80mm), 2.08'' (53mm) width thermal paper, can meet most of your needs
  • Inkless Printer [Cost-Effective & Inkless Printing]: The Bluetooth mobile printer adopts advanced thermal technology, no ink, toner, or ribbon required during printing, no clogging and cleaning problems! (Note: Only support the thermal paper, Does not support regular copy paper. Only supports black and white printing.)
  • Mobile Printer [High Quality Printing]: The compact printer is designed for people who work outside. A wireless inkless portable printer is good for mobile notaries, truck drivers, business travelers, office workers, teachers and students. Note: Charging with 5V 2A. Don't use the charger that outputs above 5V
{
  "type": "pdf",
  "document_content": "<html><body><h1>Tax Invoice</h1>...</body></html>"
}

For authentication, response modes and request parameters, consult the DocRaptor API documentation.

Choose the content source and delivery mode

Decision Option When it fits
Content source document_content Your application builds the HTML and sends it in the request.
Content source document_url The invoice is already rendered at a URL DocRaptor can retrieve; ensure the page and its assets are accessible to the renderer.
Delivery Direct PDF bytes Your application can wait for conversion and save or stream the returned PDF.
Delivery Hosted URL or asynchronous status flow Your system is designed to serve a hosted result or check job status separately.
Responsibility Application plus DocRaptor rendering You already manage invoice data and need HTML-to-PDF conversion.
Responsibility Separate GST billing and e-invoice integration You also need upstream invoice management, tax data handling or applicable IRN reporting; PDF conversion alone does not perform these tasks.

Set up the PDF layout

Use a deliberate page size

DocRaptor’s default is US Letter. For an Indian business invoice, select the intended paper size and margins rather than inheriting that default. Its page-size guide shows the CSS form @page { size: A4; }.

Rank #2
Sale
Gloryang Inkless Portable Printer for Travel, Wireless Thermal Printer Supports 8.5 x 11 Inch Thermal Paper, Bluetooth Machine Includes Carry Case and 3 Rolls of Paper Kit, Black
  • Inkless Printing – Gloryang portable printer uses advanced thermal technology, requiring no ink, toner, or ribbons. The package includes the printer, 3 thermal paper rolls (1 pre-installed + 2 extras), a carrying case, charging cable, manual, and guide card. Cost-effective and easy to use. Note: Only compatible with Gloryang thermal paper; not for regular, inkjet, or plain paper.
  • Seamless Bluetooth Connectivity – The Gloryang mobile sticker printer connects easily to iOS and Android via Bluetooth through the “Jadens Printer” app. It also works as a compact printer for laptops and computers—simply turn on the printer first, then install the driver to set up. Print anytime, anywhere.
  • Ultra-Portable Design - Weighing just 1.75lb and measuring 1.7in thick, the Gloryang portable printer is incredibly lightweight and compact. Perfect for on-the-go printing during travels, work, or university, it easily fits into backpacks or briefcases. Ideal for emergency scenarios, contracts, office documents, and more.
  • Space-Saving Design - Say goodbye to clutter with the built-in paper bin of the Gloryang printer. It saves space and keeps your workspace tidy, whether you're on the go or in a car. With two ways to load thermal paper and the ability to print documents ranging from 2 to 8.5 inches, it caters to various printing needs.
  • Perfect Gift for Holiday-Gloryang thermal printer can print clear photos, image, design drawings and text. It's perfect for busy professionals and students. Come with a nice case, making it as a perfect Christmas and new year gift for your families and friends.

Check print styles

Print media rules are applied by default. If the invoice CSS was designed for screen display, review the selected media setting and test the rendered result. See DocRaptor’s print media guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Plan for line-item pagination

CSS properties such as break-before, break-after and break-inside can suggest where page breaks should occur. The renderer attempts to follow those suggestions when possible; they cannot keep a block larger than a page together. See the page-break guide.

Rank #3
Sale
Portable Printers Wireless for Travel, Inkless Thermal Printer with Case
  • Portable Travel Printer with Carrying Case [Compact & Space-saving]: Inkless portable printer weighs only 1.5lb, built-in high-capacity rechargeable battery, print 160 sheets of 8.5'' x 11'' thermal paper per charge. The package includes a thermal printer, a carrying case, 4 rolls of thermal paper (1 roll letter size thermal paper inside the printer & 4.33"/3.14"/2.08'' size), USB-C & USB-A cable, user guide. Ideal for on-the-go printing during business travel, in car or truck, small office, construction site, school and home use
  • Inkless Printer [Cost-Effective & Inkless Printing]: The Bluetooth mobile printer adopt advanced thermal technology, no ink, toner, or ribbon required during printing, no clogging and cleaning problems! (Note: Only support the thermal paper, Not support regular copy paper. Only support black and white printing.)
  • Wireless Bluetooth Printer [High Compatibility]: The portable thermal printer compatible with iPhone, Android Phone, iPad, Tablet via Bluetooth. You can print documents, contracts, bills, receipts, web pages, notes, lists anytime, anywhere. You can also use the USB-C cable to connect your laptop and computer for printing. (Note: Laptop and computer only work with USB connection, need to download the driver first: a285m.labelife.cc)
  • Thermal Printer [Multi-Size Printing]: The wireless portable printer with built-in paper bin, support thermal roll paper, folded and single sheet thermal paper. This small wireless printer also supports 5 sizes of thermal paper: 8.5“ X 11” US Letter, A4, 4.33'' (110mm), 3.14'' (80mm), 2.08'' (53mm) width thermal paper, can meet most of your needs
  • Mobile Printer [High Quality Printing]: The compact printer designed for people who work outside. A wireless inkless portable printer good for mobile notaries, truck drivers, business travelers, office workers, teachers and students

Make CSS and assets retrievable

DocRaptor supports embedded, inline and external CSS. Embedding styles can avoid a separate stylesheet fetch. If the HTML references external stylesheets, images or fonts, ensure the renderer can retrieve them; relative URLs need a valid base URL. See the CSS guidance and API reference.

Use test mode only for layout iteration

DocRaptor test documents do not count against monthly limits, but the resulting PDFs carry a watermark. Do not deliver a test-mode PDF as a final invoice. Check the API reference for the test option and its behavior: DocRaptor API documentation.

Rank #4
Portable Bluetooth Receipt Printer for Travel Business Trip,Portable Thermal Bill Ticket Rechargeable Wireless Printer for on the go use,Mobile Printer for Outdoor, Office fit Android Windows
  • 【Portability】: Compact and lightweight portable printer, ideal for on-the-go printing. Designed to carry anywhere instead of desk-mounted for fixed use.
  • 【Battery-powered】: Built-in rechargeable battery, this mobile printer works without a power outlet, perfect for travel & business trips.
  • 【Bluetooth connectivity】: Supports wireless bluetooth printing. Cable-free printing, easily connect with your mobile device anytime.
  • [Tips!!! ] IS NOT compatible with iphone/ipad/MAC,DO NOT Support Square, Gloriafood, Doordash,Uber Eat, Grubhub, TabShop lite, Clover, Open Table, O3POS, MobiPOS Lite, and Kasse Speedy/PayPal/Intuit Gopayment/Shopify/Credit Card Reader/settle/FileMaker. Please confirm with us if before order.
  • APP for Android system】Utak,Loyverse,iReap,CashSale POS,RawBT.【with free U disk 】package include free U disk(driver, SDK ,VIDEO,USING MANUAL are in U disk), No need of toner, ink, ribbon.just need thermal paper. Note!! Before turning on the printer, please remove the battery and tear off the insulating glue on back of battery, insulating glue sticker let battery can't work.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep e-invoice reporting separate from PDF conversion

For notified classes of registered persons, Rule 48(4) requires the invoice to be prepared with Form GST INV-01 particulars and information uploaded to the common GST portal to obtain an Invoice Reference Number (IRN). Under Rule 48(5), an invoice issued by a person subject to sub-rule (4) in another manner is not treated as an invoice. Rule 46 includes an IRN-embedded QR-code provision for invoices issued through that process. Read the applicable text in the CGST Rules and CGST Act.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

DocRaptor’s QR-code tutorial explains that QR codes can be included as HTML images, but DocRaptor does not generate the QR code itself. If e-invoicing applies, use the QR image or data returned by the applicable e-invoice process; do not invent an IRN or substitute a decorative code.

Best Value
Sale
Rongta POS Printer, 80mm USB Thermal Receipt Printer,Black | Restaurant Kitchen Printer with Auto Cutter Support Cash Drawer,USB Serial Ethernet Interface for Windows/Mac/Linux (RP326)
  • 【Fast Printing & Auto Cutter】The pos printer high efficiency with auto cutter and printing speed--250mm/sec. Easy for paper installation, easy maintenance, easy to use.Three Interface ports:USB+ LAN + SERIAL PORT.DO NOT-Wifi-Bluetooth.
  • 【Wall Hanging Design】 Kitchen printer with two hanging holes on the bottom support wall mount hanging. Easy to use, save the place. With auto cutter and compatible with several operating systems. Print width:79.5±0.5mm; Paper Width:3 1/8" (80mm).
  • 【Wide Compatibility&Reasonable Design】Desktop or wall-mounted type for option, lets you use every space more rationally. The humanized auto-cutter, the receipt will not fall to the ground after printing. One-button open cover and large paper warehouse design, easy to use & maintain. Work with MUNBYN 3 1/8 x 203ft thermal paper,MFLABEL thermal receipt paper.
  • 【Most Cost-effective】Support cash drawer driving, compatible ESC/POS print commands.Do not need ribbon/ink cartridge, low operating cost. The printer has the function of overheating protection, long service life. Printing characters with high speed, reliable performance.It is an ideal choice for receipt printing in large shopping malls, supermarkets, retail, hotels, canteens, restaurants, etc.
  • 【Buy with Confidence】 Rongta is a brand that is dedicated to offering the highest quality products and good shopping experience for the customer. Warm tips:The receipt printer is not compatible with Ubereats/Grubhub/Doordash/Lightspeed/Postmates/Square/Chromebook/Clover.

The E-Invoice Registration Portal describes direct API integration as suitable for taxpayers with internal IT teams, large transaction volumes and a need for real-time generation. A dated IRIS IRP release note states that taxpayers with aggregate annual turnover (AATO) of ₹10 crore or more must report covered invoices, credit notes and debit notes within 30 days from invoice date, effective 1 April 2025. This is a scoped portal notice, not a complete statement of current e-invoice applicability. Check current official notifications and confirm whether the requirements apply to your taxpayer and transaction at the E-Invoice Registration Portal.

Check and troubleshoot the generated document

  • The response is an error, not a PDF: Inspect the HTTP status and response body before saving output as a PDF. Confirm the endpoint, JSON request, authentication and required document input against the API reference.
  • Styles or images are missing: Check whether external assets are reachable by the render service and whether relative asset URLs have a valid base URL. Consider embedding CSS or other suitable assets.
  • The page looks like a screen layout or has the wrong paper size: Review print media behavior and set the intended page size and margins explicitly. DocRaptor defaults to US Letter, and print media rules are applied by default.
  • A table row or block splits unexpectedly: Use page-break properties as suggestions, then inspect the rendered output. A block taller than one page cannot be kept intact by a break-avoidance rule.
  • The PDF has a watermark: Test mode creates watermarked PDFs. Generate the final document using the appropriate non-test configuration.
  • The document is missing an IRN or QR code: PDF rendering does not report invoice data to the IRP or create its QR code. Complete the applicable reporting workflow and render the returned information.
  • You need conversion diagnostics: Inspect the response headers; DocRaptor includes X-DocRaptor-Num-Pages, which can help diagnose the rendered document.

Or skip the browser setup

If the job is taking a website screenshot rather than rendering your own GST invoice HTML, ScreenshotNeo is a website screenshot API and MCP server. Its one-call API can return a screenshot or PDF; it is not a GST invoicing or IRN service. Example cURL request (replace the target URL with the page you need):

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation. It accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each step can be turned off. Bot checks, blank pages, timeouts, failed loads and cache hits are not billed, and responses identify the page verdict and billing status in headers. An MCP server gives AI agents tools to take screenshots, get page information and capture PDFs. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 shots.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Sign up for ScreenshotNeo’s free plan: 1,000 screenshots a month, no card required.

Frequently Asked Questions

Does DocRaptor calculate GST or validate a GST invoice?

No. Your application must supply accurate invoice and tax data and check the particulars applicable to the transaction; DocRaptor renders the supplied content.

Does generating a PDF with DocRaptor obtain an IRN?

No. Where e-invoicing applies, reporting and IRN acquisition are a separate GST portal or IRP step.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.