Request Information

Method returns default payment for given document. Returned model is suitable for new payment creation.

Example URL:
v2.0/IssuedDocumentPayments/Default/{documentId}
NameDescriptionTypeAdditional information
documentId

Document Id

integer

Required

documentId

Document Id

integer

Required

None.

Response Information

IssuedDocumentPaymentApiModelInsert
NameDescriptionTypeAdditional information
DateOfPayment

Date of payment

date

None.

DateOfVatApplication

Date of vat application

date

Used in Sk legislation.

ElectronicRecordsOfSales

Electronic records of sales information.

ElectronicRecordsOfSalesApiModel

Used in Cz legislation.

InvoiceId

Document Id

integer

Required

PaymentAmount

Payment ammount

decimal number

None.

PaymentOptionId

Payment option id

integer

None.

SalesPosEquipmentId

POS equipment Id.

integer

Used in Cz legislation.

SendPaymentConfirmation

Send payment confirmation

boolean

None.

Sample:
{
  "ElectronicRecordsOfSales": {
    "EetStatus": 1,
    "IsEet": true,
    "RegisteredSale": {
      "BaseTaxBasicRateHc": 1.0,
      "BaseTaxReducedRate1Hc": 2.0,
      "BaseTaxReducedRate2Hc": 3.0,
      "BaseTaxZeroRateHc": 4.0,
      "Bkp": "sample string 5",
      "DateOfAnswer": "2021-05-08T07:50:01.6283375+00:00",
      "DateOfSale": "2021-05-08T07:50:01.6283375+00:00",
      "DateOfSend": "2021-05-08T07:50:01.6283375+00:00",
      "Fik": "sample string 9",
      "Pkp": "sample string 10",
      "ReceiptNumber": "sample string 11",
      "SalesOfficeDesignation": 12,
      "SalesPosEquipmentId": 1,
      "TaxBasicRateHc": 13.0,
      "TaxReducedRate1Hc": 14.0,
      "TaxReducedRate2Hc": 15.0,
      "TotalAdvancePayment": 16.0,
      "TotalFromAdvancePayment": 17.0,
      "TotalTravelServiceHc": 18.0,
      "TotalUsedGoodsBasicRateHc": 19.0,
      "TotalUsedGoodsReducedRate1Hc": 20.0,
      "TotalUsedGoodsReducedRate2Hc": 21.0,
      "TotalWithVatHc": 22.0,
      "Uuid": "aa733552-3c5b-40e5-a392-e6fc1f786ad6",
      "VatIdentificationNumber": "sample string 24"
    },
    "EetResponsibility": 0
  },
  "SalesPosEquipmentId": 1,
  "SendPaymentConfirmation": true,
  "DateOfPayment": "2021-05-08T07:50:01.6283375+00:00",
  "DateOfVatApplication": "2021-05-08T07:50:01.6283375+00:00",
  "Exported": "sample string 3",
  "InvoiceId": 4,
  "PaymentAmount": 5.0,
  "PaymentOptionId": 6
}
Sample:
<IssuedDocumentPaymentApiModelInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
  <DateOfPayment>2021-05-08T07:50:01.6283375+00:00</DateOfPayment>
  <DateOfVatApplication>2021-05-08T07:50:01.6283375+00:00</DateOfVatApplication>
  <Exported>sample string 3</Exported>
  <InvoiceId>4</InvoiceId>
  <PaymentAmount>5</PaymentAmount>
  <PaymentOptionId>6</PaymentOptionId>
  <ElectronicRecordsOfSales>
    <EetResponsibility>Idoklad</EetResponsibility>
    <EetStatus>NotRegistered</EetStatus>
    <IsEet>true</IsEet>
    <RegisteredSale>
      <BaseTaxBasicRateHc>1</BaseTaxBasicRateHc>
      <BaseTaxReducedRate1Hc>2</BaseTaxReducedRate1Hc>
      <BaseTaxReducedRate2Hc>3</BaseTaxReducedRate2Hc>
      <BaseTaxZeroRateHc>4</BaseTaxZeroRateHc>
      <Bkp>sample string 5</Bkp>
      <DateOfAnswer>2021-05-08T07:50:01.6283375+00:00</DateOfAnswer>
      <DateOfSale>2021-05-08T07:50:01.6283375+00:00</DateOfSale>
      <DateOfSend>2021-05-08T07:50:01.6283375+00:00</DateOfSend>
      <Fik>sample string 9</Fik>
      <Pkp>sample string 10</Pkp>
      <ReceiptNumber>sample string 11</ReceiptNumber>
      <SalesOfficeDesignation>12</SalesOfficeDesignation>
      <SalesPosEquipmentId>1</SalesPosEquipmentId>
      <TaxBasicRateHc>13</TaxBasicRateHc>
      <TaxReducedRate1Hc>14</TaxReducedRate1Hc>
      <TaxReducedRate2Hc>15</TaxReducedRate2Hc>
      <TotalAdvancePayment>16</TotalAdvancePayment>
      <TotalFromAdvancePayment>17</TotalFromAdvancePayment>
      <TotalTravelServiceHc>18</TotalTravelServiceHc>
      <TotalUsedGoodsBasicRateHc>19</TotalUsedGoodsBasicRateHc>
      <TotalUsedGoodsReducedRate1Hc>20</TotalUsedGoodsReducedRate1Hc>
      <TotalUsedGoodsReducedRate2Hc>21</TotalUsedGoodsReducedRate2Hc>
      <TotalWithVatHc>22</TotalWithVatHc>
      <Uuid>aa733552-3c5b-40e5-a392-e6fc1f786ad6</Uuid>
      <VatIdentificationNumber>sample string 24</VatIdentificationNumber>
    </RegisteredSale>
  </ElectronicRecordsOfSales>
  <SalesPosEquipmentId>1</SalesPosEquipmentId>
  <SendPaymentConfirmation>true</SendPaymentConfirmation>
</IssuedDocumentPaymentApiModelInsert>