# SalesEntryLines: Exact Online Sales Entry Lines
- Catalog: `ExactOnlineREST`
- Schema: `SalesEntry`
- Primary Keys: `ID`
- Label: Sales Entry Lines
The data in this table is partitioned per value of the `Division` column.
Can retrieve data and change data using insert, update and delete.
## Table Columns
The columns of the table `SalesEntryLines` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `AmountDC` | `double` | Amount Division Currency | ☑ | Amount in the default currency of the company. For almost all lines this can be calculated like: AmountDC = AmountFC * RateFC. |
| `AmountFC` | `double` | Amount Foreign Currency | ☑ | For normal lines it's the amount excluding VAT. |
| `Asset` | `guid` | Asset | ☐ | Reference to Asset. |
| `AssetDescription` | `varchar2` | Asset Description | ☐ | Description of Asset. |
| `CostCenter` | `varchar2`(8) | Cost Centre | ☐ | Reference to Cost center. |
| `CostCenterDescription` | `varchar2`(60) | Cost Centre Description | ☐ | Description of CostCenter. |
| `CostUnit` | `varchar2`(8) | Cost Unit | ☐ | Reference to Cost unit. |
| `CostUnitDescription` | `varchar2`(60) | Cost Unit Description | ☐ | Description of CostUnit. |
| `CustomField` | `varchar2` | Custom Field | ☐ | |
| `Description` | `varchar2` | Description | ☐ | Description. Can be different for header and lines. |
| `Division` | `int32` | Division | ☑ | Division code. |
| `DivisionCompanyCoCNumber` | `varchar2`(60) | Division Chamber of Commerce Number | ☐ | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2`(50) | Division IBAN Number | ☐ | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2`(50) | Division Company Name | ☑ | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2`(9) | Division RSIN Number | ☐ | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2`(35) | Division VAT Number | ☐ | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2`(60) | Division Wage Tax Number | ☐ | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2`(128) | Division Label | ☑ | Label of the Exact Online division. |
| `DivisionName` | `varchar2`(50) | Administration Name | ☑ | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2`(50) | Subscription Holder Name | ☑ | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionOwnerCompanyNumber` | `varchar2`(18) | Subscription Holder Number | ☑ | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionShortName` | `int64` | Division Short Name | ☑ | Short name of the Exact Online division. |
| `EntryID` | `guid` | Entry ID | ☑ | The unique ID of the entry. Via this ID all transaction lines of a single entry can be retrieved. |
| `ExtraDutyAmountFC` | `double` | Extra Duty Amount Foreign Currency | ☐ | Extra duty amount in the currency of the transaction. Both extra duty amount and VAT amount need to be specified in order to differ this property from automatically calculated. |
| `ExtraDutyPercentage` | `double` | Extra Duty (%) | ☐ | Extra duty percentage for the item. |
| `From` | `datetime` | From | ☐ | From date for deferred revenue. |
| `GLAccount` | `guid` | General Ledger Account | ☐ | The GL Account of the invoice line. This field is generated based on the revenue account of the item (or the related item group). G/L Account is also used to determine whether the costcenter / costunit is mandatory. |
| `GLAccountCode` | `varchar2`(30) | GL Account Code | ☐ | Code of the G/L account. |
| `GLAccountDescription` | `varchar2`(60) | GL Account Description | ☐ | Description of the G/L account. |
| `ID` | `guid` | ID | ☑ | Primary key. |
| `IntraStatArea` | `varchar2` | Intrastat Area | ☐ | IntraStat area. |
| `IntraStatCountry` | `varchar2` | Intrastat Country | ☐ | IntraStatCountry. |
| `IntraStatDeliveryTerm` | `varchar2` | Intrastat Delivery Term | ☐ | IntraStat delivery term. |
| `IntraStatTransactionA` | `varchar2`(1) | Intrastat Transaction A | ☐ | IntraStat transaction a. |
| `IntraStatTransactionB` | `varchar2` | Intrastat Transaction B | ☐ | |
| `IntraStatTransportMethod` | `varchar2`(1) | Intrastat Transport Method | ☐ | IntraStat transport method. |
| `LineNumber` | `int32` | Line Number | ☐ | Indicates the sequence of the lines within one entry. |
| `NetAmountDC` | `double` | Net Amount Division Currency | ☐ | Net amount in division currency of sales entry line. |
| `NetAmountFC` | `double` | Net Amount Foreign Currency | ☐ | Net amount in foreign currency of sales entry line. |
| `Notes` | `varchar2` | Notes | ☐ | Extra notes. |
| `Project` | `guid` | Project | ☐ | The project to which the sales transaction line is linked. The project can be different per line. Sometimes also the project in the header is filled although this is not really used. |
| `ProjectDescription` | `varchar2`(60) | Project Description | ☐ | Description of Project. |
| `ProjectWBS` | `guid` | Project WBS | ☐ | Project WBS ID. |
| `ProjectWBSDescription` | `varchar2` | Project WBS Description | ☐ | Project WBS description. |
| `Quantity` | `double` | Quantity | ☐ | The number of items sold in default units. The quantity shown in the entry screen is Quantity * UnitFactor. |
| `SerialNumber` | `varchar2`(30) | Serial Number | ☐ | Serial number. |
| `StatisticalNetWeight` | `double` | Statistical Net Weight | ☐ | Statistical NetWeight. |
| `StatisticalNumber` | `varchar2` | Statistical Number | ☐ | Statistical Number (also known as 'Goederencode'). |
| `StatisticalQuantity` | `double` | Statistical Quantity | ☐ | Statistical Quantity. |
| `StatisticalValue` | `double` | Statistical Value | ☐ | Statistical Value. |
| `Subscription` | `guid` | Subscription | ☐ | When generating invoices from subscriptions, this field records the link between invoice lines and subscription lines. |
| `SubscriptionDescription` | `varchar2`(60) | Subscription Description | ☐ | Description of Subscription. |
| `TaxSchedule` | `guid` | Tax Schedule | ☐ | Obsolete. |
| `To` | `datetime` | To | ☐ | To date for deferred revenue. |
| `TrackingNumber` | `guid` | Tracking Number | ☐ | Reference to TrackingNumber. |
| `TrackingNumberDescription` | `varchar2`(240) | Tracking Number Description | ☐ | Description of TrackingNumber. |
| `Type` | `int32` | Type | ☐ | Type: 20 = Sales entry, 21 = Sales credit note. |
| `VATAmountDC` | `double` | VAT Amount Division Currency | ☐ | VAT amount in the default currency of the company. |
| `VATAmountFC` | `double` | VAT Amount Foreign Currency | ☐ | VAT amount in the currency of the transaction. Use this property to specify a VAT amount that differs from the VAT amount that is automatically calculated. However if the transaction uses extra duty, extra duty amount also needs to be specified. |
| `VATBaseAmountDC` | `double` | VAT Base Amount Division Currency | ☐ | The VAT base amount in the default currency of the company. This is calculated based on the VATBaseAmountFC. |
| `VATBaseAmountFC` | `double` | VAT Base Amount Foreign Currency | ☐ | The VAT base amount in invoice currency. This is calculated with the use of VAT codes. It's an internal value. |
| `VATCode` | `varchar2`(3) | VAT Code | ☐ | The VAT code used when the invoice was registered. |
| `VATCodeDescription` | `varchar2`(60) | VAT Code Description | ☐ | Description of VAT code. |
| `VATPercentage` | `double` | VAT Percentage | ☐ | The VAT percentage of the VAT code. This is the percentage at the moment the invoice is created. It's also used by the default calculation of VAT amounts and VAT base amounts. |