Payment notice template
A payment notice sent by the payer to a supplier, with payment date, method and period, accepted line items, totals by tax rate, deductions such as transfer fees, the net payment, and the destination bank account.
- 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.

Use cases
- Notifying suppliers of monthly payments
- Bulk issuance from purchasing or accounting systems
- Showing transfer fees and offsets clearly
Merge fields
The data fields you send to the API. Fields inside an array are shown as array.field.
| Field | Description |
|---|---|
number | Notice number |
issued_at | Notice date (YYYY-MM-DD) |
payee.name | Payee company name |
payee.code | Supplier code |
payment | Net payment amount |
paid_at | Payment date (YYYY-MM-DD) |
method | Payment method |
period.from | Period start (YYYY-MM-DD) |
period.to | Period end (YYYY-MM-DD) |
payer.name | Payer company name |
payer.postal_code | Payer postal code |
payer.address | Payer address |
payer.tel | Payer phone number |
payer.contact | Contact person |
bank.name | Bank name |
bank.branch | Branch |
bank.type | Account type |
bank.number | Account number |
bank.holder | Account holder |
items | Line items (array) |
items.date | Acceptance date |
items.slip | Slip number |
items.name | Item or description |
items.qty | Quantity |
items.price | Unit price excluding tax |
items.tax_rate | Tax rate |
items.amount | Amount excluding tax |
subtotal | Subtotal excluding tax |
tax | Consumption tax |
total | Total including tax |
deduction.fee | Transfer fee |
deduction.label | Other deduction label |
deduction.amount | Other deduction amount |
tax_breakdown.rate10.base | Amount subject to 10% (excluding tax) |
tax_breakdown.rate10.tax | Consumption tax at 10% |
tax_breakdown.rate8.base | Amount subject to 8% (excluding tax) |
tax_breakdown.rate8.tax | Consumption tax at 8% |
note | Notes |
How to use it
- In the dashboard, choose Create template, select "Start from a template" and pick "Payment notice". The layout and sample data are copied into your project.
- Edit the company name, logo and field positions in the template editor to match your own format.
- Send the template name and data to
POST /v1/rendersto 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 (payment-notice) in POST /v1/templates, then send the template name and data to POST /v1/renders.
curl https://api.docrelay.jp/v1/templates \
-H "Authorization: Bearer $DOCRELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "Payment notice", "from": "payment-notice" }'curl https://api.docrelay.jp/v1/renders \
-H "Authorization: Bearer $DOCRELAY_API_KEY" \
-H "Content-Type: application/json" \
-d @payment-notice.json \
-o payment-notice.pdf{
"template": "Payment notice",
"format": "pdf",
"data": {
"number": "PN-2026-1130-018",
"issued_at": "2026-11-20",
"payee": {
"name": "サンプル商事株式会社",
"code": "S-00418"
},
"payment": 285330,
"paid_at": "2026-11-30",
"method": "銀行振込",
"period": {
"from": "2026-10-01",
"to": "2026-10-31"
},
"payer": {
"name": "株式会社見本製作所",
"postal_code": "530-0000",
"address": "大阪府大阪市北区例示町4-5-6 見本ビル3F",
"tel": "06-0000-0000",
"contact": "経理部 伊藤 誠"
},
"bank": {
"name": "見本銀行",
"branch": "本店営業部",
"type": "普通",
"number": "1234567",
"holder": "サンプルシヨウジ(カ)"
},
"items": [
{
"date": "2026-10-06",
"slip": "DN-2026-1021",
"name": "六角ボルト M8×30 ステンレス",
"qty": 2000,
"price": 18,
"tax_rate": "10%",
"amount": 36000
}
],
"subtotal": 265500,
"tax": 25590,
"total": 291090,
"deduction": {
"fee": 660,
"label": "協力会費",
"amount": 5100
},
"tax_breakdown": {
"rate10": {
"base": 217500,
"tax": 21750
},
"rate8": {
"base": 48000,
"tax": 3840
}
},
"note": "差引お支払額は、合計から振込手数料と協力会費(10 月分)を差し引いた金額です。…"
}
}Early access is open
We are preparing for launch. Pre-register and we will notify you when the service becomes available.


