Formatwerk
docx template fill
Joins the text of each paragraph (body, headers, footers, footnotes, endnotes) from its w:t pieces, finds {{path.to.value}} placeholders even when Word split them across differently formatted runs, writes the value into the first piece (keeping its formatting) and removes the rest; all other XML stays byte-identical. A table row whose placeholders start with an array key (e.g. {{items.name}}) is repeated once per array element; an empty array removes the row. Values are XML-escaped, newlines.
POST https://format.halowerk.com/v1/docx-template-fillInputs
| Field | Type | Required | Description |
|---|---|---|---|
| content_base64 | string | No | The DOCX file as base64 (a data: prefix and whitespace are tolerated); at most 10 MB decoded. |
| url | string | No | Public http(s) URL of the DOCX file (at most 10 MB). Private, local and reserved addresses are refused. |
| data | object | Yes | Values for the placeholders; nested objects via dot paths, arrays repeat table rows. |
| missing | string | No | What to do with placeholders without a value: keep them, remove them, or fail with 422. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"data"
],
"properties": {
"content_base64": {
"type": "string",
"minLength": 8,
"maxLength": 13981016,
"description": "The DOCX file as base64 (a data: prefix and whitespace are tolerated); at most 10 MB decoded."
},
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Public http(s) URL of the DOCX file (at most 10 MB). Private, local and reserved addresses are refused."
},
"data": {
"type": "object",
"description": "Values for the placeholders; nested objects via dot paths, arrays repeat table rows."
},
"missing": {
"type": "string",
"enum": [
"keep",
"empty",
"error"
],
"default": "keep",
"description": "What to do with placeholders without a value: keep them, remove them, or fail with 422."
}
}
}Published input example
{
"data": {
"customer": {
"name": "Warehouse purchasing department"
},
"items": [
{
"name": "Storage crate",
"qty": 2
}
]
},
"content_base64": "UEsDBBQAAAAIAAAAYl0Al+qM1AAAAPkBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbK2Ru24CMRBFf2XlFrGDUlAgliZJm1DkB0be2V0rtsfyDIT8fWxeBYKkSWnfcx/SrD++E0lzCD5KZybVtAIQO1FAaTlRLMrAOaCWZx4hof3EkeBpsViC5agUda41w2zWLzTgzmvzeijf4jh2JpMX0zyfwNrVGUz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8d+fFtF9ihjEeuVQpsOg6aYrS+dq16KIon5dD6rFqk8j2YYerdXNY8t60MLUEqD9gusxdCMzLvM1Ut1AUzF6m2EhhrAs0oBB99EBQb/ASUGc5n0sXim7fuWTcYiUs4HnUfJTji3KOj0ymH1xQgXivHO1i9beCxyIsi/19cBzfFs0Ff01aQZdzBmmVWTLNfvJ+ptQfiAZKVxnqIdCAPY077cU0wOMRbi1vdlTd/qP4gaEdMXtM15HbQSFrWfL4+h69+P7b6AlBLAQIUAxQAAAAIAAAAYl0Al+qM1AAAAPkBAAATAAAAAAAAAAAAAACAAQAAAABbQ29udGVudF9UeXBlc10ueG1sUEsBAhQDFAAAAAgAAABiXWF7L0OJAAAA8gAAAAsAAAAAAAAAAAAAAIABBQEAAF9yZWxzLy5yZWxzUEsBAhQDFAAAAAgAAABiXc6EyfmDAAAA6wAAABwAAAAAAAAAAAAAAIABtwEAAHdvcmQvX3JlbHMvZG9jdW1lbnQueG1sLnJlbHNQSwECFAMUAAAACAAAAGJdLuq1gLcAAAAGAQAAEQAAAAAAAAAAAAAAgAF0AgAAd29yZC9jb21tZW50cy54bWxQSwECFAMUAAAACAAAAGJdWb4kFQ0BAADlAQAAEQAAAAAAAAAAAAAAgAFaAwAAd29yZC9kb2N1bWVudC54bWxQSwUGAAAAAAUABQBCAQAAlgQAAAAA"
}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