curl --request POST \
--url https://{host}/v1/process/market-partners/quittungs-nachfass \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"dry_run": false,
"limit": 0,
"lookback_days": 90,
"bdew_fallback": false,
"mindestalter_tage": 0,
"mp_ids": [
"<string>"
],
"wiederholen": false
}
'import requests
url = "https://{host}/v1/process/market-partners/quittungs-nachfass"
payload = {
"dry_run": False,
"limit": 0,
"lookback_days": 90,
"bdew_fallback": False,
"mindestalter_tage": 0,
"mp_ids": ["<string>"],
"wiederholen": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dry_run: false,
limit: 0,
lookback_days: 90,
bdew_fallback: false,
mindestalter_tage: 0,
mp_ids: ['<string>'],
wiederholen: false
})
};
fetch('https://{host}/v1/process/market-partners/quittungs-nachfass', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/process/market-partners/quittungs-nachfass",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dry_run' => false,
'limit' => 0,
'lookback_days' => 90,
'bdew_fallback' => false,
'mindestalter_tage' => 0,
'mp_ids' => [
'<string>'
],
'wiederholen' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/process/market-partners/quittungs-nachfass"
payload := strings.NewReader("{\n \"dry_run\": false,\n \"limit\": 0,\n \"lookback_days\": 90,\n \"bdew_fallback\": false,\n \"mindestalter_tage\": 0,\n \"mp_ids\": [\n \"<string>\"\n ],\n \"wiederholen\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/v1/process/market-partners/quittungs-nachfass")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dry_run\": false,\n \"limit\": 0,\n \"lookback_days\": 90,\n \"bdew_fallback\": false,\n \"mindestalter_tage\": 0,\n \"mp_ids\": [\n \"<string>\"\n ],\n \"wiederholen\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/market-partners/quittungs-nachfass")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dry_run\": false,\n \"limit\": 0,\n \"lookback_days\": 90,\n \"bdew_fallback\": false,\n \"mindestalter_tage\": 0,\n \"mp_ids\": [\n \"<string>\"\n ],\n \"wiederholen\": false\n}"
response = http.request(request)
puts response.read_body{
"dry_run": true,
"lookback_days": 123,
"limit": 123,
"targets": [
{
"mp_id": "<string>",
"name": "<string>",
"faelle": [
{
"stream": "partin",
"sent_at": "<string>",
"frist": "<string>",
"referenz": "",
"nrr_at": "",
"nrr_id": ""
}
],
"email": "<string>",
"kontakt_quelle": "",
"skip": ""
}
],
"sent": [
{
"mp_id": "<string>",
"name": "<string>",
"faelle": [
{
"stream": "partin",
"sent_at": "<string>",
"frist": "<string>",
"referenz": "",
"nrr_at": "",
"nrr_id": ""
}
],
"email": "<string>",
"kontakt_quelle": "",
"skip": ""
}
],
"skipped": [
{
"mp_id": "<string>",
"name": "<string>",
"faelle": [
{
"stream": "partin",
"sent_at": "<string>",
"frist": "<string>",
"referenz": "",
"nrr_at": "",
"nrr_id": ""
}
],
"email": "<string>",
"kontakt_quelle": "",
"skip": ""
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Post Quittungs Nachfass
Mail partners whose delivered message (NRR ok) has no APERAK (and no CONTRL syntax rejection) past the regulatory deadline (APERAK AHB 2.4.1; since 01.10.2025 a clean file gets no CONTRL, GPKE_C027) plus the configured Karenz. Only partners who already sent their PARTIN are chased, at the EDIFACT contact it names; the rest are reported as skipped. One mail per partner, ledger-deduplicated per (partner, stream, sent_at).
curl --request POST \
--url https://{host}/v1/process/market-partners/quittungs-nachfass \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"dry_run": false,
"limit": 0,
"lookback_days": 90,
"bdew_fallback": false,
"mindestalter_tage": 0,
"mp_ids": [
"<string>"
],
"wiederholen": false
}
'import requests
url = "https://{host}/v1/process/market-partners/quittungs-nachfass"
payload = {
"dry_run": False,
"limit": 0,
"lookback_days": 90,
"bdew_fallback": False,
"mindestalter_tage": 0,
"mp_ids": ["<string>"],
"wiederholen": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dry_run: false,
limit: 0,
lookback_days: 90,
bdew_fallback: false,
mindestalter_tage: 0,
mp_ids: ['<string>'],
wiederholen: false
})
};
fetch('https://{host}/v1/process/market-partners/quittungs-nachfass', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/process/market-partners/quittungs-nachfass",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dry_run' => false,
'limit' => 0,
'lookback_days' => 90,
'bdew_fallback' => false,
'mindestalter_tage' => 0,
'mp_ids' => [
'<string>'
],
'wiederholen' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/process/market-partners/quittungs-nachfass"
payload := strings.NewReader("{\n \"dry_run\": false,\n \"limit\": 0,\n \"lookback_days\": 90,\n \"bdew_fallback\": false,\n \"mindestalter_tage\": 0,\n \"mp_ids\": [\n \"<string>\"\n ],\n \"wiederholen\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/v1/process/market-partners/quittungs-nachfass")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dry_run\": false,\n \"limit\": 0,\n \"lookback_days\": 90,\n \"bdew_fallback\": false,\n \"mindestalter_tage\": 0,\n \"mp_ids\": [\n \"<string>\"\n ],\n \"wiederholen\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/market-partners/quittungs-nachfass")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dry_run\": false,\n \"limit\": 0,\n \"lookback_days\": 90,\n \"bdew_fallback\": false,\n \"mindestalter_tage\": 0,\n \"mp_ids\": [\n \"<string>\"\n ],\n \"wiederholen\": false\n}"
response = http.request(request)
puts response.read_body{
"dry_run": true,
"lookback_days": 123,
"limit": 123,
"targets": [
{
"mp_id": "<string>",
"name": "<string>",
"faelle": [
{
"stream": "partin",
"sent_at": "<string>",
"frist": "<string>",
"referenz": "",
"nrr_at": "",
"nrr_id": ""
}
],
"email": "<string>",
"kontakt_quelle": "",
"skip": ""
}
],
"sent": [
{
"mp_id": "<string>",
"name": "<string>",
"faelle": [
{
"stream": "partin",
"sent_at": "<string>",
"frist": "<string>",
"referenz": "",
"nrr_at": "",
"nrr_id": ""
}
],
"email": "<string>",
"kontakt_quelle": "",
"skip": ""
}
],
"skipped": [
{
"mp_id": "<string>",
"name": "<string>",
"faelle": [
{
"stream": "partin",
"sent_at": "<string>",
"frist": "<string>",
"referenz": "",
"nrr_at": "",
"nrr_id": ""
}
],
"email": "<string>",
"kontakt_quelle": "",
"skip": ""
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Body
Chase partners whose delivered message (NRR ok) has no APERAK (and no CONTRL syntax rejection) past the regulatory deadline plus Karenz.
Deadlines per EDI@Energy: APERAK naechster Werktag 12 Uhr, UTILMD 45
Minuten (APERAK AHB Kap. 2.4.1); since 01.10.2025 a clean file gets
no CONTRL (GPKE_C027). dry_run lists without mailing; limit
caps mails per run (0 = uncapped).
x >= 01 <= x <= 730Write to the BDEW list contact when the partner never sent a PARTIN naming an EDIFACT desk (default: such partners are reported as skipped)
Chase only messages sent at least this many days ago, on top of the regulatory deadline plus Karenz (0 = no floor)
0 <= x <= 365Restrict the run to these partners (13-digit MP-IDs); omitted or empty = every candidate
500Chase these partners again although they were chased for the same message before - a deliberate second round for a new reason, e.g. a framework contract now on record. Requires mp_ids: a blanket repeat would mail the same reminder week after week
Response
Successful Response