Free tools Windows power users keep installed

One-click scans. No signup required.

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

To save an Indian GST invoice webpage as a PDF with PDFShift, send its URL as the source in a POST request to https://api.pdfshift.io/v3/convert/pdf, authenticate with your API key in the X-API-Key header, then write the returned PDF bytes to a file. This captures the page as rendered; PDFShift does not verify the invoice or determine whether it meets GST requirements.

Convert an invoice URL to a PDF with Node.js

PDFShift’s documented Node.js workflow returns the PDF as binary data. The example below saves that response directly to invoice.pdf. Replace the URL and API key with values for a page you are authorized to access.

  1. Keep your PDFShift API key in an environment variable rather than hard-coding it into a script or sharing it in a repository.

  2. Send a POST request to the conversion endpoint with the invoice URL as source and the key in X-API-Key.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    #1 Best Overall
    Sale
    Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
    • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
    • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
    • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
    • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
    • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0
  3. Write the response bytes to a local PDF file and open it to check that the invoice content rendered as expected.

PDFShift’s Node.js guide documents this URL-to-PDF request pattern.

const fs = require('node:fs/promises');

async function convertInvoice() {
  const apiKey = process.env.PDFSHIFT_API_KEY;
  const invoiceUrl = 'https://example.com/invoice';

  if (!apiKey) {
    throw new Error('Set the PDFSHIFT_API_KEY environment variable first.');
  }

  const response = await fetch('https://api.pdfshift.io/v3/convert/pdf', {
    method: 'POST',
    headers: {
      'X-API-Key': apiKey,
      'Content-Type': 'application/json',
      'Accept': 'application/pdf'
    },
    body: JSON.stringify({ source: invoiceUrl })
  });

  if (!response.ok) {
    throw new Error(`PDFShift returned HTTP ${response.status}: ${await response.text()}`);
  }

  const pdf = Buffer.from(await response.arrayBuffer());
  await fs.writeFile('invoice.pdf', pdf);
}

convertInvoice().catch(error => {
  console.error(error);
  process.exitCode = 1;
});

The key details are the endpoint, source, and authentication header. PDFShift’s Help Center describes the basic conversion as loading the source, generating a PDF, and returning it as binary data: How the API works.

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)

Choose a response format for your workflow

Use the direct binary response when your code can save or pass along file bytes immediately. If a later automation step needs a URL to download, PDFShift’s Make guide describes including a filename to receive JSON with a temporary PDF URL, then using an HTTP download step to fetch it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Pattern What you receive When it fits
Direct conversion response PDF bytes Write the file locally or hand bytes directly to the next part of your application.
Filename-based response JSON containing a temporary download URL An automation needs a URL for a subsequent HTTP download or routing step.

See the PDFShift Make guide for its URL-or-HTML input and filename/download flow.

Convert a private invoice page

A URL that works in your own browser may not be accessible to a conversion request. If the invoice is behind a login, PDFShift’s Make guide lists authentication, cookies, and custom HTTP headers as options for private pages. Provide only the session or authentication details needed to access your own invoice, and keep secrets out of source code and logs.

Rank #3
Sale
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
  • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
  • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
  • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
  • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
  • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer

These options do not guarantee that every portal’s login flow will work. A portal may rely on interactive steps or session behavior that the conversion request cannot reproduce. After conversion, inspect the PDF for missing invoice details rather than assuming that a successful response means the page was fully accessible.

Check authentication and the resulting PDF

PDFShift’s Help Center says API-key authentication moved to the X-API-Key header on 2025-05-06. It also notes that a missing key can leave a request unauthenticated and result in a watermark. Use the header shown above and consult PDFShift’s API-key authentication notice if your request behaves differently.

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

Open the downloaded file and check that it is a readable PDF containing the expected invoice page. Conversion is a rendering step: it does not establish that an invoice is authentic, GST-compliant, or suitable for any statutory retention purpose.

Rank #4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
  • IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • IRIScan Express mobile scanner is powered via an included micro USB 2. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan. USB cable provided. AC Adapter not provided and not needed.
  • IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
  • IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
  • Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common problems

Or skip the browser setup

If your goal is to capture a webpage as an image or PDF rather than use PDFShift’s conversion workflow, ScreenshotNeo provides a one-request screenshot API. It is not a substitute for validating an invoice or its legal status.

cURL example, using a public page you are authorized to capture:

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 for request options. ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000.

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

Sign up for ScreenshotNeo’s free plan.

Frequently Asked Questions

Does PDFShift check whether an Indian GST invoice is valid?

No. It converts a webpage into a PDF; it does not validate invoice authenticity or GST compliance.

Can I use PDFShift for an invoice page that requires login?

PDFShift documents authentication, cookies, and custom headers as options, but compatibility depends on how the invoice portal handles access.

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00

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.