体験デモ
請求書の PDF 発行の体験デモ
宛先・品目・数量・単価を
発行しました。
この発行を API で行う場合
体験デモと
curl https://api.docrelay.jp/v1/renders \
-H "Authorization: Bearer $DOCRELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"template": "請求書",
"data": {
"customer": { "name": "株式会社見本製作所" },
"subject": "ご利用料金",
"items": [
{ "name": "クラウドサービス利用料", "qty": 1, "price": 50000, "tax_rate": "10%", "amount": 50000 }
]
}
}' \
-o invoice.pdf