Request Information

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

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

Invoice Id

integer

Required

id

Invoice Id

integer

Required

None.

Response Information

ReceivedInvoiceApiModelInsert
NameDescriptionTypeAdditional information
AccountNumber

string

Length: between 0 and 50 inclusive

BankId

integer

None.

BankNumberCode

string

Length: between 0 and 4 inclusive

CurrencyId

integer

None.

DateOfIssue

date

None.

DateOfMaturity

date

None.

DateOfPayment

date

None.

DateOfReceiving

date

None.

DateOfTaxing

date

None.

DateOfVatApplication

Date of VAT application

date

Used in Sk legislation.

Description

string

None.

DocumentNumber

string

Readonly

DocumentSerialNumber

integer

None.

ExchangeRate

decimal number

None.

ExchangeRateAmount

decimal number

None.

Iban

string

Length: between 0 and 50 inclusive

IsIncomeTax

Include subject to income tax

boolean

Used in Cz legislation.

Note

string

None.

OrderNumber

string

Length: between 0 and 20 inclusive

PaymentOptionId

integer

None.

ReceivedDocumentNumber

Document number of the original document

string

Length: between 0 and 30 inclusive

ReceivedInvoiceItems

Collection of ReceivedInvoiceItemApiModelInsert

Required

SupplierId

integer

Required

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:
{
  "AccountNumber": "sample string 1",
  "BankId": 2,
  "BankNumberCode": "sample string 3",
  "CurrencyId": 4,
  "DateOfIssue": "2021-05-11T11:26:57.9913099+00:00",
  "DateOfMaturity": "2021-05-11T11:26:57.9913099+00:00",
  "DateOfPayment": "2021-05-11T11:26:57.9913099+00:00",
  "DateOfReceiving": "2021-05-11T11:26:57.9913099+00:00",
  "DateOfTaxing": "2021-05-11T11:26:57.9913099+00:00",
  "Description": "sample string 5",
  "DocumentSerialNumber": 6,
  "DocumentNumber": "sample string 7",
  "ExchangeRate": 8.0,
  "ExchangeRateAmount": 9.0,
  "Iban": "sample string 10",
  "Note": "sample string 11",
  "OrderNumber": "sample string 12",
  "PaymentOptionId": 13,
  "ReceivedDocumentNumber": "sample string 14",
  "ReceivedInvoiceItems": [
    {
      "Amount": 1.0,
      "CustomVatRate": 1.0,
      "Name": "sample string 2",
      "PriceListItemId": 1,
      "PriceType": 0,
      "Unit": "sample string 3",
      "UnitPrice": 4.0,
      "VatCodeId": 1,
      "VatRateType": 0,
      "Id": 5
    }
  ],
  "SupplierId": 15,
  "Swift": "sample string 16",
  "VariableSymbol": "sample string 17",
  "VatOnPayStatus": 0,
  "DateOfVatApplication": "2021-05-11T11:26:57.9913099+00:00",
  "VatReverseChargeCodeId": 1,
  "IsIncomeTax": true
}
Sample:
<ReceivedInvoiceApiModelInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.ReceivedInvoice">
  <AccountNumber>sample string 1</AccountNumber>
  <BankId>2</BankId>
  <BankNumberCode>sample string 3</BankNumberCode>
  <CurrencyId>4</CurrencyId>
  <DateOfIssue>2021-05-11T11:26:57.9913099+00:00</DateOfIssue>
  <DateOfMaturity>2021-05-11T11:26:57.9913099+00:00</DateOfMaturity>
  <DateOfPayment>2021-05-11T11:26:57.9913099+00:00</DateOfPayment>
  <DateOfReceiving>2021-05-11T11:26:57.9913099+00:00</DateOfReceiving>
  <DateOfTaxing>2021-05-11T11:26:57.9913099+00:00</DateOfTaxing>
  <DateOfVatApplication>2021-05-11T11:26:57.9913099+00:00</DateOfVatApplication>
  <Description>sample string 5</Description>
  <DocumentNumber>sample string 7</DocumentNumber>
  <DocumentSerialNumber>6</DocumentSerialNumber>
  <ExchangeRate>8</ExchangeRate>
  <ExchangeRateAmount>9</ExchangeRateAmount>
  <Iban>sample string 10</Iban>
  <IsIncomeTax>true</IsIncomeTax>
  <Note>sample string 11</Note>
  <OrderNumber>sample string 12</OrderNumber>
  <PaymentOptionId>13</PaymentOptionId>
  <ReceivedDocumentNumber>sample string 14</ReceivedDocumentNumber>
  <ReceivedInvoiceItems>
    <ReceivedInvoiceItemApiModelInsert>
      <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>
      <Amount>1</Amount>
      <CustomVatRate>1</CustomVatRate>
      <Name>sample string 2</Name>
      <PriceListItemId>1</PriceListItemId>
      <PriceType>0</PriceType>
      <Unit>sample string 3</Unit>
      <UnitPrice>4</UnitPrice>
      <VatCodeId>1</VatCodeId>
      <VatRateType>0</VatRateType>
    </ReceivedInvoiceItemApiModelInsert>
  </ReceivedInvoiceItems>
  <SupplierId>15</SupplierId>
  <Swift>sample string 16</Swift>
  <VariableSymbol>sample string 17</VariableSymbol>
  <VatOnPayStatus>0</VatOnPayStatus>
  <VatReverseChargeCodeId>1</VatReverseChargeCodeId>
</ReceivedInvoiceApiModelInsert>