Standard B2B Commercial Invoice PDF Template — Multi-Engine Code Generator

A production B2B commercial tax invoice featuring instant QR Pay-Now routing, invoice/due-date/Currency KPI cards, side-by-side supplier and customer tax cards, itemized service ledger, and ACH/SWIFT wire instructions.

Customize Visually in Studio | Export Full Source Code (22 Libraries) | Open Sample PDF

Standard B2B Commercial Invoice PDF template preview

Generate Standard B2B Commercial Invoice Programmatically (Code & JSON Schema)

Bind dynamic JSON data and compile this layout into standalone production code for @react-pdf/renderer, pdf-lib, Python ReportLab, PHP Dompdf, C# QuestPDF, and 17 more engines.

React / TypeScript (@react-pdf/renderer) Excerpt

import React from 'react';
import { Document, Page, View, Text, Image, Svg, Rect, Path, StyleSheet, Font } from '@react-pdf/renderer';

// This code is generated using codepdf.dev

Font.registerHyphenationCallback((word) => [word]);

// Document-wide defaults configured in the editor.
export const DOCUMENT_DEFAULTS = {
  "fontFamily": "Helvetica",
  "fontSize": 12,
  "textColor": "#000000",
  "locale": "en-US",
  "currency": "USD",
  "currencyDisplay": "symbol",
  "timeZone": "GMT",
  "dateFormat": "DD/MM/YYYY",
  "timeFormat": "HH:mm",
  "showPageNumbers": false,
  "pageNumberFormat": "{{page}} / {{total}}",
  "pageNumberPosition": "center",
  "compress": true
};

// … (445 more lines in full generated file)

Python (ReportLab) Excerpt

from reportlab.lib.colors import HexColor
from reportlab.pdfgen import canvas
from reportlab.pdfbase import pdfmetrics

# This code is generated using codepdf.dev

class _NumberedCanvas(canvas.Canvas):
    _DOC_KEYS = frozenset({
        "_page_states", "_page_stamps", "_active_page", "_num_pages",
        "AcroForm", "_doc", "_filename", "_destinations", "_outlines",
        "_annotationCount", "_extgstate", "_namedCB", "_onPage",
    })

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self._page_states = {}
        self._page_stamps = {}
        self._active_page = 1
        self._num_pages = 1

    def _save_active_state(self):
        self._page_states[self._active_page] = {
# … (545 more lines in full generated file)

Sample Dynamic JSON Payload (sample.json)

{
  "vendorCompany": "MERIDIAN CLOUD INFRASTRUCTURE LLC",
  "vendorAddress": "100 Montgomery St, Suite 2400, San Francisco, CA 94104 · EIN: 84-2938192",
  "invoiceNumber": "INV-2026-8842",
  "invoiceDate": "12 Sep 2026",
  "paymentDueDate": "12 Oct 2026 (Net 30)",
  "clientCompany": "Apex Global Enterprises Inc.",
  "clientDetails": "Attn: Sarah Jenkins, VP Technology · 452 Fifth Ave, 14th Fl, New York, NY 10018 · EIN: 13-9021841",
  "subtotalAmount": "$24,500.00",
  "taxAmount": "$2,174.38 (8.875%)",
  "grandTotal": "$26,674.38",
  "grandTotalNum": 26674.38,
  "wireBank": "JPMorgan Chase Commercial · ABA Routing: 021000021 · Account: 88492019241 · SWIFT: CHASUS33",
  "paymentTerms": "Net 30 Days from invoice issue date. Quote INV-2026-8842 on all ACH/Fedwire remittances.",
  "paymentMethods": [
    "Fedwire ACH",
    "SWIFT Wire",
    "Corporate Virtual Card",
    "Stripe B2B"
  ],
// … (31 more lines in full generated file)

Template Specifications

Category
Finance
Page Size
A4 (portrait)
Default Engine
react-pdf-renderer
License
Free / MIT Commercial Code Ownership

Key Features

  • Commercial invoice banner with scannable QR Pay-Now code and tax registration identifiers
  • Four-tile Invoice Number, Issue Date, Net-30 Due Date, and Total Due Currency KPI strip
  • Itemized B2B commercial line-item ledger with SKU codes, quantities, rates, and tax summary
  • Side-by-side JPMorgan ACH/SWIFT wire instructions and accepted B2B payment channel pills

Standard B2B Commercial Invoice Template FAQs

Where can I use the Standard B2B Commercial Invoice template?

Use it for enterprise B2B billing, wholesale shipments, consulting retainers, and Net-30 accounts receivable where buyers need formal tax IDs and wire remittance instructions.

What B2B billing elements are built into this layout?

It includes a QR Pay-Now code, invoice and due-date KPI cards, supplier and buyer tax details, an itemized SKU ledger with tax summary, ACH/SWIFT wire details, and accepted payment pills.

When should I choose this over the Professional Invoice template?

Pick Standard B2B for corporate AP teams requiring QR payment routing, tax IDs, and international SWIFT/ACH details; use Professional Invoice for simpler small-business billing.

Related Finance PDF Templates