Delivery note template

A delivery note with order number, delivery location, line items with product codes and remarks, totals, and a detachable acknowledgment of receipt.

  • A4 portrait
  • 27 merge fields
  • Issued as PDF
  • Company names, people, addresses and amounts in the sample are fictional.
  • The sample layout is in Japanese. You can change any text in the template editor.
Sample of the delivery note template (first page of a PDF issued with DocRelay)

Use cases

  • Documents enclosed with shipments
  • Bulk issuance from inventory or shipping systems
  • Confirming delivery with a receipt stamp

Merge fields

The data fields you send to the API. Fields inside an array are shown as array.field.

FieldDescription
numberDelivery note number
delivered_atDelivery date (YYYY-MM-DD)
customer.nameCustomer company name
customer.postal_codeCustomer postal code
customer.addressCustomer address
customer.personCustomer contact name
order_numberOrder number
placeDelivery location
totalTotal including tax
issuer.nameIssuer company name
issuer.postal_codeIssuer postal code
issuer.addressIssuer address
issuer.telIssuer phone number
issuer.contactContact person
itemsLine items (array)
items.noLine number
items.codeProduct code
items.nameItem name
items.qtyQuantity
items.unitUnit
items.priceUnit price
items.amountAmount
items.remarkLine remark
subtotalSubtotal
tax_rateTax rate (e.g. 10%)
taxConsumption tax
noteNotes

How to use it

  1. In the dashboard, choose Create template, select "Start from a template" and pick "Delivery note". The layout and sample data are copied into your project.
  2. Edit the company name, logo and field positions in the template editor to match your own format.
  3. Send the template name and data to POST /v1/renders to issue a PDF.

With a test API key (sk_test_) you can issue documents from the draft. Publish a version before issuing with a production API key. From an AI assistant, specify the same template in the from of the MCP create_template tool.

Create and issue via the API

Create a template by setting from to the template ID (delivery-note) in POST /v1/templates, then send the template name and data to POST /v1/renders.

1. Create a template from the ready-made one
curl https://api.docrelay.jp/v1/templates \
  -H "Authorization: Bearer $DOCRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Delivery note", "from": "delivery-note" }'
2. Send data and issue a PDF
curl https://api.docrelay.jp/v1/renders \
  -H "Authorization: Bearer $DOCRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d @delivery-note.json \
  -o delivery-note.pdf
delivery-note.json (sample data; arrays show the first item and long text is shortened)
{
  "template": "Delivery note",
  "format": "pdf",
  "data": {
    "number": "DN-2026-1102",
    "delivered_at": "2026-11-02",
    "customer": {
      "name": "株式会社見本製作所",
      "postal_code": "530-0000",
      "address": "大阪府大阪市北区例示町4-5-6 見本ビル3F",
      "person": "総務部 高橋 美咲"
    },
    "order_number": "PO-2026-0931",
    "place": "貴社 本社 3 階 総務部",
    "issuer": {
      "name": "サンプル商事株式会社",
      "postal_code": "100-0000",
      "address": "東京都千代田区見本町1-2-3 サンプルビル5F",
      "tel": "03-0000-0000",
      "contact": "物流センター 田中 健"
    },
    "items": [
      {
        "no": 1,
        "code": "OF-CH-1020",
        "name": "オフィスチェア(ハイバック・肘付)",
        "qty": 10,
        "unit": "脚",
        "price": 32000,
        "amount": 320000,
        "remark": "組立済"
      }
    ],
    "subtotal": 724000,
    "tax_rate": "10%",
    "tax": 72400,
    "total": 796400,
    "note": "梱包材は弊社にて回収いたしました。…"
  }
}

API reference

Early access is open

We are preparing for launch. Pre-register and we will notify you when the service becomes available.