BI_LN_VAT_EC_VW

(SQL View)
Index Back

Bill Line VAT Data for EDI


SELECT l.business_unit , l.invoice , l.line_seq_num , l.vat_basis_amt , l.vat_basis_amt_xeu , l.vat_amt , l.vat_amt_xeu , l.vat_txn_type_cd , l.tax_cd_vat , l.tax_cd_vat_pct , l.vat_applicability , l.tax_vat_flg , l.VAT_RVRSE_CHG_GDS , l.TAX_CD_VAT_RVC , l.TAX_CD_VAT_RVC_PCT , l.VAT_AMT_RVC , l.VAT_AMT_RVC_XEU , l.bi_currency_cd , l.currency_cd_xeu , l.vat_treatment FROM PS_BI_LINE l , ps_bi_hdr_vat h WHERE h.business_unit = l.business_unit AND h.invoice = l.invoice

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
3 LINE_SEQ_NUM Number(5,0) INTEGER NOT NULL Sequence
4 VAT_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the amount on a sale (receivables item) or purchase (Payables voucher) transaction that is subject to VAT taxation. Depending on other parameters this amount may represent the gross or net amount of the transaction and may or may not include freight charges.
5 VAT_BASIS_AMT_XEU Signed Number(28,3) DECIMAL(26,3) NOT NULL VAT Basis Amount in Euro Curr
6 VAT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the amount of VAT associated with a transaction such as an invoice or a purchase order. In PeopleSoft Receivables this field is populated when the VAT declaration point is set to Invoice.
7 VAT_AMT_XEU Signed Number(28,3) DECIMAL(26,3) NOT NULL VAT Amount - Euro Currency
8 VAT_TXN_TYPE_CD Character(4) VARCHAR2(4) NOT NULL Specifies a user-defined category of business transaction that is subject to VAT accounting and reporting. The VAT code and the VAT transaction type are used in conjunction with the VAT account type to obtain the ChartFields for accounting entries. Some examples of VAT Transaction Types are Exempt Sales Exempt Purchases Triangulation EU Sales and Domestic Sales.
9 TAX_CD_VAT Character(8) VARCHAR2(8) NOT NULL Defines the VAT (Value Added Tax) percentage (via link to the Tax Authority) and is used to retrieve VAT accounting ChartFields. The VAT code determines how the VAT amount is calculated on a transaction and how that amount is accounted and reported for.
10 TAX_CD_VAT_PCT Signed Number(9,4) DECIMAL(7,4) NOT NULL Specifies the tax percentage that corresponds to the VAT code. If more than one VAT authority is linked to a VAT code this will represent an aggregate percentage.
11 VAT_APPLICABILITY Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not a transaction is eligible for VAT (Value Added Tax) taxation or why it is not eligible.
E=Exempt
N=Not Applicable
O=Outside of Scope of VAT
S=Suspended
T=Taxable
V=VAT Only
X=Exonerated
12 TAX_VAT_FLG Character(1) VARCHAR2(1) NOT NULL Include VAT
N=No
Y=Yes
13 VAT_RVRSE_CHG_GDS Character(1) VARCHAR2(1) NOT NULL VAT Reverse Charge goods flag

Y/N Table Edit

14 TAX_CD_VAT_RVC Character(8) VARCHAR2(8) NOT NULL Reverse Charge VAT Code
15 TAX_CD_VAT_RVC_PCT Signed Number(9,4) DECIMAL(7,4) NOT NULL Customer VAT Rate
16 VAT_AMT_RVC Signed Number(28,3) DECIMAL(26,3) NOT NULL Reverse Charge VAT Amount
17 VAT_AMT_RVC_XEU Signed Number(28,3) DECIMAL(26,3) NOT NULL Customer Amount
18 BI_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Billing Currency Code
19 CURRENCY_CD_XEU Character(3) VARCHAR2(3) NOT NULL Euro Currency
20 VAT_TREATMENT Character(4) VARCHAR2(4) NOT NULL VAT Treatment