Informace o requestu
Vygeneruje defaultní úhradu k zadanému dokladu. Vhodné pro vytvoření nové úhrady.
Příklad URL:
v2.0/ReceivedDocumentPayments/Default/{documentId}
| Jméno | Popis | Typ | Doplňující informace | 
|---|---|---|---|
| documentId | Id dokladu k úhradě | integer | Required | 
| documentId | Id dokladu k úhradě | integer | Required | 
Žádné.
Informace o response
                    
ReceivedDocumentPaymentApiModelInsert
    
        
            
                
                    | Jméno | Popis | Typ | Doplňující informace | 
|---|---|---|---|
| DateOfPayment | Datum úhrady | date | Žádné. | 
| DateOfVatApplication | Datum uplatnění dph | date | Používá se v Sk legislativě. | 
| InvoiceId | Id dokladu | integer | Required | 
| PaymentAmount | Uhrazeno množství | decimal number | Žádné. | 
| PaymentOptionId | Id spůsobu úhrady | integer | Žádné. | 
                        Ukážka:
                
{
  "DateOfPayment": "2025-10-26T19:44:31.4003365+00:00",
  "DateOfVatApplication": "2025-10-26T19:44:31.4003365+00:00",
  "Exported": "sample string 3",
  "InvoiceId": 4,
  "PaymentAmount": 5.0,
  "PaymentOptionId": 6
}
                    
                        Ukážka:
                <ReceivedDocumentPaymentApiModelInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels"> <DateOfPayment>2025-10-26T19:44:31.4003365+00:00</DateOfPayment> <DateOfVatApplication>2025-10-26T19:44:31.4003365+00:00</DateOfVatApplication> <Exported>sample string 3</Exported> <InvoiceId>4</InvoiceId> <PaymentAmount>5</PaymentAmount> <PaymentOptionId>6</PaymentOptionId> </ReceivedDocumentPaymentApiModelInsert>