The document collection / Logistics

Bill of Lading Template

Lay out shipment details with vessel, ports, shipper, consignee, cargo, package counts, and weight. An editable freight-document format for your approved shipping process.

Paper format
A4 · Landscape
Included
HTML layout + sample JSON
Customization
Content, colors, typography
Rendering
Handlebars + Chromium

Preview the sample document, then make it yours. Change the layout in your editor or clone it into your RelayPDF dashboard to create an editable draft.

Open full-size preview
RELAYPDF / DOCUMENT COLLECTION
A4 HTML → PDF
Make it work for you

From a sample to
your next document.

This layout uses standard HTML and CSS with Handlebars fields. The preview is rendered from the downloadable source and sample data shown below.

Use the sample as a starting point. Your application supplies dates, labels, and calculated amounts; the template handles their presentation.

  1. Personalize the design

    Update the organization name, typography, and CSS accent colors. Replace the sample wording with content appropriate to your business.

  2. Connect your data

    Keep the field structure in the sample JSON and replace its values. Repeating arrays create the document’s rows or sections.

  3. Preview, publish, generate

    Test with your longest content. Publish the draft, then generate PDFs using its templateId and fresh templateData.

What you can customize

FieldPurpose
bolNumberEditable document content. Replace the sample value with your own data.
issuedOnDate supplied by your application; ISO dates work with the template’s date formatter.
vesselEditable document content. Replace the sample value with your own data.
voyageEditable document content. Replace the sample value with your own data.
portOfLoadingEditable document content. Replace the sample value with your own data.
portOfDischargeEditable document content. Replace the sample value with your own data.
shipperStructured details for this section. Match the nested fields in the sample JSON.
consigneeStructured details for this section. Match the nested fields in the sample JSON.
cargoShipment item descriptions, package counts, and weights.

Start with real sample data

Download sample JSON ↓
Inspect sample JSON
templateData / JSON
{
  "bolNumber": "BOL-9901842",
  "issuedOn": "2026-08-21",
  "vessel": "MV Hudson Star",
  "voyage": "HS-184",
  "portOfLoading": "Newark",
  "portOfDischarge": "Rotterdam",
  "shipper": {
    "name": "Westmere Exports",
    "address": "19 Crosby Street, New York, NY 10013"
  },
  "consignee": {
    "name": "Northline Europe BV",
    "address": "Wijnhaven 88, 3011 WP Rotterdam"
  },
  "cargo": [
    {
      "marks": "WES-01",
      "description": "Crated ceramics",
      "packages": 12,
      "weightKg": 1840
    },
    {
      "marks": "WES-02",
      "description": "Display plinths",
      "packages": 4,
      "weightKg": 620
    },
    {
      "marks": "WES-03",
      "description": "Printed catalogs",
      "packages": 9,
      "weightKg": 410
    }
  ]
}

Clone through the API

POST /v1/templates
curl https://api.relaypdf.com/v1/templates \
  -H "Authorization: Bearer $RELAYPDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Bill of Lading Template","galleryId":"bill-of-lading"}'

This creates an account-owned draft. Publish it before using its slug or UUID as templateId with templateData on POST /v1/pdf. Follow the complete template workflow →

Will the PDF match this preview?

The preview uses the same HTML and sample data included with this template. RelayPDF renders HTML using Chromium. Use the document’s intended A4 paper size and enable print backgrounds. Review page breaks when you add longer content or more rows.

Can I use my own branding and data?

Yes. Edit the HTML and CSS, replace the sample values, and keep the field names your template expects. Save your customized draft in the dashboard and publish a version when it is ready for your application.

Keep exploring.