import requests
url = "https://api.paywise.de/mahnservice/v1/invoices/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/mahnservice/v1/invoices/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/mahnservice/v1/invoices/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/mahnservice/v1/invoices/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/mahnservice/v1/invoices/ \
--header 'Authorization: Bearer <token>'{
"count": 123,
"results": [
{
"access_mode": "test",
"amount": "<string>",
"archived": true,
"balance": "<string>",
"created": "2023-11-07T05:31:56Z",
"debtor": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"document": {
"download_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending"
},
"due_date": "2023-12-25",
"dunning_state": "held",
"has_document": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_number": "<string>",
"overpaid": true,
"paid_amount": "<string>",
"updated": "2023-11-07T05:31:56Z",
"currency": "EUR",
"document_date": "2023-12-25",
"your_reference": "<string>"
}
],
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}List invoices
Invoices for the public Mahnservice API: the full lifecycle.
Submit creates a held invoice — no dunning process exists until /release creates one. Release enrolls the invoice into the dunning flow (active when the company’s Mahnlauf is activated, pending until then; parked paused under company or debtor holds). PATCH corrects an invoice while it is still held — the only correction window there is, because submit is idempotent on the invoice number and ignores changed fields, and after release the dunning history already references the amount and the due date. Payments, cancel and write-off settle or end the claim. All scoped to the token’s company; the debtor is referenced by UUID.
Write actions apply only to API-submitted invoices; bookkeeping-synced invoices are readable here but owned by their bookkeeping system. Payment reporting stays open through a subscription lapse — a lapsed customer must still be able to stop dunning on a paid invoice.
import requests
url = "https://api.paywise.de/mahnservice/v1/invoices/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/mahnservice/v1/invoices/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/mahnservice/v1/invoices/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/mahnservice/v1/invoices/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/mahnservice/v1/invoices/ \
--header 'Authorization: Bearer <token>'{
"count": 123,
"results": [
{
"access_mode": "test",
"amount": "<string>",
"archived": true,
"balance": "<string>",
"created": "2023-11-07T05:31:56Z",
"debtor": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"document": {
"download_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending"
},
"due_date": "2023-12-25",
"dunning_state": "held",
"has_document": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_number": "<string>",
"overpaid": true,
"paid_amount": "<string>",
"updated": "2023-11-07T05:31:56Z",
"currency": "EUR",
"document_date": "2023-12-25",
"your_reference": "<string>"
}
],
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}