GetInvoice - method

Input

Input are following parameters.

Element

Item description

Obligation

invoiceYear

Invoice year

Yes

invoiceBook

Invoice book

Yes

invoiceNumber

Invoice number

Yes

 

 

 

Output

Output is .xml file with following marks.

Element

Item description

<InvoiceHeader>

 

+<InvoiceYear>

Invoice year

+<InvoiceBook>

Invoice book

+<InvoiceNumber>

Invoice number

+<PayerID>

Payer ID

+<PayerTitle1>

Payer title1

+<PayerTitle2>

Payer title2

+<PayerTitle3>

Payer title3

+<PayerAddress>

Payer address

+<PayerHouseNo>

Payer house no

+<PayerPostalCode>

Payer postal code

+<PayerCity>

Payer city

+<PayerCountry>

Payer country

+<PayerTaxNumber>

Payer tax number

+<RecipientID>

Recipient ID

+<RecipientTitle1>

Recipient title1

+<RecipientTitle2>

Recipient title2

+<RecipientTitle3>

Recipient title3

+<RecipientAddress>

Recipient address

+<RecipientHouseNo>

Recipient house no

+<RecipientPostalCode>

Recipient postal code

+<RecipientCity>

Recipient city

+<RecipientCountry>

Recipient country

+<RecipientShopID>

Recipient shop ID

+<RecipientTaxNumber>

Recipient tax number

+<DeliveryTitle1>

Delivery title1

+<DeliveryTitle2>

Delivery title2

+<DeliveryTitle3>

Delivery title3

+<DeliveryAddress>

Delivery address

+<DeliveryHouseNo>

Delivery house no

+<DeliveryPostalCode>

Delivery postal code

+<DeliveryCity>

Delivery city

+<DeliveryCountry>

Delivery country

+<InvoiceDate>

Invoice date

+<DeliveryDateFrom>

Delivery date from

+<DeliveryDateTo>

Delivery date to

+<DueDate>

Due date

+<PaymentReference>

Payment reference

+<CurrencyID>

Currency ID

+<ExchangeRateDate>

Exchange rate date

+<ExchangeRate>

Exchange rate

+<ExchangeRateBase>

Exchange rate base

+<ExchangeRateID>

Exchange rate ID

+<CurrencyClause>

Currency clause

+<Document>

Document

+<Note>

Note

+<DocumentHeaderDescription>

Document header description

+<DocumentFooterDescription>

Document footer description

+<LanguageID>

Language ID

+<VATCalculated>

VAT calculated

+<VATInvoiceType>

VAT invoice type

+<DistanceSale>

Distance sale

+<AssemblingAndInstallation>

Assembling and installation

+<VAT_NonTaxable_Deduction>

VAT non taxable deduction

+<Status>

Status

+<StatusDate>

Status date

+<StatusLines>

Status lines

+<PriceListID>

Price list ID

+<RebatePercentage>

Rebate percentage

+<RebatePercentage2>

Rebate percentage2

+<RebatePercentage3>

Rebate percentage3

+<RebatePercentage4>

Rebate percentage4

+<RebatePercentage5>

Rebate percentage5

+<GrossAmout>

Gross amout

+<DiscountAmount>

Discount amount

+<RebateAmount>

Rebate amount

+<NetAmount>

Net amount

+<VATAmount>

VAT amount

+<RoundingAmount>

Rounding amount

+<PaymentAmount>

Payment amount

+<AdvancePaymentAmount>

Advance payment amount

+<VATAdvancePaymentAmount>

VAT advance payment amount

+<RoundingAdvancePaymentAmount>

Rounding advance payment amount

+<PaymentAdvancePaymentAmount>

Payment advance payment amount

+<RebateAmountAmount>

Rebate amount amount

+<Attachment>

Attachment

+<AttachmentOriginal>

Attachment original

+<InsertedBy>

Inserted by

+<InsertedTime>

Inserted time

+<ModifiedBy>

Modified by

+<ModifiedTime>

Modified time

+<CostCenterID>

Cost center ID

+<CostUnitID>

Cost unit ID

+<WorkOrderID>

Work order ID

+<ClerkID>

Clerk ID

+<AnalyticID>

Analytic ID

+<AccountingBookGroupID>

Accounting book group ID

+<ApplicationName>

Application name

+<LinkToDocument>

Link to document

+<AccountingDescription>

Accounting description

+<InstallmentPayment>

Installment payment

+<NumberOfInstallmentPayment>

Number of installment payment

+<CashTransactionsReference>

Cash transactions reference

+<CashTransactionsID>

Cash transactions ID

+<TaxNumberSecondary>

Tax number secondary

+<CustomerClerkName>

Customer clerk name

+<CustomerClerkID>

Customer clerk ID

+<DeliveryType>

Delivery type

+<DeliveryPlace>

Delivery place

+<PaymentCodeID>

Payment code ID

+<EnvironmentalTaxAmount>

Environmental tax amount

+<ParityCode>

Parity code

+<ParityPlace>

Parity place

+<CashOperation>

Cash operation

+<InvoiceLines>

 

++<InvoiceLine>

 

+++<LineNumber>

Line number

+++<ItemCode>

Item code

+++<ItemEAN>

Item EAN

+++<AlternateUnitOfMeasurment>

Alternate unit of measurment

+++<AlternateConvertFactor>

Alternate convert factor

+++<AlternateQuantity>

Alternate quantity

+++<AlternateEAN>

Alternate EAN

+++<Series>

Series

+++<ItemTitle1>

Item title1

+++<ItemTitle2>

Item title2

+++<UnitOfMeasurment>

Unit of measurment

+++<ItemDescription>

Item description

+++<VATRateID>

VAT rate ID

+++<VATRatePercent>

VAT rate percent

+++<Note>

Note

+++<Quantity>

Quantity

+++<QuantityAdditionalUOM>

Quantity additional UOM

+++<Price>

Price

+++<PriceWithVAT>

Price with VAT

+++<UnitsForprice>

Units forprice

+++<DiscountPercentage>

Discount percentage

+++<DiscountPercentage2>

Discount percentage2

+++<DiscountPercentage3>

Discount percentage3

+++<DiscountPercentage4>

Discount percentage4

+++<DiscountPercentage5>

Discount percentage5

+++<DiscountAmount>

Discount amount

+++<DiscountAmountAmount>

Discount amount amount

+++<RebateAmount>

Rebate amount

+++<RebateAmountAmount>

Rebate amount amount

+++<VATAmount>

VAT amount

+++<GrossAmout>

Gross amout

+++<IntermediateAmount>

Intermediate amount

+++<NetAmount>

Net amount

+++<CostCenterID>

Cost center ID

+++<CostUnitID>

Cost unit ID

+++<WorkOrderID>

Work order ID

+++<ClerkID>

Clerk ID

+++<AnalyticID>

Analytic ID

+++<Analytic_AN1_ID>

Analytic AN1 ID

+++<Analytic_AN2_ID>

Analytic AN2 ID

+++<Analytic_AN3_ID>

Analytic AN3 ID

+++<VATCalculated>

VAT calculated

+++<VATRateDescription>

VAT rate description

+++<VATInvoiceType>

VAT invoice type

+++<DistanceSale>

Distance sale

+++<AssemblingAndInstallation>

Assembling and installation

+++<VAT_NonTaxable_Deduction>

VAT non taxable deduction

+++<Reference>

Reference

+++<TextLine>

Text line

+++<EnvironmentalTaxAmount>

Environmental tax amount

+++<EnvironmentalTaxAmount2>

Environmental tax amount2

+++<InsertedBy>

Inserted by

+++<InsertedTime>

Inserted time

+++<ModifiedBy>

Modified by

+++<ModifiedTime>

Modified time

Natisni