1
|
SL17
|
SL17001
|
InvoiceNo
|
VSTRING
|
25
|
25
|
0
|
Invoice Number
|
2
|
SL17
|
SL17002
|
CustomerCode
|
VSTRING
|
10
|
10
|
0
|
Customer Code
|
3
|
SL17
|
SL17003
|
TransactType
|
VSTRING
|
1
|
1
|
0
|
Transaction Type X - Tax transaction created at the time of invoice (To be used for non cash tax method). Y - Tax transaction created at the time of payment. (To be used for cash tax method). Z - Tax transaction for tax portion of discount for early payments. (Note that both X and Y transaction type are created regardless if you use cash method or not).
|
6
|
SL17
|
SL17004
|
VATCode
|
VSTRING
|
2
|
2
|
0
|
VAT Code
|
7
|
SL17
|
SL17005
|
TransactDate
|
DATE
|
8
|
0
|
0
|
Transaction Date
|
|
SL17
|
SL17006
|
InvoiceDate
|
DATE
|
8
|
0
|
0
|
Invoice Date
|
|
SL17
|
SL17007
|
BaseAmount
|
MONEY
|
20
|
28
|
8
|
Base Amount (Local Currency)
|
|
SL17
|
SL17008
|
TaxAmount
|
MONEY
|
20
|
28
|
8
|
Tax Amount (Local Currency)
|
|
SL17
|
SL17009
|
Remark
|
VSTRING
|
4
|
4
|
0
|
Remark
|
8
|
SL17
|
SL17010
|
TransactioNo
|
VSTRING
|
9
|
9
|
0
|
Transaction Number
|
|
SL17
|
SL17011
|
CashMethod
|
VSTRING
|
1
|
1
|
0
|
Cash Method
|
|
SL17
|
SL17012
|
OrderLineId
|
VSTRING
|
60
|
60
|
0
|
Order Line plus Subline or CostId Also is used to store invoice line ID
|
|
SL17
|
SL17013
|
InvoiceDateOld
|
DATE
|
8
|
0
|
0
|
Invoice Date Old (Italian Cash Method)
|
|
SL17
|
SL17014
|
IntVersOfFile
|
VSTRING
|
1
|
1
|
0
|
Internal Table Version Used internally in earlier versions of Scala to specify the version of the table.
|
|
SL17
|
SL17015
|
ExpandedMacro
|
VSTRING
|
1
|
1
|
0
|
Expanded Macro Indicates if the transaction has expanded as a result of a VAT macro. This will be done when printing the VAT statement.
|
|
SL17
|
SL17016
|
Reported
|
VSTRING
|
1
|
1
|
0
|
Reported
|
|
SL17
|
SL17017
|
TransNature
|
VSTRING
|
1
|
1
|
0
|
Transaction Nature 0 - Goods 1 - Service
|
|
SL17
|
SL17018
|
SalesTaxPercent
|
VSTRING
|
8
|
8
|
0
|
Tax Percent
|
4
|
SL17
|
SL17019
|
TaxCode
|
STRING
|
6
|
6
|
0
|
Tax Code
|
5
|
SL17
|
SL17020
|
TaxType
|
STRING
|
6
|
6
|
0
|
Tax Type
|
9
|
SL17
|
SL17021
|
TransactLineNo
|
STRING
|
7
|
7
|
0
|
Line Number
|
|
SL17
|
SL17022
|
TaxLiability
|
STRING
|
6
|
6
|
0
|
Tax Liability Code
|
|
SL17
|
SL17023
|
TaxClassifCode
|
STRING
|
2
|
2
|
0
|
Tax Classification Code
|
|
SL17
|
SL17024
|
TaxCertificate
|
STRING
|
15
|
15
|
0
|
Tax Certificate
|
|
SL17
|
SL17025
|
PaymentNumber
|
STRING
|
2
|
2
|
0
|
Payment Number
|
|
SL17
|
SL17026
|
StockItem
|
VSTRING
|
35
|
35
|
0
|
Stock Item Code
|
|
SL17
|
SL17027
|
OrigBatchNumber
|
VSTRING
|
12
|
12
|
0
|
Batch Number
|
|
SL17
|
SL17028
|
TaxCalculMethod
|
INTEGER
|
2
|
0
|
0
|
Tax Calculation Method Used for tax engine 1 and 2 (see SYL1003 for details)
|
|
SL17
|
SL17029
|
RateType
|
STRING
|
1
|
1
|
0
|
Rate Type Used for tax engine 1 and 2 (see SYL1006 for details)
|
|
SL17
|
SL17030
|
TaxBase
|
INTEGER
|
2
|
0
|
0
|
Tax Base Type Used for tax engine 1 and 2 (see SYL1004 for details)
|
|
SL17
|
SL17031
|
TaxExemption
|
STRING
|
2
|
2
|
0
|
Tax Exemption Type Used for tax engine 1 and 2 (see SLL1006 for details)
|
|
SL17
|
SL17032
|
TaxExemptionRate
|
X_NUMERIC
|
12
|
20
|
8
|
Tax Exemption Rate
|
|
SL17
|
SL17033
|
TaxRate
|
X_NUMERIC
|
8
|
16
|
8
|
Tax Rate
|
|
SL17
|
SL17034
|
TributarySitCode
|
VSTRING
|
10
|
10
|
0
|
Tributary Situation Code
|
|
SL17
|
SL17035
|
CVFCode
|
VSTRING
|
10
|
10
|
0
|
CVF Code
|
|
SL17
|
SL17036
|
SalesOrderNo
|
VSTRING
|
10
|
10
|
0
|
Sales Order Number
|
|
SL17
|
SL17037
|
FiscTextCode
|
VSTRING
|
10
|
10
|
0
|
Fiscal Text Code
|
|
SL17
|
SL17038
|
STBase
|
MONEY
|
20
|
28
|
8
|
Exemption Amount (Local Currency)
|
|
SL17
|
SL17039
|
STAmount
|
MONEY
|
20
|
28
|
8
|
Tributary Substitution Amount (Local Currency)
|
|
SL17
|
SL17040
|
TaxCategory
|
VSTRING
|
10
|
10
|
0
|
Tax Category Only used in brazil and Argentina, to classify the type of tax.
|
|
SL17
|
SL17041
|
OriginalCompany
|
VSTRING
|
2
|
2
|
0
|
Original Company
|
|
SL17
|
SL17042
|
MarginPercent
|
X_NUMERIC
|
12
|
20
|
8
|
Margin %
|
|
SL17
|
SL17043
|
FixedPrice
|
MONEY
|
20
|
28
|
8
|
Fixed Price (Local Currency)
|
|
SL17
|
SL17044
|
AcceptedDifference
|
X_NUMERIC
|
12
|
20
|
8
|
Accepted Difference %
|
|
SL17
|
SL17045
|
ResolutionName
|
VSTRING
|
40
|
40
|
0
|
Resolution Name
|
|
SL17
|
SL17046
|
ResolutionDate
|
DATE
|
8
|
0
|
0
|
Resolution Date
|
|
SL17
|
SL17047
|
InvoiceRefer
|
VSTRING
|
25
|
25
|
0
|
InvoiceRefer This field can be filled in the records related to the Prepayments. The reference to Invoice for the same customer code must be added for all “compensative” prepayment tax records.
|
|
SL17
|
SL17048
|
OrigCurrCode
|
VSTRING
|
2
|
2
|
0
|
Original Currency Code This field should contain the invoice currency code.
|
|
SL17
|
SL17049
|
BaseAmountOCU
|
MONEY
|
20
|
28
|
8
|
Base Amount (Original Currency) This field should contain the base amount in original currency.
|
|
SL17
|
SL17050
|
VATType
|
VSTRING
|
6
|
6
|
0
|
VAT Type This field should contain the VAT type.
|
|
SL17
|
SL17051
|
AccountingInfo
|
ACCSTR
|
120
|
120
|
0
|
Accounting Info
|
|
SL17
|
SL17052
|
LineRefSL04
|
VSTRING
|
7
|
7
|
0
|
Line Ref SL04
|
|
SL17
|
SL17053
|
FinYear
|
VSTRING
|
4
|
4
|
0
|
Financial Year
|
|
SL17
|
SL17054
|
RefGL06
|
VSTRING
|
9
|
9
|
0
|
Ref GL06
|
|
SL17
|
SL17055
|
DirectfromGL
|
VSTRING
|
1
|
1
|
0
|
Direct from GL
|
|
SL17
|
SL17056
|
SurchTaxCode
|
VSTRING
|
6
|
6
|
0
|
Surcharge Tax Code This field should contain the surcharge tax code linked to usual VAT
|
|
SL17
|
SL17057
|
AASCode
|
VSTRING
|
25
|
25
|
0
|
AAS code
|
|
SL17
|
SL17058
|
OrderLineNo
|
STRING
|
12
|
12
|
0
|
Order Line Number Order Line Number
|
|
SL17
|
SL17059
|
ReferPLInvoice
|
VSTRING
|
25
|
25
|
0
|
Reference to PL Invoice
|
|
SL17
|
SL17060
|
ReferPLSupplier
|
VSTRING
|
10
|
10
|
0
|
ReferPLSupplier ReferPLSupplier for Italian VAT self-invoices
|
|
SL17
|
SL17061
|
ActualTaxBase
|
MONEY
|
20
|
28
|
8
|
Actual Tax Base
|
|
SL17
|
SL17062
|
FreightTaxAmount
|
MONEY
|
20
|
28
|
8
|
Freight Tax Amount
|
|
SL17
|
SL17063
|
DestinationRate
|
X_NUMERIC
|
8
|
16
|
8
|
Destination Rate
|
|
SL17
|
SL17064
|
TaxDescription
|
VSTRING
|
30
|
30
|
0
|
Tax Description
|
|
SL17
|
SL17065
|
InvoiceLineNo
|
VSTRING
|
6
|
6
|
0
|
Invoice Line No
|
|
SL17
|
SL17066
|
TaxAmountOCU
|
MONEY
|
20
|
28
|
8
|
Tax Amount OCU
|
|
SL17
|
SL17067
|
HMRCPeriodKey
|
VSTRING
|
4
|
4
|
0
|
HMRC Period Key Key of HMRC period to which this transaction line is included.
|
|
SL17
|
SL17068
|
TaxRegCountry
|
STRING
|
3
|
3
|
0
|
Tax Registration Country
|
|
SL17
|
SL17069
|
Specification
|
STRING
|
3
|
3
|
0
|
Specification
|
|
SL17
|
SL17070
|
Notification
|
STRING
|
3
|
3
|
0
|
Notification
|