Request Information
Method returns default payment for given document. Returned model is suitable for new payment creation.
Example URL:
v2.0/ReceivedDocumentPayments/Default/{documentId}
| Name | Description | Type | Additional information | 
|---|---|---|---|
| documentId | Document Id | integer | Required | 
| documentId | Document Id | integer | Required | 
None.
Response Information
                    
ReceivedDocumentPaymentApiModelInsert
    
        
            
                
                    | Name | Description | Type | Additional information | 
|---|---|---|---|
| DateOfPayment | Date of payment | date | None. | 
| DateOfVatApplication | Date of vat application | date | Used in Sk legislation. | 
| InvoiceId | Document Id | integer | Required | 
| PaymentAmount | Payment ammount | decimal number | None. | 
| PaymentOptionId | Payment option id | integer | None. | 
                        Sample:
                
{
  "DateOfPayment": "2025-10-24T05:47:41.9286451+00:00",
  "DateOfVatApplication": "2025-10-24T05:47:41.9286451+00:00",
  "Exported": "sample string 3",
  "InvoiceId": 4,
  "PaymentAmount": 5.0,
  "PaymentOptionId": 6
}
                    
                        Sample:
                <ReceivedDocumentPaymentApiModelInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels"> <DateOfPayment>2025-10-24T05:47:41.9286451+00:00</DateOfPayment> <DateOfVatApplication>2025-10-24T05:47:41.9286451+00:00</DateOfVatApplication> <Exported>sample string 3</Exported> <InvoiceId>4</InvoiceId> <PaymentAmount>5</PaymentAmount> <PaymentOptionId>6</PaymentOptionId> </ReceivedDocumentPaymentApiModelInsert>