{
"count": 1,
"items": [
{
"invoiceNumber": "R-2026-1187",
"documentType": "Invoice",
"typeCode": "380",
"standard": "XRechnung",
"syntax": "UBL 2.1",
"issueDate": "2026-11-03",
"dueDate": "2026-11-17",
"currency": "EUR",
"buyerReference": "04011000-1234512345-06",
"orderReference": "PO-77812",
"precedingInvoice": null,
"seller": {
"name": "Müller & Söhne Beratung GmbH",
"street": "Domstraße 12",
"postcode": "50667",
"city": "Köln",
"country": "DE",
"vatId": "DE123456789",
"endpoint": "EM:[email protected]",
"legal": "HRB 12345 Köln"
},
"buyer": {
"name": "Stadtverwaltung Musterstadt",
"street": "Rathausplatz 2",
"postcode": "04109",
"city": "Leipzig",
"country": "DE",
"vatId": null,
"endpoint": "0204:04011000-1234512345-06",
"legal": null
},
"totals": {
"lines": 839.8,
"allowances": null,
"charges": null,
"net": 839.8,
"vat": 149.99,
"gross": 989.79,
"prepaid": 100,
"payable": 889.79
},
"vatBreakdown": [
{
"category": "S",
"percent": 19,
"taxableAmount": 760,
"taxAmount": 144.4
},
{
"category": "S",
"percent": 7,
"taxableAmount": 79.8,
"taxAmount": 5.59
}
],
"lineCount": 2,
"iban": "DE02120300000000202051",
"paymentReference": "R-2026-1187",
"checks": [
{
"check": "Mandatory invoice fields present",
"ok": true,
"detail": "all present"
},
{
"check": "Dates are valid calendar dates",
"ok": true,
"detail": "valid"
},
{
"check": "Currency code is valid ISO 4217",
"ok": true,
"detail": "EUR"
},
{
"check": "Document type code is valid UNTDID 1001",
"ok": true,
"detail": "380 (Invoice)"
},
{
"check": "Line amounts match quantity x price",
"ok": true,
"detail": "2 line(s) verified"
},
{
"check": "Line amounts add up to the line total",
"ok": true,
"detail": "lines 839.80 vs total 839.80"
},
{
"check": "VAT breakdown adds up to the VAT total",
"ok": true,
"detail": "breakdown 149.99 vs total 149.99"
},
{
"check": "VAT 19% is calculated correctly",
"ok": true,
"detail": "760.00 x 19% = 144.40, invoice says 144.40"
},
{
"check": "VAT 7% is calculated correctly",
"ok": true,
"detail": "79.80 x 7% = 5.59, invoice says 5.59"
},
{
"check": "Net + VAT = gross",
"ok": true,
"detail": "839.80 + 149.99 vs 989.79"
},
{
"check": "Amount due is correct",
"ok": true,
"detail": "gross 989.79 - prepaid 100.00 vs due 889.79"
},
{
"check": "Payee IBAN check digits",
"ok": true,
"detail": "valid"
},
{
"check": "Leitweg-ID check digit",
"ok": true,
"detail": "valid"
}
],
"allChecksOk": true,
"pdfLanguage": "de",
"pages": 1,
"fileName": "2026-11-03_R-2026-1187_Muller-Sohne-Beratung-GmbH.pdf",
"mime": "application/pdf",
"pdfBase64": "JVBERi0xLjMKJenr8b8KMSAwIG9iago8PAovQ291bnQgMQovS2lkcyBbMyAwIFJdCi9NZWRpYUJveCBbMCAwIDU5NS4yOCA4NDEuODldCi9UeXBlIC9QYWdlcwo+PgplbmRvYmoKMiAwIG9iago8PAovTGFuZyAoZGUpCi9PcGVuQWN0aW9u",
"note": "Readable copy; the XML stays the legal original. Arithmetic checks only, not a KoSIT / Peppol schematron validation."
}
]
}
curl --location --request GET 'https://zylalabs.com/api/16021/ubl+invoice+to+pdf+api/45343/ubl+xrechnung+peppol+invoice+to+pdf+api?xml=
urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0
urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
R-2026-1187 2026-11-03 2026-11-17 380
Vielen Dank für Ihren Auftrag. Grüße aus Köln – Größe ÄÖÜ ß.
EUR 04011000-1234512345-06
2026-10-01 2026-10-31
PO-77812
[email protected]
Müller & Söhne Beratung GmbH
Domstraße 12 Köln 50667 DE
DE123456789 VAT
Müller & Söhne Beratung GmbH HRB 12345 Köln
Anna Beispiel +49 221 000000 [email protected]
04011000-1234512345-06
Stadtverwaltung Musterstadt
Rathausplatz 2 Leipzig 04109 DE
Stadtverwaltung Musterstadt
58 R-2026-1187
DE02120300000000202051 Müller & Söhne Beratung GmbH BYLADEM1001
Zahlbar innerhalb von 14 Tagen ohne Abzug.
149.99
760.00 144.40 S 19 VAT
79.80 5.59 S 7 VAT
839.80 839.80
989.79 100.00 889.79
1 8 760.00 Projekt Umstellung E-Rechnung Beratung Oktober 2026 S 19 VAT 95.00 2 2 79.80 Fachbuch E-Rechnung in der Praxis S 7 VAT 39.90
&lang=auto' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 UBL发票转PDF API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
将 UBL 2.1、XRechnung、Peppol BIS 3.0 和 ZUGFeRD Factur-X 电子发票渲染为可打印的 A4 PDF,语言可选英语、德语、法语或荷兰语,并解析总额、增值税明细和算术校验结果
将 UBL 2.1、XRechnung、Peppol BIS 3.0 和 ZUGFeRD / Factur-X 电子发票转换为可打印的 A4 PDF,支持 EN/DE/FR/NL,包含解析后的总额、增值税明细和算术校验
每次请求最多返回 100 条结果,具体取决于端点
每次请求都会从公开来源收集实时数据。相同的请求可能会从缓存中提供,缓存时间最长为 6 小时
列表参数接受多个以逗号分隔的值,例如:london,paris】【。
该端点接受以下查询参数,均为可选:xml、fileContent、fileName、lang Xml:电子发票的 XML 文本(除非提供了 fileContent,否则为必填) fileContent:或者,经过 base64 编码的 .xml / ZUGFeRD.pdf 文件(最大 10 MB) fileName:可选文件名,例如 R-2026-1187.xml lang:PDF 标签的语言;auto = 根据卖方所在国家/地区自动确定(DE/AT/CH -> de,FR -> fr,NL/BE -> nl,否则为 en)