Request Information

Accounts the proforma invoice with given id. The invoice must be fully paid.

Example URL:
v2.0/ProformaInvoices/{id}/Account
NameDescriptionTypeAdditional information
id

Proforma invoice Id

integer

Required

id

Proforma invoice Id

integer

Required

None.

Response Information

IssuedInvoiceApiModel
NameDescriptionTypeAdditional information
AttachmentFileName

Name of the attached file. If no attachment is included, this will be empty.

string

None.

BaseTaxBasicRate

Tax base - basic rate

decimal number

None.

BaseTaxBasicRateHc

Tax base - basic rate in home currency

decimal number

None.

BaseTaxReducedRate1

Tax base - Reduce rate 1

decimal number

None.

BaseTaxReducedRate1Hc

Tax base - Reduce rate 1 in home currency

decimal number

None.

BaseTaxReducedRate2

Tax base - Reduce rate 2

decimal number

None.

BaseTaxReducedRate2Hc

Tax base - Reduce rate 2 in home currency

decimal number

None.

BaseTaxZeroRate

Tax base - Zero rate

decimal number

None.

BaseTaxZeroRateHc

Tax base - Zero rate in home currency

decimal number

None.

ConstantSymbolId

Constant symbol Id

integer

None.

CurrencyId

Currency Id

integer

None.

DateLastChange

Date last change

date

None.

DateOfAccountingEvent

Date of accounting event

date

None.

DateOfIssue

Date of issue

date

None.

DateOfLastReminder

Date of last reminder

date

None.

DateOfMaturity

Date of maturity

date

None.

DateOfPayment

Date of payment

date

None.

DateOfTaxing

Date of taxing

date

None.

DateOfVatApplication

Date of VAT application

date

Used in Sk legislation.

Description

Description

string

None.

Discount

Discount for invoice

decimal number

None.

DocumentNumber

DocumentNumber

string

Length: between 0 and 10 inclusive

DocumentSerialNumber

Document Serial Number

integer

None.

EetResponsibility

Responsibility for handlig of electronic records of sales.

EetResponsibility

Used in Cz legislation.

ExchangeRate

Exchange rate

decimal number

None.

ExchangeRateAmount

Exchange rate amount

decimal number

None.

Exported

Export to another accounting software indication. (It is recommended to use only one external accounting software beside iDoklad.)

ExportedState

None.

HasVatRegimeOss

Has OSS regime

boolean

None.

Id

Resource identifier

integer

Readonly

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.

IsSentToAccountant

Indicate sending to accountant

boolean

None.

IsSentToPurchaser

Indicate sending to purchaser

boolean

None.

IssuedInvoiceItems

Invoice items

Collection of IssuedInvoiceItemApiModel

None.

ItemsTextPrefix

Items text prefix

string

None.

ItemsTextSuffix

Items text suffix

string

None.

LanguageCode

Culture code of the invoice language.

string

None.

LanguageId

Report language Id

integer

Use LanguageCode.

Maturity

Maturity in days

integer

None.

MyCompanyDocumentAdrressId

My company document address Id

integer

None.

Note

Note

string

None.

NumericSequenceId

Numeric sequence id

integer

None.

OrderNumber

Order number

string

Length: between 0 and 20 inclusive

PaymentOptionId

integer

None.

PaymentStatus

PaymentStatus

None.

PurchaserDocumentAddressId

integer

None.

PurchaserId

integer

None.

RecountVersion

Recount Version

RecountVersion

None.

RemindersCount

integer

None.

ReportColorValue

Report color in html color format

string

None.

ReportId

integer

None.

RoundingDifference

decimal number

None.

TaxBasicRate

decimal number

None.

TaxBasicRateHc

decimal number

None.

TaxReducedRate1

decimal number

None.

TaxReducedRate1Hc

decimal number

None.

TaxReducedRate2

decimal number

None.

TaxReducedRate2Hc

decimal number

None.

TotalBasicRate

decimal number

None.

TotalBasicRateHc

decimal number

None.

TotalDiscountAmount

Total amount of discount. If the invoice is without discount, this will be zero.

decimal number

None.

TotalReducedRate1

decimal number

None.

TotalReducedRate1Hc

decimal number

None.

TotalReducedRate2

decimal number

None.

TotalReducedRate2Hc

decimal number

None.

TotalVat

Total amount of VAT in used currency

decimal number

None.

TotalVatHc

Total amount of VAT in home currency

decimal number

None.

TotalWithoutDiscount

Total amount without discount. If the invoice is without discount, this will be zero.

decimal number

None.

TotalWithoutVat

Total amount without VAT in the used currency.

decimal number

None.

TotalWithoutVatHc

Total amount without VAT in home currency

decimal number

None.

TotalWithVat

Total amount with VAT in used currency

decimal number

None.

TotalWithVatHc

Total amount with VAT in home currency

decimal number

None.

VariableSymbol

string

Length: between 0 and 10 inclusive

VatOnPayStatus

Attribute for application of VAT based on payments

VatOnPayStatus

Used in Sk legislation.

VatRateBasic

decimal number

None.

VatRateReduced1

decimal number

None.

VatRateReduced2

decimal number

None.

VatRegime

VAT regime

VatRegime

None.

VatReverseChargeCodeId

Vat reverse charge code id

integer

Used in Cz legislation.

Sample:
{
  "IssuedInvoiceItems": [
    {
      "InvoiceId": 1,
      "TotalWithVatBeforeDiscount": 2.0,
      "TotalWithoutVatBeforeDiscount": 3.0,
      "TotalVatBeforeDiscount": 4.0,
      "Code": "sample string 5",
      "DateLastChange": "2024-12-01T04:23:47.1665591+00:00",
      "IsRoundedItem": true,
      "IsTaxMovement": true,
      "ItemType": 0,
      "Price": 9.0,
      "PriceTotalWithoutVat": 10.0,
      "PriceTotalWithoutVatHc": 11.0,
      "PriceTotalWithVat": 12.0,
      "PriceTotalWithVatHc": 13.0,
      "PriceUnitVat": 14.0,
      "PriceUnitVatHc": 15.0,
      "PriceUnitWithoutVat": 16.0,
      "PriceUnitWithoutVatHc": 17.0,
      "PriceUnitWithVat": 18.0,
      "PriceUnitWithVatHc": 19.0,
      "TotalPrice": 20.0,
      "VatRate": 21.0,
      "VatTotal": 22.0,
      "VatTotalHc": 23.0,
      "Amount": 24.0,
      "Name": "sample string 25",
      "PriceListItemId": 1,
      "PriceType": 0,
      "Unit": "sample string 26",
      "UnitPrice": 27.0,
      "VatCodeId": 1,
      "VatRateType": 0,
      "Id": 28
    }
  ],
  "NumericSequenceId": 1,
  "AttachmentFileName": "sample string 2",
  "VatReverseChargeCodeId": 1,
  "TotalDiscountAmount": 3.0,
  "TotalWithoutDiscount": 4.0,
  "BaseTaxBasicRate": 5.0,
  "BaseTaxBasicRateHc": 6.0,
  "BaseTaxReducedRate1": 7.0,
  "BaseTaxReducedRate1Hc": 8.0,
  "BaseTaxReducedRate2": 9.0,
  "BaseTaxReducedRate2Hc": 10.0,
  "BaseTaxZeroRate": 11.0,
  "BaseTaxZeroRateHc": 12.0,
  "ConstantSymbolId": 13,
  "CurrencyId": 14,
  "DateLastChange": "2024-12-01T04:23:47.1665591+00:00",
  "DateOfAccountingEvent": "2024-12-01T04:23:47.1665591+00:00",
  "DateOfIssue": "2024-12-01T04:23:47.1665591+00:00",
  "DateOfLastReminder": "2024-12-01T04:23:47.1665591+00:00",
  "DateOfMaturity": "2024-12-01T04:23:47.1665591+00:00",
  "DateOfPayment": "2024-12-01T04:23:47.1665591+00:00",
  "DateOfTaxing": "2024-12-01T04:23:47.1665591+00:00",
  "DateOfVatApplication": "2024-12-01T04:23:47.1665591+00:00",
  "Description": "sample string 23",
  "Discount": 24.0,
  "DocumentNumber": "sample string 25",
  "DocumentSerialNumber": 26,
  "EetResponsibility": 0,
  "ExchangeRate": 27.0,
  "ExchangeRateAmount": 28.0,
  "Exported": 0,
  "HasVatRegimeOss": true,
  "IsEet": true,
  "IsSentToAccountant": true,
  "IsSentToPurchaser": true,
  "ItemsTextPrefix": "sample string 33",
  "ItemsTextSuffix": "sample string 34",
  "LanguageCode": "sample string 35",
  "LanguageId": 36,
  "Maturity": 37,
  "MyCompanyDocumentAdrressId": 38,
  "Note": "sample string 39",
  "OrderNumber": "sample string 40",
  "PaymentOptionId": 41,
  "PaymentStatus": 0,
  "PurchaserDocumentAddressId": 42,
  "PurchaserId": 43,
  "RemindersCount": 44,
  "ReportColorValue": "sample string 45",
  "ReportId": 46,
  "RoundingDifference": 47.0,
  "TaxBasicRate": 48.0,
  "TaxBasicRateHc": 49.0,
  "TaxReducedRate1": 50.0,
  "TaxReducedRate1Hc": 51.0,
  "TaxReducedRate2": 52.0,
  "TaxReducedRate2Hc": 53.0,
  "TotalBasicRate": 54.0,
  "TotalBasicRateHc": 55.0,
  "TotalReducedRate1": 56.0,
  "TotalReducedRate1Hc": 57.0,
  "TotalReducedRate2": 58.0,
  "TotalReducedRate2Hc": 59.0,
  "TotalVat": 60.0,
  "TotalVatHc": 61.0,
  "TotalWithoutVat": 62.0,
  "TotalWithoutVatHc": 63.0,
  "TotalWithVat": 64.0,
  "TotalWithVatHc": 65.0,
  "VariableSymbol": "sample string 66",
  "VatOnPayStatus": 0,
  "VatRateBasic": 67.0,
  "VatRateReduced1": 68.0,
  "VatRateReduced2": 69.0,
  "VatRegime": 0,
  "IsIncomeTax": true,
  "RecountVersion": 0,
  "Id": 71
}
Sample:
<IssuedInvoiceApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">71</Id>
  <Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Links>
  <BaseTaxBasicRate>5</BaseTaxBasicRate>
  <BaseTaxBasicRateHc>6</BaseTaxBasicRateHc>
  <BaseTaxReducedRate1>7</BaseTaxReducedRate1>
  <BaseTaxReducedRate1Hc>8</BaseTaxReducedRate1Hc>
  <BaseTaxReducedRate2>9</BaseTaxReducedRate2>
  <BaseTaxReducedRate2Hc>10</BaseTaxReducedRate2Hc>
  <BaseTaxZeroRate>11</BaseTaxZeroRate>
  <BaseTaxZeroRateHc>12</BaseTaxZeroRateHc>
  <ConstantSymbolId>13</ConstantSymbolId>
  <CurrencyId>14</CurrencyId>
  <DateLastChange>2024-12-01T04:23:47.1665591+00:00</DateLastChange>
  <DateOfAccountingEvent>2024-12-01T04:23:47.1665591+00:00</DateOfAccountingEvent>
  <DateOfIssue>2024-12-01T04:23:47.1665591+00:00</DateOfIssue>
  <DateOfLastReminder>2024-12-01T04:23:47.1665591+00:00</DateOfLastReminder>
  <DateOfMaturity>2024-12-01T04:23:47.1665591+00:00</DateOfMaturity>
  <DateOfPayment>2024-12-01T04:23:47.1665591+00:00</DateOfPayment>
  <DateOfTaxing>2024-12-01T04:23:47.1665591+00:00</DateOfTaxing>
  <DateOfVatApplication>2024-12-01T04:23:47.1665591+00:00</DateOfVatApplication>
  <Description>sample string 23</Description>
  <Discount>24</Discount>
  <DocumentNumber>sample string 25</DocumentNumber>
  <DocumentSerialNumber>26</DocumentSerialNumber>
  <EetResponsibility>Idoklad</EetResponsibility>
  <ExchangeRate>27</ExchangeRate>
  <ExchangeRateAmount>28</ExchangeRateAmount>
  <Exported>0</Exported>
  <HasVatRegimeOss>true</HasVatRegimeOss>
  <IsEet>true</IsEet>
  <IsIncomeTax>true</IsIncomeTax>
  <IsSentToAccountant>true</IsSentToAccountant>
  <IsSentToPurchaser>true</IsSentToPurchaser>
  <ItemsTextPrefix>sample string 33</ItemsTextPrefix>
  <ItemsTextSuffix>sample string 34</ItemsTextSuffix>
  <LanguageCode>sample string 35</LanguageCode>
  <LanguageId>36</LanguageId>
  <Maturity>37</Maturity>
  <MyCompanyDocumentAdrressId>38</MyCompanyDocumentAdrressId>
  <Note>sample string 39</Note>
  <OrderNumber>sample string 40</OrderNumber>
  <PaymentOptionId>41</PaymentOptionId>
  <PaymentStatus>0</PaymentStatus>
  <PurchaserDocumentAddressId>42</PurchaserDocumentAddressId>
  <PurchaserId>43</PurchaserId>
  <RecountVersion>None</RecountVersion>
  <RemindersCount>44</RemindersCount>
  <ReportColorValue>sample string 45</ReportColorValue>
  <ReportId>46</ReportId>
  <RoundingDifference>47</RoundingDifference>
  <TaxBasicRate>48</TaxBasicRate>
  <TaxBasicRateHc>49</TaxBasicRateHc>
  <TaxReducedRate1>50</TaxReducedRate1>
  <TaxReducedRate1Hc>51</TaxReducedRate1Hc>
  <TaxReducedRate2>52</TaxReducedRate2>
  <TaxReducedRate2Hc>53</TaxReducedRate2Hc>
  <TotalBasicRate>54</TotalBasicRate>
  <TotalBasicRateHc>55</TotalBasicRateHc>
  <TotalReducedRate1>56</TotalReducedRate1>
  <TotalReducedRate1Hc>57</TotalReducedRate1Hc>
  <TotalReducedRate2>58</TotalReducedRate2>
  <TotalReducedRate2Hc>59</TotalReducedRate2Hc>
  <TotalVat>60</TotalVat>
  <TotalVatHc>61</TotalVatHc>
  <TotalWithVat>64</TotalWithVat>
  <TotalWithVatHc>65</TotalWithVatHc>
  <TotalWithoutVat>62</TotalWithoutVat>
  <TotalWithoutVatHc>63</TotalWithoutVatHc>
  <VariableSymbol>sample string 66</VariableSymbol>
  <VatOnPayStatus>0</VatOnPayStatus>
  <VatRateBasic>67</VatRateBasic>
  <VatRateReduced1>68</VatRateReduced1>
  <VatRateReduced2>69</VatRateReduced2>
  <VatRegime>NonVatRegime</VatRegime>
  <AttachmentFileName>sample string 2</AttachmentFileName>
  <IssuedInvoiceItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
    <d2p1:IssuedInvoiceItemApiModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">28</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>24</d2p1:Amount>
      <d2p1:Name>sample string 25</d2p1:Name>
      <d2p1:PriceListItemId>1</d2p1:PriceListItemId>
      <d2p1:PriceType>0</d2p1:PriceType>
      <d2p1:Unit>sample string 26</d2p1:Unit>
      <d2p1:UnitPrice>27</d2p1:UnitPrice>
      <d2p1:VatCodeId>1</d2p1:VatCodeId>
      <d2p1:VatRateType>0</d2p1:VatRateType>
      <d2p1:Code>sample string 5</d2p1:Code>
      <d2p1:DateLastChange>2024-12-01T04:23:47.1665591+00:00</d2p1:DateLastChange>
      <d2p1:IsRoundedItem>true</d2p1:IsRoundedItem>
      <d2p1:IsTaxMovement>true</d2p1:IsTaxMovement>
      <d2p1:ItemType>0</d2p1:ItemType>
      <d2p1:Price>9</d2p1:Price>
      <d2p1:PriceTotalWithVat>12</d2p1:PriceTotalWithVat>
      <d2p1:PriceTotalWithVatHc>13</d2p1:PriceTotalWithVatHc>
      <d2p1:PriceTotalWithoutVat>10</d2p1:PriceTotalWithoutVat>
      <d2p1:PriceTotalWithoutVatHc>11</d2p1:PriceTotalWithoutVatHc>
      <d2p1:PriceUnitVat>14</d2p1:PriceUnitVat>
      <d2p1:PriceUnitVatHc>15</d2p1:PriceUnitVatHc>
      <d2p1:PriceUnitWithVat>18</d2p1:PriceUnitWithVat>
      <d2p1:PriceUnitWithVatHc>19</d2p1:PriceUnitWithVatHc>
      <d2p1:PriceUnitWithoutVat>16</d2p1:PriceUnitWithoutVat>
      <d2p1:PriceUnitWithoutVatHc>17</d2p1:PriceUnitWithoutVatHc>
      <d2p1:TotalPrice>20</d2p1:TotalPrice>
      <d2p1:VatRate>21</d2p1:VatRate>
      <d2p1:VatTotal>22</d2p1:VatTotal>
      <d2p1:VatTotalHc>23</d2p1:VatTotalHc>
      <d2p1:InvoiceId>1</d2p1:InvoiceId>
      <d2p1:TotalVatBeforeDiscount>4</d2p1:TotalVatBeforeDiscount>
      <d2p1:TotalWithVatBeforeDiscount>2</d2p1:TotalWithVatBeforeDiscount>
      <d2p1:TotalWithoutVatBeforeDiscount>3</d2p1:TotalWithoutVatBeforeDiscount>
    </d2p1:IssuedInvoiceItemApiModel>
  </IssuedInvoiceItems>
  <NumericSequenceId>1</NumericSequenceId>
  <TotalDiscountAmount>3</TotalDiscountAmount>
  <TotalWithoutDiscount>4</TotalWithoutDiscount>
  <VatReverseChargeCodeId>1</VatReverseChargeCodeId>
</IssuedInvoiceApiModel>