Request Information

Returns cash voucher with related entities by Id.

Example URL:
v2.0/CashVouchers/{id}/Expand
NameDescriptionTypeAdditional information
id

Cash voucher Id

integer

Required

id

Cash voucher Id

integer

Required

None.

Response Information

CashVoucherApiModelExpand
NameDescriptionTypeAdditional information
CashRegister

CashRegisterApiModel

None.

CashRegisterId

Cash register id

integer

None.

Currency

CurrencyApiModel

None.

CurrencyId

The currency id.

integer

None.

DateLastChange

Date since the last change

date

Readonly

DateOfTransaction

The date of transaction

date

Required

DocumentNumber

DocumentNumber

string

None.

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.

Id

Resource identifier

integer

Readonly

IsEet

Indicates whether the cash voucher is registered in EET.

boolean

None.

IsIncomeTax

Include subject to income tax

boolean

Used in Cz legislation.

IsSummarySalesReceipt

Flag for summary cash vouchers from sales receipts

boolean

None.

Item

[Deprecated - Only returns the first item] The cash voucher item.

CashVoucherItemApiModel

Only returns the first item. Use Items.

Items

The cash voucher items.

Collection of CashVoucherItemApiModel

None.

MovementType

The movement type (issue/entry)

MovementType

None.

MyCompanyDocumentAddress

DocumentAddressApiModel

None.

MyCompanyDocumentAddressId

Id of your contact information at the time of saving.

integer

None.

Name

Document name or descritpion

string

None.

PartnerContact

ContactApiModel

None.

PartnerContactId

Id of the partner's contact.

integer

None.

PartnerDocumentAddress

DocumentAddressApiModel

None.

PartnerDocumentAddressId

Id of the partner's contact at the time of saving.

integer

None.

Person

Name of the supplier/customer. Can also be used as a note.

string

None.

RecountVersion

Recount Version

RecountVersion

None.

RegisteredSale

Registered sale

RegisteredSaleApiModel

None.

SummarySalesReceiptDate

Date of accounting

date

None.

TotalVat

Total amount of VAT in used currency

decimal number

Readonly

TotalVatHc

Total amount of VAT in home currency

decimal number

Readonly

TotalWithoutVat

Total amount without VAT in the used currency.

decimal number

Readonly

TotalWithoutVatHc

Total amount without VAT in home currency

decimal number

Readonly

TotalWithVat

Total amount with VAT in used currency

decimal number

Readonly

TotalWithVatHc

Total amount with VAT in home currency

decimal number

Readonly

VariableSymbol

Variable symbol

string

None.

VatRegime

VAT regime

VatRegime

None.

Sample:
{
  "CashRegister": {
    "CurrencyId": 1,
    "DateInitialState": "2024-03-23T06:34:00.6303799+00:00",
    "InitialState": 3.0,
    "Name": "sample string 4",
    "Id": 5
  },
  "Currency": {
    "Code": "sample string 1",
    "Country": "sample string 2",
    "Name": "sample string 3",
    "Priority": 4,
    "Symbol": "sample string 5",
    "Id": 6
  },
  "MyCompanyDocumentAddress": {
    "AccountNumber": "sample string 1",
    "Bank": "sample string 2",
    "BankNumberCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "CountryId": 1,
    "DateLastChange": "2024-03-23T06:34:00.6303799+00:00",
    "Email": "sample string 7",
    "Fax": "sample string 8",
    "Firstname": "sample string 9",
    "Iban": "sample string 10",
    "IdentificationNumber": "sample string 11",
    "Mobile": "sample string 12",
    "NickName": "sample string 13",
    "Phone": "sample string 14",
    "PostalCode": "sample string 15",
    "Street": "sample string 16",
    "Surname": "sample string 17",
    "Swift": "sample string 18",
    "Title": "sample string 19",
    "VatIdentificationNumber": "sample string 20",
    "VatIdentificationNumberSk": "sample string 21",
    "Www": "sample string 22",
    "Id": 23
  },
  "PartnerContact": {
    "AddressIdg": "51b0164a-d6d4-48f2-a0a7-017d92adb14a",
    "CreditCheck": 0,
    "DateLastChange": "2024-03-23T06:34:00.6303799+00:00",
    "DefaultBankAccount": {
      "Bank": {
        "Code": "sample string 1",
        "Country": {
          "Code": "sample string 1",
          "Currency": {
            "Code": "sample string 1",
            "Country": "sample string 2",
            "Name": "sample string 3",
            "Priority": 4,
            "Symbol": "sample string 5",
            "Id": 6
          },
          "CurrencyId": 2,
          "DateLastChange": "2024-03-23T06:34:00.6460074+00:00",
          "Name": "sample string 4",
          "NameEnglish": "sample string 5",
          "IsEuMember": true,
          "Id": 7
        },
        "CountryId": 2,
        "DateLastChange": "2024-03-23T06:34:00.6460074+00:00",
        "Name": "sample string 4",
        "NumberCode": "sample string 5",
        "Swift": "sample string 6",
        "IsOutOfDate": true,
        "Id": 8
      },
      "Currency": {
        "Code": "sample string 1",
        "Country": "sample string 2",
        "Name": "sample string 3",
        "Priority": 4,
        "Symbol": "sample string 5",
        "Id": 6
      },
      "DateLastChange": "2024-03-23T06:34:00.6460074+00:00",
      "IsDefault": true,
      "CurrencyId": 3,
      "AccountNumber": "sample string 4",
      "BankId": 1,
      "Iban": "sample string 5",
      "Name": "sample string 6",
      "Swift": "sample string 7",
      "Id": 8
    },
    "Id": 3,
    "CompanyName": "sample string 4",
    "CountryId": 5,
    "IsRegisteredForVatOnPay": true,
    "DefaultInvoiceMaturity": 1,
    "City": "sample string 7",
    "DiscountPercentage": 1.0,
    "Email": "sample string 8",
    "Fax": "sample string 9",
    "Firstname": "sample string 10",
    "IdentificationNumber": "sample string 11",
    "IsSendReminder": true,
    "Mobile": "sample string 12",
    "Phone": "sample string 13",
    "PostalCode": "sample string 14",
    "Street": "sample string 15",
    "Surname": "sample string 16",
    "Title": "sample string 17",
    "VatIdentificationNumber": "sample string 18",
    "VatIdentificationNumberSk": "sample string 19",
    "Www": "sample string 20"
  },
  "PartnerDocumentAddress": {
    "AccountNumber": "sample string 1",
    "Bank": "sample string 2",
    "BankNumberCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "CountryId": 1,
    "DateLastChange": "2024-03-23T06:34:00.6303799+00:00",
    "Email": "sample string 7",
    "Fax": "sample string 8",
    "Firstname": "sample string 9",
    "Iban": "sample string 10",
    "IdentificationNumber": "sample string 11",
    "Mobile": "sample string 12",
    "NickName": "sample string 13",
    "Phone": "sample string 14",
    "PostalCode": "sample string 15",
    "Street": "sample string 16",
    "Surname": "sample string 17",
    "Swift": "sample string 18",
    "Title": "sample string 19",
    "VatIdentificationNumber": "sample string 20",
    "VatIdentificationNumberSk": "sample string 21",
    "Www": "sample string 22",
    "Id": 23
  },
  "CashRegisterId": 1,
  "CurrencyId": 2,
  "DateLastChange": "2024-03-23T06:34:00.6460074+00:00",
  "DateOfTransaction": "2024-03-23T06:34:00.6460074+00:00",
  "DocumentNumber": "sample string 5",
  "DocumentSerialNumber": 6,
  "EetResponsibility": 0,
  "ExchangeRate": 1.0,
  "ExchangeRateAmount": 1.0,
  "Exported": 0,
  "IsEet": true,
  "IsSummarySalesReceipt": true,
  "Item": {
    "Amount": 1.0,
    "Name": "sample string 2",
    "Price": 3.0,
    "PriceTotalWithoutVat": 4.0,
    "PriceTotalWithoutVatHc": 5.0,
    "PriceTotalWithVat": 6.0,
    "PriceTotalWithVatHc": 7.0,
    "PriceType": 0,
    "Status": 64,
    "VariableSymbol": "sample string 9",
    "VatRate": 10.0,
    "VatRateType": 0,
    "VatTotal": 11.0,
    "VatTotalHc": 12.0,
    "Id": 13
  },
  "Items": [
    {
      "Amount": 1.0,
      "Name": "sample string 2",
      "Price": 3.0,
      "PriceTotalWithoutVat": 4.0,
      "PriceTotalWithoutVatHc": 5.0,
      "PriceTotalWithVat": 6.0,
      "PriceTotalWithVatHc": 7.0,
      "PriceType": 0,
      "Status": 64,
      "VariableSymbol": "sample string 9",
      "VatRate": 10.0,
      "VatRateType": 0,
      "VatTotal": 11.0,
      "VatTotalHc": 12.0,
      "Id": 13
    }
  ],
  "MovementType": 1,
  "MyCompanyDocumentAddressId": 1,
  "Name": "sample string 9",
  "PartnerContactId": 1,
  "PartnerDocumentAddressId": 1,
  "Person": "sample string 10",
  "RegisteredSale": {
    "BaseTaxBasicRateHc": 1.0,
    "BaseTaxReducedRate1Hc": 2.0,
    "BaseTaxReducedRate2Hc": 3.0,
    "BaseTaxZeroRateHc": 4.0,
    "Bkp": "sample string 5",
    "CancelledRegisteredSaleId": 1,
    "CashVoucherId": 1,
    "DateOfAnswer": "2024-03-23T06:34:00.6460074+00:00",
    "DateOfSale": "2024-03-23T06:34:00.6460074+00:00",
    "DateOfSend": "2024-03-23T06:34:00.6460074+00:00",
    "DocumentNumber": "sample string 9",
    "DocumentType": 0,
    "EetRegime": 0,
    "ErrorCode": 10,
    "ErrorText": "sample string 11",
    "Fik": "sample string 12",
    "IsCanceled": true,
    "IsFirstReport": true,
    "IssuedInvoiceId": 1,
    "IssuedInvoicePaymentId": 1,
    "Pkp": "sample string 15",
    "ReceiptNumber": "sample string 16",
    "SalesOfficeDesignation": 17,
    "SalesPosEquipmentDesignation": "sample string 18",
    "SalesPosEquipmentId": 1,
    "SalesReceiptId": 1,
    "Status": 0,
    "TaxBasicRateHc": 19.0,
    "TaxReducedRate1Hc": 20.0,
    "TaxReducedRate2Hc": 21.0,
    "TotalAdvancePayment": 22.0,
    "TotalFromAdvancePayment": 23.0,
    "TotalTravelServiceHc": 24.0,
    "TotalUsedGoodsBasicRateHc": 25.0,
    "TotalUsedGoodsReducedRate1Hc": 26.0,
    "TotalUsedGoodsReducedRate2Hc": 27.0,
    "TotalWithVatHc": 28.0,
    "Uuid": "c61272de-2ff6-4a02-9d3f-d9bdbea8681b",
    "VatIdentificationNumber": "sample string 30",
    "Id": 31
  },
  "SummarySalesReceiptDate": "2024-03-23T06:34:00.6460074+00:00",
  "TotalVat": 12.0,
  "TotalVatHc": 13.0,
  "TotalWithoutVat": 14.0,
  "TotalWithoutVatHc": 15.0,
  "TotalWithVat": 16.0,
  "TotalWithVatHc": 17.0,
  "VariableSymbol": "sample string 18",
  "IsIncomeTax": true,
  "RecountVersion": 0,
  "VatRegime": 0,
  "Id": 20
}
Sample:

Sample not available.

Sample:

Sample not available.