Request Information

Method returns empty invoice with default values. Returned resource is suitable for new invoice creation.

Example URL:
v2.0/IssuedInvoices/Default

None.

None.

Response Information

IssuedInvoiceApiModelInsertV2
NameDescriptionTypeAdditional information
AccountNumber

string

Length: between 0 and 50 inclusive

BankId

Bank Id from bank list

integer

None.

BankName

string

Length: between 0 and 100 inclusive

BankNumberCode

string

Length: between 0 and 4 inclusive

ConstantSymbolId

integer

None.

CurrencyId

integer

None.

DateOfIssue

date

None.

DateOfMaturity

date

None.

DateOfPayment

date

None.

DateOfTaxing

date

None.

DateOfVatApplication

Date of VAT application

date

Used in Sk legislation.

Description

string

None.

DiscountPercentage

decimal number

None.

DocumentNumber

string

Length: between 0 and 10 inclusive

DocumentSerialNumber

integer

None.

EetResponsibility

Responsibility for handlig of electronic records of sales.

EetResponsibility

Used in Cz legislation.

ExchangeRate

decimal number

None.

ExchangeRateAmount

decimal number

None.

Iban

string

Length: between 0 and 50 inclusive

IsEet

Flag indicating whether the sales receipt is registered in EET.

boolean

Used in Cz legislation.

IsIncomeTax

Include subject to income tax

boolean

Used in Cz legislation.

IssuedInvoiceItems

Collection of IssuedInvoiceItemApiModelWrite

Required

ItemsTextPrefix

string

None.

ItemsTextSuffix

string

None.

LanguageCode

string

None.

Note

string

None.

NumericSequenceId

Numeric sequence id. If left null, the default sequence will be used.

integer

None.

OrderNumber

string

Length: between 0 and 20 inclusive

PaymentOptionId

integer

None.

PurchaserId

integer

Required

ReportColorValue

Report color - in HTML fromat

string

None.

SalesPosEquipmentId

POS equipment id.

integer

Used in Cz legislation.

Swift

string

Length: between 0 and 11 inclusive

VariableSymbol

string

Length: between 0 and 10 inclusive

VatOnPayStatus

Attribute for application of VAT based on payments

VatOnPayStatus

Used in Sk legislation.

VatReverseChargeCodeId

Vat reverse charge code id

integer

Used in Cz legislation.

Sample:
{
  "EetResponsibility": 0,
  "IsEet": true,
  "SalesPosEquipmentId": 1,
  "DateOfVatApplication": "2021-05-11T11:09:10.5609503+00:00",
  "IssuedInvoiceItems": [
    {
      "Amount": 1.0,
      "Name": "sample string 2",
      "PriceListItemId": 1,
      "PriceType": 0,
      "Unit": "sample string 3",
      "UnitPrice": 4.0,
      "VatCodeId": 1,
      "VatRateType": 0,
      "Id": 5
    }
  ],
  "VatOnPayStatus": 0,
  "NumericSequenceId": 1,
  "VatReverseChargeCodeId": 1,
  "AccountNumber": "sample string 3",
  "BankId": 4,
  "BankName": "sample string 5",
  "BankNumberCode": "sample string 6",
  "ConstantSymbolId": 7,
  "CurrencyId": 8,
  "DateOfIssue": "2021-05-11T11:09:10.5609503+00:00",
  "DateOfMaturity": "2021-05-11T11:09:10.5609503+00:00",
  "DateOfPayment": "2021-05-11T11:09:10.5609503+00:00",
  "DateOfTaxing": "2021-05-11T11:09:10.5609503+00:00",
  "Description": "sample string 13",
  "DiscountPercentage": 14.0,
  "DocumentNumber": "sample string 15",
  "DocumentSerialNumber": 16,
  "ExchangeRate": 17.0,
  "ExchangeRateAmount": 18.0,
  "Iban": "sample string 19",
  "ItemsTextPrefix": "sample string 20",
  "ItemsTextSuffix": "sample string 21",
  "LanguageCode": "sample string 22",
  "Note": "sample string 23",
  "OrderNumber": "sample string 24",
  "PaymentOptionId": 25,
  "PurchaserId": 26,
  "ReportColorValue": "sample string 27",
  "Swift": "sample string 28",
  "VariableSymbol": "sample string 29",
  "IsIncomeTax": true
}
Sample:
<IssuedInvoiceApiModelInsertV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">
  <AccountNumber>sample string 3</AccountNumber>
  <BankId>4</BankId>
  <BankName>sample string 5</BankName>
  <BankNumberCode>sample string 6</BankNumberCode>
  <ConstantSymbolId>7</ConstantSymbolId>
  <CurrencyId>8</CurrencyId>
  <DateOfIssue>2021-05-11T11:09:10.5609503+00:00</DateOfIssue>
  <DateOfMaturity>2021-05-11T11:09:10.5609503+00:00</DateOfMaturity>
  <DateOfPayment>2021-05-11T11:09:10.5609503+00:00</DateOfPayment>
  <DateOfTaxing>2021-05-11T11:09:10.5609503+00:00</DateOfTaxing>
  <Description>sample string 13</Description>
  <DiscountPercentage>14</DiscountPercentage>
  <DocumentNumber>sample string 15</DocumentNumber>
  <DocumentSerialNumber>16</DocumentSerialNumber>
  <ExchangeRate>17</ExchangeRate>
  <ExchangeRateAmount>18</ExchangeRateAmount>
  <Iban>sample string 19</Iban>
  <IsIncomeTax>true</IsIncomeTax>
  <ItemsTextPrefix>sample string 20</ItemsTextPrefix>
  <ItemsTextSuffix>sample string 21</ItemsTextSuffix>
  <LanguageCode>sample string 22</LanguageCode>
  <Note>sample string 23</Note>
  <OrderNumber>sample string 24</OrderNumber>
  <PaymentOptionId>25</PaymentOptionId>
  <PurchaserId>26</PurchaserId>
  <ReportColorValue>sample string 27</ReportColorValue>
  <Swift>sample string 28</Swift>
  <VariableSymbol>sample string 29</VariableSymbol>
  <DateOfVatApplication>2021-05-11T11:09:10.5609503+00:00</DateOfVatApplication>
  <EetResponsibility>Idoklad</EetResponsibility>
  <IsEet>true</IsEet>
  <IssuedInvoiceItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
    <d2p1:IssuedInvoiceItemApiModelWrite>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">5</Id>
      <Links xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Links>
      <d2p1:Amount>1</d2p1:Amount>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PriceListItemId>1</d2p1:PriceListItemId>
      <d2p1:PriceType>0</d2p1:PriceType>
      <d2p1:Unit>sample string 3</d2p1:Unit>
      <d2p1:UnitPrice>4</d2p1:UnitPrice>
      <d2p1:VatCodeId>1</d2p1:VatCodeId>
      <d2p1:VatRateType>0</d2p1:VatRateType>
    </d2p1:IssuedInvoiceItemApiModelWrite>
  </IssuedInvoiceItems>
  <NumericSequenceId>1</NumericSequenceId>
  <SalesPosEquipmentId>1</SalesPosEquipmentId>
  <VatOnPayStatus>0</VatOnPayStatus>
  <VatReverseChargeCodeId>1</VatReverseChargeCodeId>
</IssuedInvoiceApiModelInsertV2>