Formatwerk
bagit package
Create: 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 absolute paths, no ".." or empty segments, no duplicates) and CR, LF and % are percent-encoded in manifests as RFC 8493 2.1.3 requires. The ZIP has one top-level directory named after the bag and fixed timestamps (the bagging date), so the same input gives the.
POST https://format.halowerk.com/v1/bagit-packageInputs
| Field | Type | Required | Description |
|---|---|---|---|
| mode | string | Yes | |
| bag_name | string | No | Name of the bag directory (create). |
| files | array | No | Payload files (create). |
| bag_info | object | No | bag-info.txt metadata, e.g. Source-Organization, Contact-Name, External-Identifier. |
| algorithms | array | No | |
| bagging_date | string | No | Bagging-Date (default today, UTC). |
| zip_base64 | string | No | Bag as ZIP (validate). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"mode"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"create",
"validate"
]
},
"bag_name": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$",
"description": "Name of the bag directory (create)."
},
"files": {
"type": "array",
"minItems": 1,
"maxItems": 2000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "Relative path below data/."
},
"content_base64": {
"type": "string",
"maxLength": 30000000
},
"content_text": {
"type": "string",
"maxLength": 10000000
}
}
},
"description": "Payload files (create)."
},
"bag_info": {
"type": "object",
"maxProperties": 50,
"additionalProperties": {
"type": "string",
"maxLength": 2000
},
"description": "bag-info.txt metadata, e.g. Source-Organization, Contact-Name, External-Identifier."
},
"algorithms": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"sha512",
"sha256",
"sha1",
"md5"
]
},
"default": [
"sha256"
]
},
"bagging_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Bagging-Date (default today, UTC)."
},
"zip_base64": {
"type": "string",
"maxLength": 40000000,
"description": "Bag as ZIP (validate)."
}
}
}Published input example
{
"mode": "create",
"bag_name": "invoices-2026",
"bag_info": {
"Source-Organization": "Lagertechnik Nord GmbH"
},
"files": [
{
"path": "hello.txt",
"content_text": "hello world"
}
]
}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.005 USDC
bates number
POSThttps://format.halowerk.com/v1/bates-numberStamps every page of the documents, in order, with a Bates label such as ACME000001 (pdf-lib, Helvetica) at a corner or edge of the visible page (CropBox; rotated pages get an upright label), optionally on a white box and with a legend such