Informace o requestu

Vygeneruje defaultní úhradu k zadanému dokladu. Vhodné pro vytvoření nové úhrady.

Příklad URL:
v2.0/IssuedDocumentPayments/Default/{documentId}
JménoPopisTypDoplňující informace
documentId

Id dokladu k úhradě

integer

Required

documentId

Id dokladu k úhradě

integer

Required

Žádné.

Informace o response

IssuedDocumentPaymentApiModelInsert
JménoPopisTypDoplňující informace
DateOfPayment

Datum úhrady

date

Žádné.

DateOfVatApplication

Datum uplatnění dph

date

Používá se v Sk legislativě.

ElectronicRecordsOfSales

Informace o evidované tržbě.

ElectronicRecordsOfSalesApiModel

Používá se v Cz legislativě.

InvoiceId

Id dokladu

integer

Required

PaymentAmount

Uhrazeno množství

decimal number

Žádné.

PaymentOptionId

Id spůsobu úhrady

integer

Žádné.

SalesPosEquipmentId

Id pokladního zařízení.

integer

Používá se v Cz legislativě.

SendPaymentConfirmation

Odeslat poděkování za úhradu

boolean

Žádné.

Ukážka:
{
  "ElectronicRecordsOfSales": {
    "EetStatus": null,
    "IsEet": false,
    "RegisteredSale": null,
    "EetResponsibility": 0
  },
  "SalesPosEquipmentId": 1,
  "SendPaymentConfirmation": true,
  "DateOfPayment": "2024-04-19T16:47:47.0055357+00:00",
  "DateOfVatApplication": "2024-04-19T16:47:47.0055357+00:00",
  "Exported": "sample string 3",
  "InvoiceId": 4,
  "PaymentAmount": 5.0,
  "PaymentOptionId": 6
}
Ukážka:
<IssuedDocumentPaymentApiModelInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
  <DateOfPayment>2024-04-19T16:47:47.0055357+00:00</DateOfPayment>
  <DateOfVatApplication>2024-04-19T16:47:47.0055357+00:00</DateOfVatApplication>
  <Exported>sample string 3</Exported>
  <InvoiceId>4</InvoiceId>
  <PaymentAmount>5</PaymentAmount>
  <PaymentOptionId>6</PaymentOptionId>
  <ElectronicRecordsOfSales>
    <EetResponsibility>Idoklad</EetResponsibility>
    <EetStatus i:nil="true" />
    <IsEet>false</IsEet>
    <RegisteredSale i:nil="true" />
  </ElectronicRecordsOfSales>
  <SalesPosEquipmentId>1</SalesPosEquipmentId>
  <SendPaymentConfirmation>true</SendPaymentConfirmation>
</IssuedDocumentPaymentApiModelInsert>