AddProformaInvoice - method

Input

Input is .xml file with following marks.

Element

Item description

Obligation

<ProformaInvoiceHeader>

 

 

+<ProformaInvoiceYear>

Proforma invoice year

 

+<ProformaInvoiceBook>

Proforma invoice book

 

+<CustomerID>

Customer ID

 

+<CustomerPayerID>

Customer payer ID

 

+<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

 

+<CurrencyID>

Currency ID

 

+<ExchangeRateDate>

Exchange rate date

 

+<Document>

Document

 

+<Comment>

Comment

 

+<DocumentHeaderDescription>

Document header description

 

+<DocumentFooterDescription>

Document footer description

 

+<LanguageID>

Language ID

 

+<VATCalculated>

VAT calculated

 

+<VATInvoiceType>

VAT invoice type

 

+<PriceListID>

Price list ID

 

+<RebatePercentage>

Rebate percentage

 

+<RebatePercentage2>

Rebate percentage2

 

+<RebatePercentage3>

Rebate percentage3

 

+<RebatePercentage4>

Rebate percentage4

 

+<RebatePercentage5>

Rebate percentage5

 

+<RebateAmountAmount>

Rebate amount amount

 

+<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

 

+<DeliveryType>

Delivery type

 

+<ParityCode>

Parity code

 

+<PaymentCodeID>

Payment code ID

 

+<ParityPlace>

Parity place

 

+<DocumentSalesType>

Document sales type

 

+<Analytic_AN1_ID>

Analytic AN1 ID

 

+<Analytic_AN2_ID>

Analytic AN2 ID

 

+<Analytic_AN3_ID>

Analytic AN3 ID

 

+<DateVD>

Date VD

 

+<CodeVD>

Code VD

 

+<CodeVR>

Code VR

 

+<DiscountGroupID>

Discount group ID

 

+<AnnexID>

Annex ID

 

+<FolderID>

Folder ID

 

+<PaymentReferenceExternal>

Payment reference external

 

+<ProformaInvoiceLines>

 

 

++<ProformaInvoiceLine>

 

 

+++<LineNumber>

Line number

 

+++<ItemID>

Item ID

 

+++<ItemIDType>

Item ID type

 

+++<Quantity>

Quantity

 

+++<Price>

Price

 

+++<Series>

Series

 

+++<ItemTitle1>

Item title1

 

+++<ItemTitle2>

Item title2

 

+++<UnitOfMeasurment>

Unit of measurment

 

+++<ItemDescription>

Item description

 

+++<VATRateID>

VAT rate ID

 

+++<Note>

Note

 

+++<DiscountPercentage>

Discount percentage

 

+++<DiscountPercentage2>

Discount percentage2

 

+++<DiscountPercentage3>

Discount percentage3

 

+++<DiscountPercentage4>

Discount percentage4

 

+++<DiscountPercentage5>

Discount percentage5

 

+++<DiscountAmountAmount>

Discount amount 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

 

+++<VATRateDescription>

VAT rate description

 

+++<VATCalculated>

VAT calculated

 

+++<VATInvoiceType>

VAT invoice type

 

+++<Reference>

Reference

 

+++<TextLine>

Text line

 

 

 

 

Output

The output is a .xml file in which it is stated, if the method is successful or not.

Natisni