invoiceLine Structure

Struct invoiceLine. 
It contains all the necessary fields required for an invoice line.
Public Structure invoiceLine
This language is not supported or no code example is available.
public struct invoiceLine
This language is not supported or no code example is available.
Fields
 
Name Description
Public field Quantity The quantity, type of Double
Public field 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
Public field VatAmount mandatory field 
It is the Math netValue * (vatCategory / 100) 
The vat amount, type of Double
Public field 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
Public field classification The line classification details, type of classification
Public field deductionsAmount The deductions amount, type of Double This field must be populated if elements.lineData = true and the line contains Deductions. 
Public field dienergia The dienergia, type of dienergia This field determines the ship's details. Use it only when the invoice is about selling ships.
Public field discountOption The discount option, type of Boolean
Public field feesAmount The fees amount, type of Double 
This field must be populated if elements.lineData = true and the line contains Fees. 
Public field 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
Public field 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
Public field 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.
Public field 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.
Public field lineComments The line comments, type of String A free-text field to add a comment for the current line.
Public field measurementUnit The measurement unit, type of Integer 
default value -1. 
Get a list of all measurementUnit using myDATATools.getMeasurementUnit
Public field netValue The net value, type of Double
Public field 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.
Public field 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.
Public field otherTaxesAmount The other taxes amount, type of Double This field must be populated if elements.lineData = true and the line contains Other Taxes. 
Public field 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
Public field stampDutyAmount The stamp duty amount, type of Double 
This field must be populated if elements.lineData = true and the line contains Stamp Duty.
Public field 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
Public field 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.
Public field 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
Public field withheldAmount The withheld amount, type of Double 
This field must be populated if elements.lineData = true and the line contains Withholding.
Public field 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
Top

.NET Framework

Supported in: 3.5 or newer

In this article

Definition