POST api/Receipts?customerId={customerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | string |
Required |
Body Parameters
Payment| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| ReceiptDate | date |
None. |
|
| BookingDate | date |
None. |
|
| PaymentType | Zahlart |
None. |
|
| WithoutChecks | boolean |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"ReceiptDate": "2026-04-18T15:50:24.585486+02:00",
"BookingDate": "2026-04-18T15:50:24.585486+02:00",
"PaymentType": 1,
"WithoutChecks": true,
"Note": "sample string 3"
}
application/xml, text/xml
Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sts.Vas.ProcessesDebitor.Models"> <Amount>1</Amount> <BookingDate>2026-04-18T15:50:24.585486+02:00</BookingDate> <Note>sample string 3</Note> <PaymentType>Barzahlung</PaymentType> <ReceiptDate>2026-04-18T15:50:24.585486+02:00</ReceiptDate> <WithoutChecks>true</WithoutChecks> </Payment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataOfReceipt| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| Data | Receipt |
None. |
Response Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"Data": {
"Id": "sample string 1",
"CustomerId": "sample string 2",
"ReceiptBookingType": "sample string 3",
"ReceiptDate": "2026-04-18T15:50:24.585486+02:00",
"DueDate": "2026-04-18T15:50:24.585486+02:00",
"DebitCredit": 1.0,
"TotalAmount": 1.0,
"MainAmount": 1.0,
"Expenses": 1.0,
"ReminderFee": 1.0,
"BillNumber": "sample string 6",
"TransactionNumber": "sample string 7",
"PaymentMethod": "sample string 8"
}
}
application/xml, text/xml
Sample:
<ResponseDataOfReceiptNdVm6wV7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sts.Vas.Stp.Api.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sts.Vas.ProcessesDebitor.Models">
<d2p1:BillNumber>sample string 6</d2p1:BillNumber>
<d2p1:CustomerId>sample string 2</d2p1:CustomerId>
<d2p1:DebitCredit>1</d2p1:DebitCredit>
<d2p1:DueDate>2026-04-18T15:50:24.585486+02:00</d2p1:DueDate>
<d2p1:Expenses>1</d2p1:Expenses>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:MainAmount>1</d2p1:MainAmount>
<d2p1:PaymentMethod>sample string 8</d2p1:PaymentMethod>
<d2p1:ReceiptBookingType>sample string 3</d2p1:ReceiptBookingType>
<d2p1:ReceiptDate>2026-04-18T15:50:24.585486+02:00</d2p1:ReceiptDate>
<d2p1:ReminderFee>1</d2p1:ReminderFee>
<d2p1:TotalAmount>1</d2p1:TotalAmount>
<d2p1:TransactionNumber>sample string 7</d2p1:TransactionNumber>
</Data>
<Token>sample string 1</Token>
</ResponseDataOfReceiptNdVm6wV7>