Request Information

Method returns copy of proforma invoice. Returned resource is suitable for new invoice creation.

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

Invoice Id

integer

Required

id

Invoice Id

integer

Required

None.

Response Information

ProformaInvoiceApiModelInsert
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.

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.

IsProformaTaxed

boolean

None.

ItemsTextPrefix

string

None.

ItemsTextSuffix

string

None.

LanguageCode

string

None.

Note

string

None.

OrderNumber

string

Length: between 0 and 20 inclusive

PaymentOptionId

integer

None.

ProformaInvoiceItems

Collection of IssuedInvoiceItemApiModelWrite

Required

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

Sample:
{
  "EetResponsibility": 0,
  "IsEet": true,
  "IsProformaTaxed": true,
  "ProformaInvoiceItems": [
    {
      "Amount": 1.0,
      "Name": "sample string 2",
      "PriceListItemId": 1,
      "PriceType": 0,
      "Unit": "sample string 3",
      "UnitPrice": 4.0,
      "VatCodeId": 1,
      "VatRateType": 0,
      "Id": 5
    }
  ],
  "SalesPosEquipmentId": 1,
  "AccountNumber": "sample string 3",
  "BankId": 4,
  "BankName": "sample string 5",
  "BankNumberCode": "sample string 6",
  "ConstantSymbolId": 7,
  "CurrencyId": 8,
  "DateOfIssue": "2021-05-08T06:23:14.8824057+00:00",
  "DateOfMaturity": "2021-05-08T06:23:14.8824057+00:00",
  "DateOfPayment": "2021-05-08T06:23:14.8824057+00:00",
  "DateOfTaxing": "2021-05-08T06:23:14.8824057+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:
<ProformaInvoiceApiModelInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.ProformaInvoice">
  <AccountNumber xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 3</AccountNumber>
  <BankId xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">4</BankId>
  <BankName xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 5</BankName>
  <BankNumberCode xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 6</BankNumberCode>
  <ConstantSymbolId xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">7</ConstantSymbolId>
  <CurrencyId xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">8</CurrencyId>
  <DateOfIssue xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">2021-05-08T06:23:14.8824057+00:00</DateOfIssue>
  <DateOfMaturity xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">2021-05-08T06:23:14.8824057+00:00</DateOfMaturity>
  <DateOfPayment xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">2021-05-08T06:23:14.8824057+00:00</DateOfPayment>
  <DateOfTaxing xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">2021-05-08T06:23:14.8824057+00:00</DateOfTaxing>
  <Description xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 13</Description>
  <DiscountPercentage xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">14</DiscountPercentage>
  <DocumentNumber xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 15</DocumentNumber>
  <DocumentSerialNumber xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">16</DocumentSerialNumber>
  <ExchangeRate xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">17</ExchangeRate>
  <ExchangeRateAmount xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">18</ExchangeRateAmount>
  <Iban xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 19</Iban>
  <IsIncomeTax xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">true</IsIncomeTax>
  <ItemsTextPrefix xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 20</ItemsTextPrefix>
  <ItemsTextSuffix xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 21</ItemsTextSuffix>
  <LanguageCode xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 22</LanguageCode>
  <Note xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 23</Note>
  <OrderNumber xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 24</OrderNumber>
  <PaymentOptionId xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">25</PaymentOptionId>
  <PurchaserId xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">26</PurchaserId>
  <ReportColorValue xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 27</ReportColorValue>
  <Swift xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 28</Swift>
  <VariableSymbol xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.IssuedInvoice">sample string 29</VariableSymbol>
  <EetResponsibility>Idoklad</EetResponsibility>
  <IsEet>true</IsEet>
  <IsProformaTaxed>true</IsProformaTaxed>
  <ProformaInvoiceItems 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>
  </ProformaInvoiceItems>
  <SalesPosEquipmentId>1</SalesPosEquipmentId>
</ProformaInvoiceApiModelInsert>