Request Information

Method returns empty registered sale with default values. Returned resource is suitable for creation of a new registered sale.

Example URL:
v2.0/RegisteredSales/Default

None.

None.

Response Information

RegisteredSaleApiModelPost
NameDescriptionTypeAdditional information
BaseTaxBasicRateHc

Base tax basic rate

decimal number

None.

BaseTaxReducedRate1Hc

Base tax first reduced rate

decimal number

None.

BaseTaxReducedRate2Hc

Base tax second reduced rate

decimal number

None.

BaseTaxZeroRateHc

Base tax zero rate

decimal number

None.

Bkp

Taxpayers security code

string

Required

The value is limited by the regular expression: ^([0-9a-fA-F]{8}-){4}[0-9a-fA-F]{8}$

CancelledRegisteredSaleId

Canceled registered sale id

integer

None.

DateOfAnswer

Date of answer

date

Data type: DateTime

DateOfSale

Date of sale

date

Data type: DateTime

DateOfSend

Date of send

date

Data type: DateTime

Fik

Fiscal identification code

string

Required

The value is limited by the regular expression: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fAF]{3}-[0-9a-fA-F]{12}-[0-9a-fA-F]{2}$

IsCanceled

Is canceled

boolean

None.

Pkp

Taxpayers signature code

string

Required

Length: between 344 and 344 inclusive

ReceiptNumber

Receipt number

string

Required

The value is limited by the regular expression: ^[0-9a-zA-Z\.,:;/#\-_ ]{1,20}$

SalesOfficeDesignation

Sales office designation

integer

Required

The value is limited by the regular expression: ^[1-9][0-9]{0,5}$

SalesPosEquipmentId

Point of sale equipment id

integer

None.

TaxBasicRateHc

Tax basic rate

decimal number

None.

TaxReducedRate1Hc

Tax first reduced rate

decimal number

None.

TaxReducedRate2Hc

Tax second reduced rate

decimal number

None.

TotalAdvancePayment

Total advance payment

decimal number

None.

TotalFromAdvancePayment

Total from advance payment

decimal number

None.

TotalTravelServiceHc

Total travel service

decimal number

None.

TotalUsedGoodsBasicRateHc

Total used goods

decimal number

None.

TotalUsedGoodsReducedRate1Hc

Total used goods first reduced rate

decimal number

None.

TotalUsedGoodsReducedRate2Hc

Total used goods second reduced rate

decimal number

None.

TotalWithVatHc

Total with vat

decimal number

None.

Uuid

Universally unique identifier

globally unique identifier

Required

VatIdentificationNumber

VAT of taxpayer

string

Required

The value is limited by the regular expression: ^CZ[0-9]{8,10}$

Sample:
{
  "CancelledRegisteredSaleId": 1,
  "IsCanceled": true,
  "BaseTaxBasicRateHc": 2.0,
  "BaseTaxReducedRate1Hc": 3.0,
  "BaseTaxReducedRate2Hc": 4.0,
  "BaseTaxZeroRateHc": 5.0,
  "Bkp": "sample string 6",
  "DateOfAnswer": "2021-05-11T11:27:44.8128254+00:00",
  "DateOfSale": "2021-05-11T11:27:44.8128254+00:00",
  "DateOfSend": "2021-05-11T11:27:44.8128254+00:00",
  "Fik": "sample string 10",
  "Pkp": "sample string 11",
  "ReceiptNumber": "sample string 12",
  "SalesOfficeDesignation": 13,
  "SalesPosEquipmentId": 1,
  "TaxBasicRateHc": 14.0,
  "TaxReducedRate1Hc": 15.0,
  "TaxReducedRate2Hc": 16.0,
  "TotalAdvancePayment": 17.0,
  "TotalFromAdvancePayment": 18.0,
  "TotalTravelServiceHc": 19.0,
  "TotalUsedGoodsBasicRateHc": 20.0,
  "TotalUsedGoodsReducedRate1Hc": 21.0,
  "TotalUsedGoodsReducedRate2Hc": 22.0,
  "TotalWithVatHc": 23.0,
  "Uuid": "3d3ef4dc-7dcb-41b9-99dd-f9b75baa24dc",
  "VatIdentificationNumber": "sample string 25"
}
Sample:
<RegisteredSaleApiModelPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
  <BaseTaxBasicRateHc>2</BaseTaxBasicRateHc>
  <BaseTaxReducedRate1Hc>3</BaseTaxReducedRate1Hc>
  <BaseTaxReducedRate2Hc>4</BaseTaxReducedRate2Hc>
  <BaseTaxZeroRateHc>5</BaseTaxZeroRateHc>
  <Bkp>sample string 6</Bkp>
  <DateOfAnswer>2021-05-11T11:27:44.8128254+00:00</DateOfAnswer>
  <DateOfSale>2021-05-11T11:27:44.8128254+00:00</DateOfSale>
  <DateOfSend>2021-05-11T11:27:44.8128254+00:00</DateOfSend>
  <Fik>sample string 10</Fik>
  <Pkp>sample string 11</Pkp>
  <ReceiptNumber>sample string 12</ReceiptNumber>
  <SalesOfficeDesignation>13</SalesOfficeDesignation>
  <SalesPosEquipmentId>1</SalesPosEquipmentId>
  <TaxBasicRateHc>14</TaxBasicRateHc>
  <TaxReducedRate1Hc>15</TaxReducedRate1Hc>
  <TaxReducedRate2Hc>16</TaxReducedRate2Hc>
  <TotalAdvancePayment>17</TotalAdvancePayment>
  <TotalFromAdvancePayment>18</TotalFromAdvancePayment>
  <TotalTravelServiceHc>19</TotalTravelServiceHc>
  <TotalUsedGoodsBasicRateHc>20</TotalUsedGoodsBasicRateHc>
  <TotalUsedGoodsReducedRate1Hc>21</TotalUsedGoodsReducedRate1Hc>
  <TotalUsedGoodsReducedRate2Hc>22</TotalUsedGoodsReducedRate2Hc>
  <TotalWithVatHc>23</TotalWithVatHc>
  <Uuid>3d3ef4dc-7dcb-41b9-99dd-f9b75baa24dc</Uuid>
  <VatIdentificationNumber>sample string 25</VatIdentificationNumber>
  <CancelledRegisteredSaleId>1</CancelledRegisteredSaleId>
  <IsCanceled>true</IsCanceled>
</RegisteredSaleApiModelPost>