curl --request GET \
--url https://api.paywise.de/v1/statements/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paywise.de/v1/statements/{id}/"
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/v1/statements/{id}/', 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://api.paywise.de/v1/statements/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paywise.de/v1/statements/{id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paywise.de/v1/statements/{id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paywise.de/v1/statements/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"href": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/",
"id": "b12e4567-e89b-12d3-a456-426614174000",
"clearing_no": "AB123456789",
"invoice_no": "PW2023-12345",
"total_balance": {
"value": "500.00",
"currency": "EUR"
},
"balance_pre_outstanding_items_offsetting": {
"value": "500.00",
"currency": "EUR"
},
"offset_outstanding_items": {
"value": "0.00",
"currency": "EUR"
},
"overview_vat_specific": [
{
"vat_rate": "19.00",
"claims_from_payments_to_dca": {
"taxfree_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_claims": {
"value": "52.92",
"currency": "EUR"
},
"fee_vat_claims": {
"value": "10.05",
"currency": "EUR"
},
"success_commission_claims": {
"value": "2.85",
"currency": "EUR"
},
"success_commission_vat_claims": {
"value": "0.54",
"currency": "EUR"
}
},
"claims_from_payments_to_client": {
"taxfree_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"success_commission_claims": {
"value": "4.17",
"currency": "EUR"
},
"success_commission_vat_claims": {
"value": "0.79",
"currency": "EUR"
}
},
"claims_from_advanced_costs": {
"taxfree_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_claims": {
"value": "15.00",
"currency": "EUR"
},
"taxable_expenses_vat_claims": {
"value": "2.85",
"currency": "EUR"
},
"fee_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxfree_litigation_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_litigation_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_litigation_expenses_vat_claims": {
"value": "0.00",
"currency": "EUR"
}
},
"vat": {
"value": "14.23",
"currency": "EUR"
},
"invoice_amount": {
"value": "74.90",
"currency": "EUR"
},
"invoice_amount_vat": {
"value": "14.23",
"currency": "EUR"
},
"payout": {
"value": "437.92",
"currency": "EUR"
}
}
],
"mandate_count": 1,
"mandate_details_href": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/mandate-details/",
"booking_date": "2023-07-15",
"period_start": "2023-06-01",
"period_end": "2023-06-30",
"canceled": false,
"comment": "Monthly statement for debt collection services",
"downloads": [
{
"id": "6f664961-d182-578a-9bc4-5bf1a2e4d54c",
"type": "full_pdf",
"filename": "statement_AB123456789.pdf",
"mime_type": "application/pdf",
"file_size": 89234,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/full-pdf/"
},
{
"id": "208d9d42-20d9-5e39-81d9-82391db4f3c5",
"type": "third_party_money_xlsx",
"filename": "third_party_money_AB123456789.xlsx",
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"file_size": 45123,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/third-party-money-xlsx/"
},
{
"id": "b02a6f08-d3e7-5a4b-b906-6263c045bcfb",
"type": "cost_burden_xlsx",
"filename": "cost_burden_AB123456789.xlsx",
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"file_size": 32456,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/cost-burden-xlsx/"
},
{
"id": "a7e536ed-6f3f-5a6a-a0fc-f3a60dda08d4",
"type": "closing_xlsx",
"filename": "closing_AB123456789.xlsx",
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"file_size": 28789,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/closing-xlsx/"
}
],
"created": "2023-07-15T10:23:45.678901Z"
}Retrieve a statement
Retrieve a single statement by its ID.
Important: This view contains all statement information except for mandate details. To access mandate details of a statement, use the separate list mandate details endpoint.
curl --request GET \
--url https://api.paywise.de/v1/statements/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paywise.de/v1/statements/{id}/"
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/v1/statements/{id}/', 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://api.paywise.de/v1/statements/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paywise.de/v1/statements/{id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paywise.de/v1/statements/{id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paywise.de/v1/statements/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"href": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/",
"id": "b12e4567-e89b-12d3-a456-426614174000",
"clearing_no": "AB123456789",
"invoice_no": "PW2023-12345",
"total_balance": {
"value": "500.00",
"currency": "EUR"
},
"balance_pre_outstanding_items_offsetting": {
"value": "500.00",
"currency": "EUR"
},
"offset_outstanding_items": {
"value": "0.00",
"currency": "EUR"
},
"overview_vat_specific": [
{
"vat_rate": "19.00",
"claims_from_payments_to_dca": {
"taxfree_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_claims": {
"value": "52.92",
"currency": "EUR"
},
"fee_vat_claims": {
"value": "10.05",
"currency": "EUR"
},
"success_commission_claims": {
"value": "2.85",
"currency": "EUR"
},
"success_commission_vat_claims": {
"value": "0.54",
"currency": "EUR"
}
},
"claims_from_payments_to_client": {
"taxfree_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"success_commission_claims": {
"value": "4.17",
"currency": "EUR"
},
"success_commission_vat_claims": {
"value": "0.79",
"currency": "EUR"
}
},
"claims_from_advanced_costs": {
"taxfree_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_expenses_claims": {
"value": "15.00",
"currency": "EUR"
},
"taxable_expenses_vat_claims": {
"value": "2.85",
"currency": "EUR"
},
"fee_claims": {
"value": "0.00",
"currency": "EUR"
},
"fee_vat_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxfree_litigation_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_litigation_expenses_claims": {
"value": "0.00",
"currency": "EUR"
},
"taxable_litigation_expenses_vat_claims": {
"value": "0.00",
"currency": "EUR"
}
},
"vat": {
"value": "14.23",
"currency": "EUR"
},
"invoice_amount": {
"value": "74.90",
"currency": "EUR"
},
"invoice_amount_vat": {
"value": "14.23",
"currency": "EUR"
},
"payout": {
"value": "437.92",
"currency": "EUR"
}
}
],
"mandate_count": 1,
"mandate_details_href": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/mandate-details/",
"booking_date": "2023-07-15",
"period_start": "2023-06-01",
"period_end": "2023-06-30",
"canceled": false,
"comment": "Monthly statement for debt collection services",
"downloads": [
{
"id": "6f664961-d182-578a-9bc4-5bf1a2e4d54c",
"type": "full_pdf",
"filename": "statement_AB123456789.pdf",
"mime_type": "application/pdf",
"file_size": 89234,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/full-pdf/"
},
{
"id": "208d9d42-20d9-5e39-81d9-82391db4f3c5",
"type": "third_party_money_xlsx",
"filename": "third_party_money_AB123456789.xlsx",
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"file_size": 45123,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/third-party-money-xlsx/"
},
{
"id": "b02a6f08-d3e7-5a4b-b906-6263c045bcfb",
"type": "cost_burden_xlsx",
"filename": "cost_burden_AB123456789.xlsx",
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"file_size": 32456,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/cost-burden-xlsx/"
},
{
"id": "a7e536ed-6f3f-5a6a-a0fc-f3a60dda08d4",
"type": "closing_xlsx",
"filename": "closing_AB123456789.xlsx",
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"file_size": 28789,
"download_url": "https://api.paywise.de/v1/statements/b12e4567-e89b-12d3-a456-426614174000/download/closing-xlsx/"
}
],
"created": "2023-07-15T10:23:45.678901Z"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Mixin to provide download URLs for statement files. Reusable across different statement serializers.
The clearing number of the statement.
The invoice number of the statement.
The date when the statement was booked.
The start date of the period covered by the statement.
The end date of the period covered by the statement.
Whether the statement has been canceled.
Additional comment or notes on the statement.
Total balance after considering outstanding items.
Show child attributes
Show child attributes
Saldo Inkassoverfahren: Payout before considering outstanding items.
Show child attributes
Show child attributes
Amount of outstanding items that was offset.
Show child attributes
Show child attributes
Number of mandates included in this statement.
URL to access paginated mandate details for this statement.
VAT-specific financial details for this statement.
Show child attributes
Show child attributes
List of available statement files with metadata and download URLs.
Show child attributes
Show child attributes
