PDF mapper
Mapper
Deterministic PDF conversion with fail-closed validation.
Field map
strict modeDocument type
Auto-detect
Supplier GLN
Required
Customer GLN
Required
Line totals
Strict
Scanned PDFs
Rejected
| Output field | PDF source | Validation |
|---|---|---|
| supplier_code_1 | EAN / GTIN | 13 digits |
| pack_size | Pack Size | > 0 |
| quantity | Quantity | > 0 |
| net | Net | qty x price |
| total | Total | net + tax |
Convert endpoint
POST /api/pdf/convert
Content-Type: multipart/form-data
file=@invoice.pdf
Digitally readable PDFs only. Unreadable, scanned, unknown or unbalanced documents return HTTP 422.