Skip to content
Packaging EPR

epr.de

Calculate German packaging kilograms by VerpackG or VerpackDG material type for one LUCID system operator and period. Returns an audit trail, a CSV for mapped weights and LUCID XML for complete reports. Charges $0.50 per period when a file is produced.

POSThttps://api.kanagu.dev/v1/epr/de
Price
$0.50 per report, on successful calls only
Without a key
10 free calls per IP per UTC day, shared by REST and MCP.
MCP tool
epr.de at https://api.kanagu.dev/mcp
curl https://api.kanagu.dev/v1/epr/de \
  -H "Content-Type: application/json" \
  -d '{"period":{"start":"2026-04-01","end":"2026-06-30"},"systemOperatorId":"DE6004919627351","reportTypeCode":"HMM1","bom":[{"sku":"tea","components":[{"material":"paperboard","gramsPerUnit":42.5,"rigidity":"rigid","recycledContentPct":60},{"material":"LDPE","gramsPerUnit":1.8,"rigidity":"flexible"}]}],"shipments":[{"sku":"tea","destination":"DE","quantity":85,"returns":2,"date":"2026-06-01"}]}'
curl https://api.kanagu.dev/v1/epr/de \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"period":{"start":"2026-04-01","end":"2026-06-30"},"systemOperatorId":"DE6004919627351","reportTypeCode":"HMM1","bom":[{"sku":"tea","components":[{"material":"paperboard","gramsPerUnit":42.5,"rigidity":"rigid","recycledContentPct":60},{"material":"LDPE","gramsPerUnit":1.8,"rigidity":"flexible"}]}],"shipments":[{"sku":"tea","destination":"DE","quantity":85,"returns":2,"date":"2026-06-01"}]}'
const res = await fetch("https://api.kanagu.dev/v1/epr/de", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "period": {
      "start": "2026-04-01",
      "end": "2026-06-30"
    },
    "systemOperatorId": "DE6004919627351",
    "reportTypeCode": "HMM1",
    "bom": [
      {
        "sku": "tea",
        "components": [
          {
            "material": "paperboard",
            "gramsPerUnit": 42.5,
            "rigidity": "rigid",
            "recycledContentPct": 60
          },
          {
            "material": "LDPE",
            "gramsPerUnit": 1.8,
            "rigidity": "flexible"
          }
        ]
      }
    ],
    "shipments": [
      {
        "sku": "tea",
        "destination": "DE",
        "quantity": 85,
        "returns": 2,
        "date": "2026-06-01"
      }
    ]
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "epr.de",
    "arguments": {
      "period": {
        "start": "2026-04-01",
        "end": "2026-06-30"
      },
      "systemOperatorId": "DE6004919627351",
      "reportTypeCode": "HMM1",
      "bom": [
        {
          "sku": "tea",
          "components": [
            {
              "material": "paperboard",
              "gramsPerUnit": 42.5,
              "rigidity": "rigid",
              "recycledContentPct": 60
            },
            {
              "material": "LDPE",
              "gramsPerUnit": 1.8,
              "rigidity": "flexible"
            }
          ]
        }
      ],
      "shipments": [
        {
          "sku": "tea",
          "destination": "DE",
          "quantity": 85,
          "returns": 2,
          "date": "2026-06-01"
        }
      ]
    }
  }
}
Request body
{
  "period": {
    "start": "2026-04-01",
    "end": "2026-06-30"
  },
  "systemOperatorId": "DE6004919627351",
  "reportTypeCode": "HMM1",
  "bom": [
    {
      "sku": "tea",
      "components": [
        {
          "material": "paperboard",
          "gramsPerUnit": 42.5,
          "rigidity": "rigid",
          "recycledContentPct": 60
        },
        {
          "material": "LDPE",
          "gramsPerUnit": 1.8,
          "rigidity": "flexible"
        }
      ]
    }
  ],
  "shipments": [
    {
      "sku": "tea",
      "destination": "DE",
      "quantity": 85,
      "returns": 2,
      "date": "2026-06-01"
    }
  ]
}

Request body

application/json

periodobjectrequired
Inclusive shipment dates for one reporting period.
period.startstring (date)required
period.endstring (date)required
systemOperatorId"DE6005779374130" | "DE6005973594801" | "DE6006382012686" | "DE6004919627351" | "DE6005906579671" | "DE6005959764031" | … (14 values)required
LUCID registration ID of the system operator for these volumes. See the ZSVR XML guide §2.3.4.
reportTypeCode"HMM1" | "HJM1"required
LUCID full report type. HMM1 is intra-year and HJM1 is year-end.
bomarray of objectrequired
Only include packaging subject to system participation and assigned to this system operator.
bom[].skustring (max 80 chars)required
bom[].componentsarray of objectrequired
bom[].components[].materialstring (max 80 chars)required
bom[].components[].gramsPerUnitnumber (≤ 100000)required
bom[].components[].rigidity"rigid" | "flexible"
bom[].components[].recycledContentPctnumber (0 to 100)
bom[].components[].materialCode"10000" | "20000" | "30000" | "40000" | "50000" | "60000" | … (9 values)
Verified ZSVR MaterialCode for a material or composite that requires classification.
shipmentsarray of objectrequired
shipments[].skustring (max 80 chars)required
shipments[].quantityinteger (0 to 1000000)required
shipments[].destinationstringrequired
shipments[].datestring (date)required
shipments[].returnsinteger (0 to 1000000)
Units returned from this shipment, including ordinary customer returns.
shipments[].notPlacedOnMarketinteger (0 to 1000000)
Subset of returns documented as never placed on this market. Only these units are subtracted.

Response

200 · application/json

destinationstringrequired
periodobjectrequired
Inclusive shipment dates for one reporting period.
period.startstring (date)required
period.endstring (date)required
sourceobjectrequired
source.urlstring (uri)required
source.versionstringrequired
needs_reviewbooleanrequired
totalsarray of objectrequired
totals[].categorystringrequired
totals[].labelstringrequired
totals[].kgnumberrequired
totals[].lucidMassstringrequired
LUCID mass in kg with a decimal comma and three decimal places.
trailarray of objectrequired
trail[].skustring (max 80 chars)required
trail[].shipmentIndicesarray of numberrequired
trail[].bomIndexnumber | nullrequired
trail[].shippedUnitsnumberrequired
trail[].returnedUnitsnumberrequired
trail[].notPlacedOnMarketUnitsnumberrequired
trail[].reportableUnitsnumberrequired
trail[].componentsarray of objectrequired
trail[].components[].componentIndexnumberrequired
trail[].components[].materialstring (max 80 chars)required
trail[].components[].gramsPerUnitnumber (≤ 100000)required
trail[].components[].rigidity"rigid" | "flexible"
trail[].components[].recycledContentPctnumber (0 to 100)
trail[].components[].kgnumberrequired
trail[].components[].categorystring | nullrequired
trail[].components[].status"mapped" | "excluded" | "needs_review"required
trail[].components[].reason"unmapped_material" | "missing_classification_attributes" | "ambiguous_category" | "category_requires_confirmation" | "unknown_category"
trail[].components[].suppliedCategorystring
trail[].components[].missingAttributesarray of string
trail[].components[].candidateCategoriesarray of string
trail[].components[].exclusionstring
trail[].issue"missing_bom"
systemOperatorId"DE6005779374130" | "DE6005973594801" | "DE6006382012686" | "DE6004919627351" | "DE6005906579671" | "DE6005959764031" | … (14 values)required
LUCID registration ID of the system operator for these volumes. See the ZSVR XML guide §2.3.4.
reportTypeCode"HMM1" | "HJM1"required
LUCID full report type. HMM1 is intra-year and HJM1 is year-end.
schemaobjectrequired
schema.urlstring (uri)required
schema.versionstringrequired
csvstring | nullrequired
CSV of mapped weights. Null if no weights were mapped.
xmlstring | nullrequired
Save this JSON string as UTF-8 without trimming. Its leading U+FEFF becomes the BOM required by LUCID. Null if the report requires review or no weights were mapped.

Try it

epr.de

$0.50/report

No key needed · 10 free calls per IP per day

Response

Run the request to see the live response here.

Errors

Errors are JSON {"error":{"code","message"}}. An operation may add its own 400 codes; the message says what to fix.

StatusCode and meaning
400invalid_input

The body does not match the request schema. The message names each field.

400invalid_json

The body is missing or is not valid JSON.

400invalid_idempotency_key

Idempotency-Key must be 1–128 visible ASCII characters.

401invalid_api_key

The Bearer key is missing, malformed, invalid or inactive.

402free_allowance_exhausted

This month's free usage is used up and the account has no subscription. Subscribe from the dashboard, or wait for the next UTC month; Retry-After gives the seconds left.

404not_found

No operation at this path.

409idempotency_conflict

The Idempotency-Key was already used with a different body.

413payload_too_large

JSON bodies may be at most 64 KiB.

429trial_limit

The anonymous trial allows 10 calls per IP per UTC day, shared by REST and MCP. Retry-After gives the seconds left.

500internal_error

The call failed on our side. It is not billed; retry with the same Idempotency-Key.

JSON Schema

Request schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "period": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "end": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        }
      },
      "required": [
        "start",
        "end"
      ],
      "additionalProperties": false,
      "description": "Inclusive shipment dates for one reporting period."
    },
    "systemOperatorId": {
      "type": "string",
      "enum": [
        "DE6005779374130",
        "DE6005973594801",
        "DE6006382012686",
        "DE6004919627351",
        "DE6005906579671",
        "DE6005959764031",
        "DE6007094250999",
        "DE6007086225568",
        "DE6007168805143",
        "DE6004738522858",
        "DE6004844021815",
        "DE6007780383579",
        "DE6257129182400",
        "DE6161328237553"
      ],
      "description": "LUCID registration ID of the system operator for these volumes. See the ZSVR XML guide §2.3.4."
    },
    "reportTypeCode": {
      "type": "string",
      "enum": [
        "HMM1",
        "HJM1"
      ],
      "description": "LUCID full report type. HMM1 is intra-year and HJM1 is year-end."
    },
    "bom": {
      "maxItems": 1000,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "components": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "material": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "gramsPerUnit": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 100000
                },
                "rigidity": {
                  "type": "string",
                  "enum": [
                    "rigid",
                    "flexible"
                  ]
                },
                "recycledContentPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                },
                "materialCode": {
                  "description": "Verified ZSVR MaterialCode for a material or composite that requires classification.",
                  "type": "string",
                  "enum": [
                    "10000",
                    "20000",
                    "30000",
                    "40000",
                    "50000",
                    "60000",
                    "68000",
                    "70000",
                    "80000"
                  ]
                }
              },
              "required": [
                "material",
                "gramsPerUnit"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "sku",
          "components"
        ],
        "additionalProperties": false
      },
      "description": "Only include packaging subject to system participation and assigned to this system operator."
    },
    "shipments": {
      "maxItems": 2000,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "quantity": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{2}$"
          },
          "date": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "returns": {
            "default": 0,
            "description": "Units returned from this shipment, including ordinary customer returns.",
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "notPlacedOnMarket": {
            "default": 0,
            "description": "Subset of returns documented as never placed on this market. Only these units are subtracted.",
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        "required": [
          "sku",
          "quantity",
          "destination",
          "date"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "period",
    "systemOperatorId",
    "reportTypeCode",
    "bom",
    "shipments"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "period": {
        "start": "2026-04-01",
        "end": "2026-06-30"
      },
      "systemOperatorId": "DE6004919627351",
      "reportTypeCode": "HMM1",
      "bom": [
        {
          "sku": "tea",
          "components": [
            {
              "material": "paperboard",
              "gramsPerUnit": 42.5,
              "rigidity": "rigid",
              "recycledContentPct": 60
            },
            {
              "material": "LDPE",
              "gramsPerUnit": 1.8,
              "rigidity": "flexible"
            }
          ]
        }
      ],
      "shipments": [
        {
          "sku": "tea",
          "destination": "DE",
          "quantity": 85,
          "returns": 2,
          "date": "2026-06-01"
        }
      ]
    }
  ]
}
Response schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "destination": {
      "type": "string"
    },
    "period": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "end": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        }
      },
      "required": [
        "start",
        "end"
      ],
      "additionalProperties": false,
      "description": "Inclusive shipment dates for one reporting period."
    },
    "source": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "url",
        "version"
      ],
      "additionalProperties": false
    },
    "needs_review": {
      "type": "boolean"
    },
    "totals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "kg": {
            "type": "number"
          },
          "lucidMass": {
            "type": "string",
            "description": "LUCID mass in kg with a decimal comma and three decimal places."
          }
        },
        "required": [
          "category",
          "label",
          "kg",
          "lucidMass"
        ],
        "additionalProperties": false
      }
    },
    "trail": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "shipmentIndices": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "bomIndex": {
            "type": [
              "number",
              "null"
            ]
          },
          "shippedUnits": {
            "type": "number"
          },
          "returnedUnits": {
            "type": "number"
          },
          "notPlacedOnMarketUnits": {
            "type": "number"
          },
          "reportableUnits": {
            "type": "number"
          },
          "components": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "componentIndex": {
                  "type": "number"
                },
                "material": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "gramsPerUnit": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 100000
                },
                "rigidity": {
                  "type": "string",
                  "enum": [
                    "rigid",
                    "flexible"
                  ]
                },
                "recycledContentPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                },
                "kg": {
                  "type": "number"
                },
                "category": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "mapped",
                    "excluded",
                    "needs_review"
                  ]
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "unmapped_material",
                        "missing_classification_attributes",
                        "ambiguous_category",
                        "category_requires_confirmation"
                      ]
                    },
                    {
                      "type": "string",
                      "const": "unknown_category"
                    }
                  ]
                },
                "suppliedCategory": {
                  "type": "string"
                },
                "missingAttributes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "candidateCategories": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "exclusion": {
                  "type": "string"
                }
              },
              "required": [
                "componentIndex",
                "material",
                "gramsPerUnit",
                "kg",
                "category",
                "status"
              ],
              "additionalProperties": false
            }
          },
          "issue": {
            "type": "string",
            "const": "missing_bom"
          }
        },
        "required": [
          "sku",
          "shipmentIndices",
          "bomIndex",
          "shippedUnits",
          "returnedUnits",
          "notPlacedOnMarketUnits",
          "reportableUnits",
          "components"
        ],
        "additionalProperties": false
      }
    },
    "systemOperatorId": {
      "type": "string",
      "enum": [
        "DE6005779374130",
        "DE6005973594801",
        "DE6006382012686",
        "DE6004919627351",
        "DE6005906579671",
        "DE6005959764031",
        "DE6007094250999",
        "DE6007086225568",
        "DE6007168805143",
        "DE6004738522858",
        "DE6004844021815",
        "DE6007780383579",
        "DE6257129182400",
        "DE6161328237553"
      ],
      "description": "LUCID registration ID of the system operator for these volumes. See the ZSVR XML guide §2.3.4."
    },
    "reportTypeCode": {
      "type": "string",
      "enum": [
        "HMM1",
        "HJM1"
      ],
      "description": "LUCID full report type. HMM1 is intra-year and HJM1 is year-end."
    },
    "schema": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "url",
        "version"
      ],
      "additionalProperties": false
    },
    "csv": {
      "description": "CSV of mapped weights. Null if no weights were mapped.",
      "type": [
        "string",
        "null"
      ]
    },
    "xml": {
      "description": "Save this JSON string as UTF-8 without trimming. Its leading U+FEFF becomes the BOM required by LUCID. Null if the report requires review or no weights were mapped.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "destination",
    "period",
    "source",
    "needs_review",
    "totals",
    "trail",
    "systemOperatorId",
    "reportTypeCode",
    "schema",
    "csv",
    "xml"
  ],
  "additionalProperties": false
}