Formatwerk
pdf stamp codes
Generates each code with bwip-js (BWIPP; check digits and data rules enforced, invalid data rejected with the encoder message) as a 600 dpi image with white quiet zone and places it with pdf-lib relative to a corner of the visible page (CropBox; /Rotate honoured so the code appears upright). Text may contain {page}, {pages} and {file}. 2D codes keep their aspect ratio, linear codes are sized to width x height. Up to 10 definitions per call.
POST https://format.halowerk.com/v1/pdf-stamp-codesInputs
| Field | Type | Required | Description |
|---|---|---|---|
| pdf_base64 | string | Yes | |
| file_label | string | No | Value for the {file} placeholder. |
| stamps | array | Yes |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"pdf_base64",
"stamps"
],
"properties": {
"pdf_base64": {
"type": "string",
"maxLength": 28000000
},
"file_label": {
"type": "string",
"maxLength": 80,
"description": "Value for the {file} placeholder."
},
"stamps": {
"type": "array",
"minItems": 1,
"maxItems": 10,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"symbology",
"text"
],
"properties": {
"symbology": {
"type": "string",
"enum": [
"qrcode",
"datamatrix",
"azteccode",
"pdf417",
"code128",
"code39",
"ean13",
"ean8",
"gs1-128",
"interleaved2of5"
]
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Content; placeholders {page}, {pages}, {file}."
},
"pages": {
"type": "string",
"pattern": "^(all|first|last|\\d+(-\\d+)?(,\\d+(-\\d+)?)*)$",
"default": "all"
},
"anchor": {
"type": "string",
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
],
"default": "top-right"
},
"x_mm": {
"type": "number",
"minimum": 0,
"maximum": 1000,
"default": 10
},
"y_mm": {
"type": "number",
"minimum": 0,
"maximum": 1000,
"default": 10
},
"width_mm": {
"type": "number",
"minimum": 5,
"maximum": 200,
"default": 20
},
"height_mm": {
"type": "number",
"minimum": 3,
"maximum": 100,
"default": 12,
"description": "Linear codes only."
},
"human_readable": {
"type": "boolean",
"default": true,
"description": "Linear codes: print the text below the bars."
}
}
}
}
}
}Published input example
{
"pdf_base64": "JVBERi0xLjcKJYGBgYEKCjUgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL1R5cGUgL09ialN0bQovTiA0Ci9GaXJzdCAyMAovTGVuZ3RoIDI1Nwo+PgpzdHJlYW0KeJzVUk1LxDAQvedXzFFPmaTZpCuloP24iLAsnpQ9hG1YCrKRtAX99840q+JBPBt45OO9SWbyRgGCBmOgAFeCgU2hoaqEfHx/DSB3/hQmIe/HYYJnYhH2cBCyict5BiXqWnxrGz/7l3gSOQgUiz8VuxSH5RgSVH3X94gOEa0hWETd0twQtgRNe+J0SWuCMxfQmSsQi1vi+gzrcgzzq3Zzie9oJq1lTZu1psz7r3f5rS7fof/KZ1sL+RCH1s8BrtobjdoqhQrX8XRN35GCn+P/LW7Nf4znXyv84TPbyyanwD2wuiz3YYpLOpLtpKv5v8Iw+rv4Rl2D3GGYcWDyAxQmjZoKZW5kc3RyZWFtCmVuZG9iagoKNiAwIG9iago8PAovU2l6ZSA3Ci9Sb290IDIgMCBSCi9JbmZvIDMgMCBSCi9GaWx0ZXIgL0ZsYXRlRGVjb2RlCi9UeXBlIC9YUmVmCi9MZW5ndGggMzQKL1cgWyAxIDIgMiBdCi9JbmRleCBbIDAgNyBdCj4+CnN0cmVhbQp4nBXEMQ4AIAgEsB7G3d/6fAgdiu5y2bLVduKRfAZDgAKrCmVuZHN0cmVhbQplbmRvYmoKCnN0YXJ0eHJlZgozNzUKJSVFT0Y=",
"stamps": [
{
"symbology": "qrcode",
"text": "INV-4711 {page}/{pages}",
"anchor": "top-right",
"x_mm": 10,
"y_mm": 10,
"width_mm": 20
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Formatwerk0.004 USDC
accounting csv unify
POSThttps://format.halowerk.com/v1/accounting-csv-unifyDATEV booking batch files (EXTF/DTVF, category 21) are read by their documented field positions: amount and S/H become a signed amount relative to the account, Belegdatum TTMM is resolved within the fiscal year from the header. Other export
- Formatwerk0.005 USDC
avv checklist
POSThttps://format.halowerk.com/v1/avv-checklistChecklist after Art. 28 GDPR (Regulation (EU) 2016/679 Art. 28 (GDPR), https://eur-lex.europa.eu/eli/reg/2016/679/oj, German and English text retrieved from the EU Publications Office 2026-11-01): Art. 28(3) sentence 1 (subject-matter, dura
- Formatwerk0.004 USDC
bagit package
POSThttps://format.halowerk.com/v1/bagit-packageCreate: files go to data/, manifest-<alg>.txt and tagmanifest-<alg>.txt are written for SHA-256 (default), SHA-512 or legacy SHA-1/MD5, bag-info.txt gets your metadata plus Bagging-Date, Bag-Size and Payload-Oxum; paths are checked (no abso