invoiceLine Structure
It contains all the necessary fields required for an invoice line.
Name | Description | |
---|---|---|
Quantity | The quantity, type of Double | |
RecType |
The record type, type of Integer default value -1. This field should be populated when the line contains fees or other duties subject to VAT. Additionally, this field should have values if the line is about "Gift Card". Get a list of all record types using myDATATools.getRecType |
|
VatAmount |
mandatory field It is the Math netValue * (vatCategory / 100) The vat amount, type of Double |
|
VatCategory |
mandatory field The vat category, type of Integer Determines the VAT percentage of the line. Get a list of all VatCategory using myDATATools.getVatCategory |
|
classification | The line classification details, type of classification | |
deductionsAmount |
The deductions amount, type of Double
This field must be populated if elements.lineData = true and the line contains Deductions. |
|
dienergia | The dienergia, type of dienergia This field determines the ship's details. Use it only when the invoice is about selling ships. | |
discountOption | The discount option, type of Boolean | |
feesAmount |
The fees amount, type of Double This field must be populated if elements.lineData = true and the line contains Fees. |
|
feesPercentCategory |
The fees percent category, type of Integer default value -1. This field must be populated if elements.lineData = true and the line contains Fees. Get a list of all feesPercentCategory using myDATATools.getFeesCategory |
|
invoiceDetailType |
The invoice detail type, type of Integer This field should have values only when the invoiceType is 1.5 (Clearance of Sales). To see how to syntax an invoice 1.5, check the example 1.5 (Clearance of Sales) default value -1. Get a list of all invoiceDetailType using myDATATools.getInvoiceDetailType |
|
itemCode |
The item's Code, type of String Typically, the SKU (Stock Keeping Unit) number or an alternative internal item designation is utilised. Use this field only on invoices 1.1 [A dispatch note and invoice are enclosed], or on invoices 9.3. |
|
itemDescr |
The item description, type of String Use this field only on tax-free invoices, or on invoices 1.1 [A dispatch note and invoice are enclosed], or on invoices 9.3. |
|
lineComments | The line comments, type of String A free-text field to add a comment for the current line. | |
measurementUnit |
The measurement unit, type of Integer default value -1. Get a list of all measurementUnit using myDATATools.getMeasurementUnit |
|
netValue | The net value, type of Double | |
notVAT195 |
Ιndication of non-participation in VAT Acceptable only for Invoice Types 1.1–11.5. |
|
otherMeasurementTitle |
Only when measurementUnit=7 (Other Measurement Unit) is it applicable. This is a free-text field in which the "Other Measurment Unit" should be described. |
|
otherQuantity |
Only when measurementUnit=7 (Other Measurement Unit) is it applicable. In this case, the absolute value of the quantity of the item is appended as an integer. |
|
otherTaxesAmount |
The other taxes amount, type of Double
This field must be populated if elements.lineData = true and the line contains Other Taxes. |
|
otherTaxesPercentCategory |
The other taxes percent category, type of Integer default value -1. This field must be populated if elements.lineData = true and the line contains Other Taxes. Get a list of all otherTaxesPercentCategory using myDATATools.getOtherTaxesCategory |
|
stampDutyAmount |
The stamp duty amount, type of Double This field must be populated if elements.lineData = true and the line contains Stamp Duty. |
|
stampDutyPercentCategory |
The stamp duty percent category, type of Integer default value -1. This field must be populated if elements.lineData = true and the line contains Stamp Duty. Get a list of all stampDutyPercentCategory using myDATATools.getStampDutyCategory |
|
taricNo |
The item's Taric Number, type of String Typically, it is the ten-character Integrated Tariff of the European Union. Use this field only on invoices 1.1 [A dispatch note and invoice are enclosed], or on invoices 9.3. |
|
vatExemptionCategory |
mandatory field when VatCategory is 7 (0,00%) The vat exemption category, type of Integer default value -1. Get a list of all vatExemptionCategory using myDATATools.getVatExemptionCategory |
|
withheldAmount |
The withheld amount, type of Double This field must be populated if elements.lineData = true and the line contains Withholding. |
|
withheldPercentCategory |
The withheld percent category, type of Integer default value -1. This field must be populated if elements.lineData = true and the line contains Withholding. Get a list of all withheldPercentCategory using myDATATools.getWithheldCategory |