update
This commit is contained in:
@ -0,0 +1,764 @@
|
||||
<!--
|
||||
|
||||
Licensed under European Union Public Licence (EUPL) version 1.2.
|
||||
|
||||
-->
|
||||
<!-- Schematron binding rules generated by Andreas Pelekies -->
|
||||
<!-- Data binding to EDIFACT syntax for EN16931 -->
|
||||
<!-- Timestamp: 2017-02-01 00:00:00 +0200 -->
|
||||
<pattern xmlns="http://purl.oclc.org/dsdl/schematron" is-a="EN16931" id="EN16931-EDIFACT-Model">
|
||||
|
||||
<param name="BR-01" value="S_FTX[D_4451='DOC']/C_C108/D_4440"/>
|
||||
<param name="BR-02" value="S_BGM/C_C106/D_1004"/>
|
||||
<param name="BR-03" value="S_DTM/C_C507[D_2005='137' and D_2379='102']/D_2380"/>
|
||||
<param name="BR-04" value="S_BGM/C_C002/D_1001"/>
|
||||
<param name="BR-05" value="G_SG7/S_CUX/C_C504[D_6347='2']/D_6345"/>
|
||||
<param name="BR-06" value="G_SG2/S_NAD[D_3035='SE']/C_C080/D_3036"/>
|
||||
<param name="BR-07" value="G_SG2/S_NAD[D_3035='BY']/C_C080/D_3036"/>
|
||||
<param name="BR-08" value="G_SG2/S_NAD[D_3035='SE']/D_3207"/>
|
||||
<param name="BR-09" value="G_SG2/S_NAD[D_3035='SE']/D_3207"/>
|
||||
<param name="BR-10" value="G_SG2/S_NAD[D_3035='BY']/D_3207"/>
|
||||
<param name="BR-11" value="G_SG2/S_NAD[D_3035='BY']/D_3207"/>
|
||||
<param name="BR-12" value="G_SG52/S_MOA/C_C516[D_5025='79']/D_5004"/>
|
||||
<param name="BR-13" value="G_SG52/S_MOA/C_C516[D_5025='389']/D_5004"/>
|
||||
<param name="BR-14" value="G_SG52/S_MOA/C_C516[D_5025='388']/D_5004"/>
|
||||
<param name="BR-15" value="G_SG52/S_MOA/C_C516[D_5025='9']/D_5004"/>
|
||||
<param name="BR-16" value="G_SG27/S_LIN"/>
|
||||
<param name="BR-17" value="(C_C080/D_3036) and (not(C_C080/D_3036 = ../../G_SG2/S_NAD[D_3035='SE']/C_C080/D_3036) or not(C_C082/D_3039 = ../../G_SG2/S_NAD[D_3035='SE']/C_C082/D_3039) or not(../G_SG3/S_RFF/C_C506[D_1153='APA']/D_1154 = ../../G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='APA']/D_1154))"/>
|
||||
<param name="BR-18" value="C_C080/D_3036"/>
|
||||
<param name="BR-19" value="C_C059"/>
|
||||
<param name="BR-20" value="D_3207"/>
|
||||
<param name="BR-21" value="S_LIN/D_1082"/>
|
||||
<param name="BR-22" value="S_QTY/C_C186[D_6063='47']/D_6060"/>
|
||||
<param name="BR-23" value="S_QTY/C_C186[D_6063='47']/D_6411"/>
|
||||
<param name="BR-24" value="G_SG28/S_MOA/C_C516[D_5025='203']/D_5004"/>
|
||||
<param name="BR-25" value="S_IMD[D_7077='F']/C_C273/D_7008"/>
|
||||
<param name="BR-26" value="G_SG30/S_PRI/C_C509[D_5125='AAA']/D_5118"/>
|
||||
<param name="BR-27" value="(G_SG30/S_PRI/C_C509[D_5125='AAA']/D_5118) >= 0"/>
|
||||
<param name="BR-28" value="(G_SG30/S_PRI/C_C509[D_5125='AAB']/D_5118 >= 0) or not(G_SG30/S_PRI/C_C509[D_5125='AAB']/D_5118)"/>
|
||||
<param name="BR-29" value="(C_C507[D_2005='168' and D_2379='102']/D_2380) >= (C_C507[D_2005='167' and D_2379='102']/D_2380) or not (C_C507[D_2005='168']/D_2380) or not (C_C507[D_2005='167']/D_2380)"/>
|
||||
<param name="BR-30" value="(C_C507[D_2005='206' and D_2379='102']/D_2380) >= (C_C507[D_2005='194' and D_2379='102']/D_2380) or not (C_C507[D_2005='206']/D_2380) or not (C_C507[D_2005='194']/D_2380)"/>
|
||||
<param name="BR-31" value="G_SG20/S_MOA/C_C516[D_5025='204']/D_5004"/>
|
||||
<param name="BR-32" value="G_SG22/S_TAX[D_5283='7' and C_C241/D_5153='VAT']/D_5305"/>
|
||||
<param name="BR-33" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C552/D_5189)"/>
|
||||
<param name="BR-34" value="G_SG20/S_MOA/C_C516[D_5025='204']/D_5004 >=0"/>
|
||||
<param name="BR-35" value="(G_SG20/S_MOA/C_C516[D_5025='25']/D_5004 >=0) or not (G_SG20/S_MOA/C_C516[D_5025='25']/D_5004)"/>
|
||||
<param name="BR-36" value="G_SG20/S_MOA/C_C516[D_5025='23']/D_5004"/>
|
||||
<param name="BR-37" value="G_SG22/S_TAX[D_5283='7' and C_C241/D_5153='VAT']/D_5305"/>
|
||||
<param name="BR-38" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C214/D_7161)"/>
|
||||
<param name="BR-39" value="G_SG20/S_MOA/C_C516[D_5025='23']/D_5004 >=0"/>
|
||||
<param name="BR-40" value="(G_SG20/S_MOA/C_C516[D_5025='25']/D_5004 >=0) or not (G_SG20/S_MOA/C_C516[D_5025='25']/D_5004)"/>
|
||||
<param name="BR-41" value="G_SG43/S_MOA/C_C516[D_5025='204']/D_5004"/>
|
||||
<param name="BR-42" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C552/D_5189)"/>
|
||||
<param name="BR-43" value="G_SG43/S_MOA/C_C516[D_5025='23']/D_5004"/>
|
||||
<param name="BR-44" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C214/D_7161)"/>
|
||||
<param name="BR-45" value="S_MOA/C_C516[D_5025='125']/D_5004"/>
|
||||
<param name="BR-46" value="S_MOA/C_C516[D_5025='124']/D_5004"/>
|
||||
<param name="BR-47" value="S_TAX/D_5305"/>
|
||||
<param name="BR-48" value="(S_TAX/C_C243/D_5278) or (S_TAX/D_5305 = 'O')"/>
|
||||
<param name="BR-49" value="G_SG8[S_PYT/D_4279='1']/S_PAI/C_C534/D_4461"/>
|
||||
<param name="BR-50" value="C_C078/D_3194"/>
|
||||
<param name="BR-51" value="((G_SG8[S_PYT/D_4279='1']/S_PAI/C_C534/D_4461 = '49') and ((G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='AVS']/D_1154) or (G_SG2[S_NAD/D_3035='PE']/G_SG3/S_RFF/C_C506[D_1153='AVS']/D_1154))) or not(G_SG8[S_PYT/D_4279='1']/S_PAI/C_C534/D_4461 = '49')"/>
|
||||
<param name="BR-52" value="C_C506/D_1154"/>
|
||||
<param name="BR-53" value="G_SG52/S_MOA/C_C516[D_5025='2']/D_5004"/>
|
||||
<param name="BR-54" value="(D_4440) and (D_4440_2)"/>
|
||||
<param name="BR-55" value="D_1154"/>
|
||||
<param name="BR-CO-01" value="true()"/>
|
||||
<param name="BR-CO-02" value="((G_SG8[S_PYT/D_4279='1']/S_PAI/C_C534/D_4461 = ('30','57')) and (G_SG2[S_NAD/C_C082/D_3039='PE' or S_NAD/C_C082/D_3039='SE']/S_FII[D_3035='RB']/C_C088/D_3434)) or not(G_SG8[S_PYT/D_4279='1']/S_PAI/C_C534/D_4461 = ('30','57'))"/>
|
||||
<param name="BR-CO-03" value="((S_DTM[C_C507/D_2005='131']) and not (S_DTM[C_C507/D_2005='3'])) or (not (S_DTM[C_C507/D_2005='131']) and (S_DTM[C_C507/D_2005='3'])) or (not (S_DTM[C_C507/D_2005='131']) and not (S_DTM[C_C507/D_2005='3']))"/>
|
||||
<param name="BR-CO-04" value="G_SG35/S_TAX[D_5283='7' and C_C241/D_5153='VAT']/D_5305"/>
|
||||
<param name="BR-CO-05" value="true()"/>
|
||||
<param name="BR-CO-06" value="true()"/>
|
||||
<param name="BR-CO-07" value="true()"/>
|
||||
<param name="BR-CO-08" value="true()"/>
|
||||
<param name="BR-CO-09" value="true()"/>
|
||||
<param name="BR-CO-10" value="G_SG52/S_MOA/C_C516[D_5025='79']/D_5004 = (round(sum(/M_INVOIC/G_SG27/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004) * 10 * 10)div 100)"/>
|
||||
<param name="BR-CO-11" value="S_MOA/C_C516[D_5025='260']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG20/S_MOA/C_C516[D_5025='389']/D_5004
|
||||
)* 10 * 10
|
||||
) div 100
|
||||
) or
|
||||
not(S_MOA/C_C516[D_5025='260']/D_5004)"/>
|
||||
<param name="BR-CO-12" value="S_MOA/C_C516[D_5025='259']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG20/S_MOA/C_C516[D_5025='389']/D_5004
|
||||
)* 10 * 10
|
||||
) div 100
|
||||
) or
|
||||
not(S_MOA/C_C516[D_5025='259']/D_5004)"/>
|
||||
<param name="BR-CO-13" value="(G_SG52/S_MOA/C_C516[D_5025='389']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='79']/D_5004 - G_SG52/S_MOA/C_C516[D_5025='260']/D_5004 + G_SG52/S_MOA/C_C516[D_5025='259']/D_5004) or
|
||||
((G_SG52/S_MOA/C_C516[D_5025='389']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='79']/D_5004 - G_SG52/S_MOA/C_C516[D_5025='260']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='259']/D_5004)) or
|
||||
((G_SG52/S_MOA/C_C516[D_5025='389']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='79']/D_5004 + G_SG52/S_MOA/C_C516[D_5025='259']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='260']/D_5004)) or
|
||||
((G_SG52/S_MOA/C_C516[D_5025='389']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='79']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='259']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='260']/D_5004))"/>
|
||||
<param name="BR-CO-14" value=". =
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG54[S_TAX/D_5283='7' and S_TAX/C_C241/D_5153='VAT']/S_MOA/C_C516[D_5025='124']/D_5004
|
||||
)*10*10
|
||||
)div 100
|
||||
) "/>
|
||||
<param name="BR-CO-15" value="(G_SG52/S_MOA/C_C516[D_5025='388']/D_5004 = round((G_SG52/S_MOA/C_C516[D_5025='389']/D_5004 + G_SG52/S_MOA/C_C516[D_5025='176']/D_5004)*100) div 100) or
|
||||
(G_SG52/S_MOA/C_C516[D_5025='388']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='389']/D_5004 and not (G_SG52/S_MOA/C_C516[D_5025='176']/D_5004))"/>
|
||||
<param name="BR-CO-16" value="(G_SG52/S_MOA/C_C516[D_5025='9']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='388']/D_5004 - G_SG52/S_MOA/C_C516[D_5025='113']/D_5004 + G_SG52/S_MOA/C_C516[D_5025='366']/D_5004) or
|
||||
((G_SG52/S_MOA/C_C516[D_5025='9']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='388']/D_5004 + G_SG52/S_MOA/C_C516[D_5025='366']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='113']/D_5004)) or
|
||||
((G_SG52/S_MOA/C_C516[D_5025='9']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='388']/D_5004 - G_SG52/S_MOA/C_C516[D_5025='113']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='366']/D_5004)) or
|
||||
((G_SG52/S_MOA/C_C516[D_5025='9']/D_5004 = G_SG52/S_MOA/C_C516[D_5025='388']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='113']/D_5004) and not (G_SG52/S_MOA/C_C516[D_5025='366']/D_5004))"/>
|
||||
<param name="BR-CO-17" value="S_MOA/C_C516[D_5025='124']/D_5004 = round(S_MOA/C_C516[D_5025='125']/D_5004 * S_TAX[D_5283='VAT']/C_C243/D_5278) div 100 +0 or not (S_TAX[D_5283='VAT']/C_C243/D_5278)"/>
|
||||
<param name="BR-CO-18" value="G_SG54"/>
|
||||
<param name="BR-CO-19" value="D_2380"/>
|
||||
<param name="BR-CO-20" value="D_2380"/>
|
||||
<param name="BR-CO-21" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C552/D_5189)"/>
|
||||
<param name="BR-CO-22" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C214/D_7161)"/>
|
||||
<param name="BR-CO-23" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C552/D_5189)"/>
|
||||
<param name="BR-CO-24" value="(S_ALC/C_C552/D_1230) or (S_ALC/C_C214/D_7161)"/>
|
||||
<param name="BR-CO-25" value="(number(G_SG52/S_MOA/C_C516[D_5025='9']/D_5004) > 0 and ((G_SG8[S_PYT/D_4279='1']/S_DTM/C_C507[D_2005='13']/D_2380) or (S_FTX[D_4451='AAB']/C_C108/D_4440))) or not(number(G_SG52/S_MOA/C_C516[D_5025='9']/D_5004)>0)"/>
|
||||
<param name="BR-CO-26" value="(C_C082/D_3039) or (../G_SG3/S_RFF/C_C506[D_1153 = 'GN']/D_1154) or (../G_SG3/S_RFF/C_C506[D_1153 = 'VA']/D_1154)"/>
|
||||
<param name="BR-S-01" value="((count(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305='S']) + count(/M_INVOIC/G_SG54/S_TAX[D_5305='S'])) >=2 or not (/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305='S'])) and
|
||||
((count(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305='S']) + count(/M_INVOIC/G_SG54/S_TAX[D_5305='S'])) >=2 or not (/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305='S']))"/>
|
||||
<param name="BR-S-02" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-S-03" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-S-04" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-S-05" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-S-06" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-S-07" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-S-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='S' and
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'S' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'S' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
|
||||
<param name="BR-S-09" value="true()"/> <!-- duplicate of BR-CO-17 -->
|
||||
<!-- only possible check: If an invoice only included VAT category 'S' or 'Z' or 'O' or 'L' or 'M' there should be no VAT exemption reason text given -->
|
||||
<param name="BR-S-10" value="(not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) and not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)) or (/M_INVOIC/G_SG54/S_TAX[D_5305=('AE','E','O','K','G')])"/>
|
||||
<param name="BR-AF-01" value="((count(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305='L']) + count(/M_INVOIC/G_SG54/S_TAX[D_5305='L'])) >=2 or not (/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305='L'])) and
|
||||
((count(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305='L']) + count(/M_INVOIC/G_SG54/S_TAX[D_5305='L'])) >=2 or not (/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305='L']))"/>
|
||||
<param name="BR-AF-02" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-AF-03" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-AF-04" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-AF-05" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-AF-06" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-AF-07" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-AF-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='L' and
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'L' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'L' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
|
||||
<param name="BR-AF-09" value="true()"/> <!-- duplicate of BR-CO-17 -->
|
||||
<!-- only possible check: If an invoice only included VAT category 'S' or 'Z' or 'O' or 'L' or 'M' there should be no VAT exemption reason text given -->
|
||||
<param name="BR-AF-10" value="(not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) and not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)) or (/M_INVOIC/G_SG54/S_TAX[D_5305=('AE','E','O','K','G')])"/>
|
||||
<param name="BR-AG-01" value="((count(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305='M']) + count(/M_INVOIC/G_SG54/S_TAX[D_5305='M'])) >=2 or not (/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305='M'])) and
|
||||
((count(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305='M']) + count(/M_INVOIC/G_SG54/S_TAX[D_5305='M'])) >=2 or not (/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305='M']))"/>
|
||||
<param name="BR-AG-02" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-AG-03" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-AG-04" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-AG-05" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-AG-06" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-AG-07" value="C_C243/D_5278 > 0"/>
|
||||
<param name="BR-AG-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='M' and
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'M' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'M' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/C_C243/D_5278 =
|
||||
current()/C_C243/D_5278
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
|
||||
<param name="BR-AG-09" value="true()"/> <!-- duplicate of BR-CO-17 -->
|
||||
<!-- only possible check: If an invoice only included VAT category 'S' or 'Z' or 'O' or 'L' or 'M' there should be no VAT exemption reason text given -->
|
||||
<param name="BR-AG-10" value="(not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) and not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)) or(/M_INVOIC/G_SG54/S_TAX[D_5305=('AE','E','O','K','G')])"/>
|
||||
<param name="BR-Z-01" value="not(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'Z']) or (
|
||||
count(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'Z'])=1 and
|
||||
(exists(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'Z']) or
|
||||
exists(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305 = 'Z'])))"/>
|
||||
<param name="BR-Z-02" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-Z-03" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-Z-04" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-Z-05" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-Z-06" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-Z-07" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-Z-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='Z'
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'Z'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'Z'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
|
||||
<param name="BR-Z-09" value="../S_MOA/C_C516[D_5025='124']/D_5004 = 0"/>
|
||||
<!-- only possible check: If an invoice only included VAT category 'S' or 'Z' or 'O' there should be no VAT exemption reason text given -->
|
||||
<param name="BR-Z-10" value="(not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440)
|
||||
and not(/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441))
|
||||
or(/M_INVOIC/G_SG54/S_TAX[D_5305=('AE','E','O','K','G')])"/>
|
||||
<param name="BR-E-01" value="not(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'E']) or (
|
||||
count(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'E'])=1 and
|
||||
(exists(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'E']) or
|
||||
exists(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305 = 'E'])))"/>
|
||||
<param name="BR-E-02" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-E-03" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-E-04" value="/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154"/>
|
||||
<param name="BR-E-05" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-E-06" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-E-07" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-E-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='E'
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'E'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'E'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
<param name="BR-E-09" value="../S_MOA/C_C516[D_5025='124']/D_5004 = 0"/>
|
||||
<param name="BR-E-10" value="(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) or (/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)"/>
|
||||
|
||||
<param name="BR-AE-01" value="not(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'AE']) or (
|
||||
count(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'AE'])=1 and
|
||||
(exists(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'AE']) or
|
||||
exists(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305 = 'AE'])))"/>
|
||||
<param name="BR-AE-02" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and (/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154)"/>
|
||||
<param name="BR-AE-03" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and (/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-AE-04" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('VA', 'FC')]/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and (/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-AE-05" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-AE-06" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-AE-07" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-AE-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]
|
||||
/D_5305='AE'
|
||||
]
|
||||
/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'AE'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'AE'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
<param name="BR-AE-09" value="../S_MOA/C_C516[D_5025='124']/D_5004 = 0"/>
|
||||
<param name="BR-AE-10" value="(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) or (/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)"/>
|
||||
<param name="BR-IC-01" value="not(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'K']) or (
|
||||
count(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'K'])=1 and
|
||||
(exists(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'K']) or
|
||||
exists(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305 = 'K'])))"/>
|
||||
<param name="BR-IC-02" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and (/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-IC-03" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and (/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-IC-04" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and (/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-IC-05" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-IC-06" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-IC-07" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-IC-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='K'
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'K'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'K'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
<param name="BR-IC-09" value="../S_MOA/C_C516[D_5025='124']/D_5004 = 0"/>
|
||||
<!-- as currently no code to check is available only a check on existance is possible -->
|
||||
<param name="BR-IC-10" value="(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) or (/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)"/>
|
||||
<param name="BR-IC-11" value="(/M_INVOIC/S_DTM/C_C507[D_2005='35']/D_2380) or (/M_INVOIC/S_DTM/C_C507[D_2005='167']/D_2380) or (/M_INVOIC/S_DTM/C_C507[D_2005='168']/D_2380)"/>
|
||||
<param name="BR-IC-12" value="/M_INVOIC/G_SG2/S_NAD[D_3035='DP']/D_3207"/>
|
||||
|
||||
<param name="BR-G-01" value="not(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'G']) or (
|
||||
count(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'G'])=1 and
|
||||
(exists(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'G']) or
|
||||
exists(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305 = 'G'])))"/>
|
||||
<param name="BR-G-02" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-G-03" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-G-04" value="(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154 or /M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-G-05" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-G-06" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-G-07" value="C_C243/D_5278 = 0"/>
|
||||
<param name="BR-G-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='G'
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'G'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'G'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
<param name="BR-G-09" value="../S_MOA/C_C516[D_5025='124']/D_5004 = 0"/>
|
||||
<!-- as currently no code to check is available only a check on existance is possible -->
|
||||
<param name="BR-G-10" value="(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) or (/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)"/>
|
||||
<param name="BR-G-11" value="(/M_INVOIC/S_DTM/C_C507[D_2005='35']/D_2380) or (/M_INVOIC/S_DTM/C_C507[D_2005='167']/D_2380) or (/M_INVOIC/S_DTM/C_C507[D_2005='168']/D_2380)"/>
|
||||
<param name="BR-G-12" value="/M_INVOIC/G_SG2/S_NAD[D_3035='DP']/D_3207"/>
|
||||
|
||||
<param name="BR-O-01" value="not(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'O']) or (
|
||||
count(/M_INVOIC/G_SG54/S_TAX[D_5305 = 'O'])=1 and
|
||||
(exists(/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'O']) or
|
||||
exists(/M_INVOIC/G_SG16/G_SG22/S_TAX[D_5305 = 'O'])))"/>
|
||||
|
||||
<param name="BR-O-02" value="not(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and not(/M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and not(/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-O-03" value="not(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and not(/M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and not(/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-O-04" value="not(/M_INVOIC/G_SG2[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and not(/M_INVOIC/G_SG2[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154) and not(/M_INVOIC/G_SG2[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153='VA']/D_1154)"/>
|
||||
<param name="BR-O-05" value="not(C_C243/D_5278)"/>
|
||||
<param name="BR-O-06" value="not(C_C243/D_5278)"/>
|
||||
<param name="BR-O-07" value="not(C_C243/D_5278)"/>
|
||||
<param name="BR-O-08" value="../S_MOA/C_C516[D_5025='125']/D_5004 =
|
||||
(
|
||||
round(
|
||||
sum(/M_INVOIC/G_SG27[
|
||||
G_SG35/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305='O'
|
||||
]/G_SG28/S_MOA/C_C516[D_5025='203']/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100
|
||||
) + (
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='C' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'O'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='23'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)
|
||||
-
|
||||
(
|
||||
round(
|
||||
sum(
|
||||
/M_INVOIC/G_SG16[
|
||||
S_ALC/D_5463='A' and
|
||||
G_SG22/S_TAX[
|
||||
D_5283='7' and
|
||||
C_C241/D_5153='VAT'
|
||||
]/D_5305 = 'O'
|
||||
]/G_SG20/S_MOA/C_C516[
|
||||
D_5025='204'
|
||||
]/D_5004
|
||||
)
|
||||
*10*10)
|
||||
div 100)"/>
|
||||
<param name="BR-O-09" value="../S_MOA/C_C516[D_5025='124']/D_5004 = 0"/>
|
||||
<!-- as currently no code to check is available only a check on existance is possible -->
|
||||
<param name="BR-O-10" value="(/M_INVOIC/S_FTX[D_4451='AGM']/C_C108/D_4440) or (/M_INVOIC/S_FTX[D_4451='AGM']/C_C107/D_4441)"/>
|
||||
<param name="BR-O-11" value="not(//S_TAX/D_5305 !='O')"/>
|
||||
<param name="BR-O-12" value="not(//S_TAX/D_5305 !='O')"/>
|
||||
<param name="BR-O-13" value="not(//S_TAX/D_5305 !='O')"/>
|
||||
<param name="BR-O-14" value="not(//S_TAX/D_5305 !='O')"/>
|
||||
|
||||
<param name="BR-DEC-01" value="string-length(substring-after(G_SG20/S_MOA/C_C516[D_5025='204']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-02" value="string-length(substring-after(G_SG20/S_MOA/C_C516[D_5025='25']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-05" value="string-length(substring-after(G_SG20/S_MOA/C_C516[D_5025='23']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-06" value="string-length(substring-after(G_SG20/S_MOA/C_C516[D_5025='25']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-09" value="string-length(substring-after(S_MOA/C_C516[D_5025='79']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-10" value="string-length(substring-after(S_MOA/C_C516[D_5025='260']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-11" value="string-length(substring-after(S_MOA/C_C516[D_5025='259']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-12" value="string-length(substring-after(S_MOA/C_C516[D_5025='389']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-13" value="string-length(substring-after(S_MOA/C_C516[D_5025='176']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-14" value="string-length(substring-after(S_MOA/C_C516[D_5025='388']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-15" value="string-length(substring-after(S_MOA/C_C516[D_5025='2']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-16" value="string-length(substring-after(S_MOA/C_C516[D_5025='113']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-17" value="string-length(substring-after(S_MOA/C_C516[D_5025='366']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-18" value="string-length(substring-after(S_MOA/C_C516[D_5025='9']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-19" value="string-length(substring-after(S_MOA/C_C516[D_5025='125']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-20" value="string-length(substring-after(S_MOA/C_C516[D_5025='124']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-23" value="string-length(substring-after(G_SG28/S_MOA/C_C516[D_5025='203']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-24" value="string-length(substring-after(G_SG43/S_MOA/C_C516[D_5025='204']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-25" value="string-length(substring-after(G_SG43/S_MOA/C_C516[D_5025='25']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-27" value="string-length(substring-after(G_SG43/S_MOA/C_C516[D_5025='23']/D_5004,'.'))<=2"/>
|
||||
<param name="BR-DEC-28" value="string-length(substring-after(G_SG43/S_MOA/C_C516[D_5025='25']/D_5004,'.'))<=2"/>
|
||||
|
||||
<param name="Invoice_Period " value="/M_INVOIC/S_DTM/C_C507[D_2005 = ('167', '168')]"/>
|
||||
<param name="Document_totals " value="/M_INVOIC/G_SG52"/>
|
||||
<param name="Payee " value="/M_INVOIC/G_SG2/S_NAD[D_3035='PE']"/>
|
||||
<param name="Seller " value="/M_INVOIC/G_SG2/S_NAD[D_3035='SE']"/>
|
||||
<param name="Tax_Representative " value="/M_INVOIC/G_SG2/S_NAD[D_3035='AE']"/>
|
||||
<param name="Invoice_Line " value="/M_INVOIC/G_SG27"/>
|
||||
<param name="Invoice_Line_Period " value="/M_INVOIC/G_SG27/S_DTM/C_C507[D_2005 = ('167', '168')]"/>
|
||||
<param name="Document_level_allowances " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']"/>
|
||||
<param name="Document_level_charges " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']"/>
|
||||
<param name="Invoice_line_allowances " value="/M_INVOIC/G_SG27/G_SG40[S_ALC/D_5463='A' and S_ALC/D_4471='2']"/>
|
||||
<param name="Invoice_line_charges " value="/M_INVOIC/G_SG27/G_SG40[S_ALC/D_5463='C' and S_ALC/D_4471='2']"/>
|
||||
<param name="VAT_breakdown " value="/M_INVOIC/G_SG54[S_TAX/D_5283='7' and S_TAX/C_C241/D_5153='VAT']"/>
|
||||
<param name="Payment_instructions " value="/M_INVOIC"/>
|
||||
<param name="CreditTransfer_information " value="/M_INVOIC[G_SG8/S_PYT/D_4279='1' and G_SG8/S_PAI/C_C534/D_D4461=('30', '57')]/G_SG2[S_NAD/C_C082/D_3039='PE' or S_NAD/C_C082/D_3039='SE']/S_FII[D_3035='RB']"/>
|
||||
<param name="Card_information " value="/M_INVOIC/G_SG2[S_NAD/C_C082/D_3039='BY']/S_FII[D_3035='BI']"/>
|
||||
<param name="Additional_supporting_documents " value="/M_INVOIC/G_SG26/S_RFF"/>
|
||||
<param name="Item_attributes " value="/M_INVOIC/G_SG27/S_FTX[D_4451='ACF' and D_4453='1']/C_C108"/>
|
||||
<param name="VAT_identifiers " value="/M_INVOIC"/> <!--no check left -->
|
||||
<param name="Tax_Total " value="/M_INVOIC/G_SG54/S_MOA/C_C516[D_5025='176']/D_5004"/>
|
||||
<param name="Accounting_currency " value="/M_INVOIC[not(G_SG7/S_CUX/C_C504[D_6347='6']/D_6345 = G_SG7/S_CUX/C_C504[D_6347='2']/D_6345)]"/>
|
||||
<param name="VATS_Line " value="/M_INVOIC/G_SG27[G_SG35/S_TAX/D_5305 = 'S']"/>
|
||||
<param name="VATS " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'S']"/>
|
||||
<param name="VATS_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='S']"/>
|
||||
<param name="VATS_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='S']"/>
|
||||
<param name="VATAF_Line " value="/M_INVOIC/G_SG27[G_SG35/S_TAX/D_5305 = 'L']"/>
|
||||
<param name="VATAF " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'L']"/>
|
||||
<param name="VATAF_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='L']"/>
|
||||
<param name="VATAF_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='L']"/>
|
||||
<param name="VATAG_Line " value="/M_INVOIC/G_SG27[G_SG35/S_TAX/D_5305 = 'M']"/>
|
||||
<param name="VATAG " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'M']"/>
|
||||
<param name="VATAG_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='M']"/>
|
||||
<param name="VATAG_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='M']"/>
|
||||
<param name="VATZ_Line " value="/M_INVOIC/G_SG27[G_SG35/S_TAX/D_5305 = 'Z']"/>
|
||||
<param name="VATZ_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='Z']"/>
|
||||
<param name="VATZ_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5283='7' and C_C241/D5153='VAT' and D_5305='Z']"/>
|
||||
<param name="VATZ " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'Z']"/>
|
||||
<param name="VATE_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5305='E']"/>
|
||||
<param name="VATE_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5305='E']"/>
|
||||
<param name="VATE_Line " value="/M_INVOIC/G_SG27[G_SG35/S_TAX/D_5305 = 'E']"/>
|
||||
<param name="VATE " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'E']"/>
|
||||
<param name="VATG_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5305='G']"/>
|
||||
<param name="VATG_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5305='G']"/>
|
||||
<param name="VATG_Line " value="/M_INVOIC/G_SG27[G_SG35/S_TAX/D_5305 = 'G']"/>
|
||||
<param name="VATG " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'G']"/>
|
||||
<param name="VATAE_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5305='AE']"/>
|
||||
<param name="VATAE_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5305='AE']"/>
|
||||
<param name="VATAE_Line " value="/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'AE']"/>
|
||||
<param name="VATAE " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'AE']"/>
|
||||
<param name="VATIC_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5305='K']"/>
|
||||
<param name="VATIC_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5305='K']"/>
|
||||
<param name="VATIC_Line " value="/M_INVOIC/G_SG27[G_SG35/S_TAX/D_5305 = 'K']"/>
|
||||
<param name="VATIC " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'K']"/>
|
||||
<param name="VATO_Line " value="/M_INVOIC/G_SG27/G_SG35/S_TAX[D_5305 = 'O']"/>
|
||||
<param name="VATO " value="/M_INVOIC/G_SG54/S_TAX[D_5283='7' and C_C241/D_5153='VAT' and D_5305 = 'O']"/>
|
||||
<param name="VATO_Allowance " value="/M_INVOIC/G_SG16[S_ALC/D_5463='A']/G_SG22/S_TAX[D_5305='O']"/>
|
||||
<param name="VATO_Charge " value="/M_INVOIC/G_SG16[S_ALC/D_5463='C']/G_SG22/S_TAX[D_5305='O']"/>
|
||||
<param name="Preceding_Invoice " value="/M_INVOIC/G_SG1/S_RFF/C_C506[D_1153='OI']"/>
|
||||
<param name="Invoice " value="/M_INVOIC"/>
|
||||
</pattern>
|
@ -0,0 +1,379 @@
|
||||
<!--
|
||||
|
||||
Licensed under European Union Public Licence (EUPL) version 1.2.
|
||||
|
||||
-->
|
||||
<!-- Schematron binding rules generated by Andreas Pelekies -->
|
||||
<!-- Data binding to EDIFACT syntax for TC434 -->
|
||||
<!-- Timestamp: 2016-09-18 22:50:00 +0200 -->
|
||||
<!-- SG27/FTX -->
|
||||
<pattern xmlns="http://purl.oclc.org/dsdl/schematron" is-a="EN16931-SYNTAX" id="EN16931-EDIFACT-Syntax">
|
||||
|
||||
|
||||
<!-- UNH -->
|
||||
<param name="EDIFACT-SR-001" value="not(D_0068)"/>
|
||||
<param name="EDIFACT-SR-002" value="not(C_S010)"/>
|
||||
|
||||
<!-- BGM -->
|
||||
<param name="EDIFACT-SR-003" value="not(C_C002/D_1131)"/>
|
||||
<param name="EDIFACT-SR-004" value="not(C_C002/D_3055)"/>
|
||||
<param name="EDIFACT-SR-005" value="not(C_C002/D_1000)"/>
|
||||
<param name="EDIFACT-SR-006" value="not(C_C106/D_1056)"/>
|
||||
<param name="EDIFACT-SR-007" value="not(C_C106/D_1060)"/>
|
||||
<param name="EDIFACT-SR-008" value="not(D_1225)"/>
|
||||
<param name="EDIFACT-SR-009" value="not(D_4343)"/>
|
||||
<param name="EDIFACT-SR-010" value="not(D_1373)"/>
|
||||
<param name="EDIFACT-SR-296" value="not(D_3453)"/>
|
||||
|
||||
<!-- Invoice -->
|
||||
<param name="EDIFACT-SR-012" value="S_DTM/C_C507[D_2005='3' or D_2005='35' or D_2005='131' or D_2005='137' or D_2005='167' or D_2005='168' or D_2005='432']"/>
|
||||
<param name="EDIFACT-SR-011" value="count(S_DTM/C_C507[D_2005='3' and not(D_2380)]) <=1"/>
|
||||
<param name="EDIFACT-SR-013" value="count(S_DTM/C_C507[D_2005='35' and D_2380]) <=1"/>
|
||||
<param name="EDIFACT-SR-014" value="count(S_DTM/C_C507[D_2005='131']) <=1"/>
|
||||
<param name="EDIFACT-SR-015" value="count(S_DTM/C_C507[D_2005='137']) =1"/>
|
||||
<param name="EDIFACT-SR-016" value="count(S_DTM/C_C507[D_2005='167']) <=1"/>
|
||||
<param name="EDIFACT-SR-017" value="count(S_DTM/C_C507[D_2005='168']) <=1"/>
|
||||
<param name="EDIFACT-SR-293" value="count(S_DTM/C_C507[D_2005='432'] and not (D_2380)) <=1"/>
|
||||
<param name="EDIFACT-SR-294" value="count(S_DTM/C_C507[D_2005='35' and not (D_2380)]) <=1"/>
|
||||
|
||||
|
||||
<param name="EDIFACT-SR-018" value="not(S_PAI)"/>
|
||||
<param name="EDIFACT-SR-019" value="not(S_ALI)"/>
|
||||
<param name="EDIFACT-SR-020" value="not(S_IMD)"/>
|
||||
<param name="EDIFACT-SR-021" value="not(S_LOC)"/>
|
||||
<param name="EDIFACT-SR-022" value="not(S_GEI)"/>
|
||||
<param name="EDIFACT-SR-023" value="not(S_DGS)"/>
|
||||
<param name="EDIFACT-SR-024" value="not(S_GIR)"/>
|
||||
<param name="EDIFACT-SR-025" value="not(G_SG6)"/>
|
||||
<param name="EDIFACT-SR-026" value="not(G_SG9)"/>
|
||||
<param name="EDIFACT-SR-027" value="not(G_SG12)"/>
|
||||
<param name="EDIFACT-SR-028" value="not(G_SG13)"/>
|
||||
<param name="EDIFACT-SR-029" value="not(G_SG14)"/>
|
||||
<param name="EDIFACT-SR-030" value="not(G_SG23)"/>
|
||||
<param name="EDIFACT-SR-031" value="not(G_SG24)"/>
|
||||
<param name="EDIFACT-SR-032" value="not(G_SG25)"/>
|
||||
<param name="EDIFACT-SR-033" value="not(S_CNT)"/>
|
||||
<param name="EDIFACT-SR-034" value="not(G_SG55)"/>
|
||||
|
||||
<!-- FTX -->
|
||||
<param name="EDIFACT-SR-036" value="not(C_C107/D_1131)"/>
|
||||
<param name="EDIFACT-SR-037" value="not(C_C107/D_3055)"/>
|
||||
<param name="EDIFACT-SR-038" value="not(C_C108/D_4440_2 or C_C108/D_4440_3 or C_C108/D_4440_4 or C_C108/D_4440_5)"/>
|
||||
<param name="EDIFACT-SR-039" value="not(D_3453)"/>
|
||||
<param name="EDIFACT-SR-040" value="not(D_4447)"/>
|
||||
|
||||
<!-- SG1 -->
|
||||
<param name="EDIFACT-SR-041" value="(S_RFF/C_C506[D_1153='PQ' or D_1153='ATS' or D_1153='AAK' or D_1153='ALO' or D_1153='GC' or D_1153='VN' or D_1153='OI' or D_1153='ON' or D_1153='CT' or D_1153='AEP'])"/>
|
||||
<param name="EDIFACT-SR-042" value="not(S_RFF/C_C506/D_1156)"/>
|
||||
<param name="EDIFACT-SR-043" value="not(S_RFF/C_C506/D_1056)"/>
|
||||
<param name="EDIFACT-SR-044" value="not(S_RFF/C_C506/D_1060)"/>
|
||||
<param name="EDIFACT-SR-045" value="count(S_RFF/C_C506[D_1153='GC']) <=1"/>
|
||||
<param name="EDIFACT-SR-046" value="count(S_RFF/C_C506[D_1153='DOC']) <=1"/>
|
||||
<param name="EDIFACT-SR-048" value="count(S_RFF/C_C506[D_1153='CT']) <=1"/>
|
||||
<param name="EDIFACT-SR-049" value="count(S_RFF/C_C506[D_1153='ON']) <=1"/>
|
||||
<param name="EDIFACT-SR-050" value="count(S_RFF/C_C506[D_1153='VN']) <=1"/>
|
||||
<param name="EDIFACT-SR-051" value="count(S_RFF/C_C506[D_1153='ALO']) <=1"/>
|
||||
<param name="EDIFACT-SR-052" value="count(S_RFF/C_C506[D_1153='AAK']) <=1"/>
|
||||
<param name="EDIFACT-SR-053" value="count(S_RFF/C_C506[D_1153='ATS']) <=1"/>
|
||||
<param name="EDIFACT-SR-054" value="count(S_RFF/C_C506[D_1153='AEP']) <=1"/>
|
||||
<param name="EDIFACT-SR-055" value="(S_DTM/C_C507[D_2005='384']) or not (S_DTM)"/>
|
||||
<param name="EDIFACT-SR-056" value="not(S_DTM/C_C507/D_2379) or (S_RFF/C_C506/D_1153='OI')"/>
|
||||
<param name="EDIFACT-SR-057" value="not(S_GIR) or (S_RFF/C_C506[D_1153='ATS'] and S_GIR[D_7297='14'])"/>
|
||||
<param name="EDIFACT-SR-295" value="not(S_GIR/C_C206/D_7405) and not (S_GIR/C_C206/D_4405) and not (S_GIR/C_C206_2) and not (S_GIR/C_C206_3) and not (S_GIR/C_C206_4) and not (S_GIR/C_C206_5)"/>
|
||||
<param name="EDIFACT-SR-058" value="not(S_LOC)"/>
|
||||
<param name="EDIFACT-SR-059" value="not(S_MEA)"/>
|
||||
<param name="EDIFACT-SR-060" value="not(S_QTY)"/>
|
||||
<param name="EDIFACT-SR-061" value="not(S_FTX)"/>
|
||||
<param name="EDIFACT-SR-062" value="not(S_MOA)"/>
|
||||
<param name="EDIFACT-SR-063" value="not(S_RTE)"/>
|
||||
|
||||
<!-- SG2 -->
|
||||
<param name="EDIFACT-SR-064" value="S_NAD[D_3035='SE' or D_3035='BY' or D_3035='PE' or D_3035='LC' or D_3035='DP']"/>
|
||||
<param name="EDIFACT-SR-065" value="not(S_NAD/C_C082/D_3055)"/>
|
||||
|
||||
<param name="EDIFACT-SR-067" value="not(S_NAD/C_C058)"/>
|
||||
<param name="EDIFACT-SR-068" value="not(S_NAD[D_3035='LC']/C_C082)"/>
|
||||
<param name="EDIFACT-SR-069" value="not(S_NAD/C_C080/D_3036_2) or (S_NAD/D_3035=('BY', 'SE'))"/>
|
||||
<param name="EDIFACT-SR-070" value="not(S_NAD/C_C080/D_3036_3 or S_NAD/C_C080/D_3036_4 or S_NAD/C_C080/D_3036_5)"/>
|
||||
<param name="EDIFACT-SR-071" value="not(S_NAD/C_C080/D_3045)"/>
|
||||
<param name="EDIFACT-SR-072" value="not(S_NAD[D_3035='PE']/C_C059)"/>
|
||||
<param name="EDIFACT-SR-074" value="not(S_NAD/C_C059/D_3042_4)"/>
|
||||
<param name="EDIFACT-SR-075" value="not(S_NAD[D_3035='PE']/D_3164)"/>
|
||||
<param name="EDIFACT-SR-076" value="not(S_NAD/C_C819/D_3229)"/>
|
||||
<param name="EDIFACT-SR-077" value="not(S_NAD/C_C819/D_1131)"/>
|
||||
<param name="EDIFACT-SR-078" value="not(S_NAD/C_C819/D_3055)"/>
|
||||
<param name="EDIFACT-SR-079" value="not(S_NAD[D_3035='PE']/C_C819/D_3228)"/>
|
||||
<param name="EDIFACT-SR-080" value="not(S_NAD[D_3035='PE']/D_3251)"/>
|
||||
<param name="EDIFACT-SR-081" value="not(S_NAD[D_3035='PE']/D_3207)"/>
|
||||
<param name="EDIFACT-SR-082" value="not(S_LOC)"/>
|
||||
<param name="EDIFACT-SR-083" value="(.[S_NAD/D_3035=('SE', 'PE')]/S_FII[D_3035='RB'])
|
||||
or (.[S_NAD/D_3035='BY']/S_FII[D_3035=('PB', 'BI')]) or not (./S_FII)"/>
|
||||
<param name="EDIFACT-SR-084" value="not(S_FII/C_C088/D_1131)"/>
|
||||
<param name="EDIFACT-SR-085" value="not(S_FII/C_C088/D_1131_2)"/>
|
||||
<param name="EDIFACT-SR-086" value="not(S_FII/C_C088/D_3055_2)"/>
|
||||
<param name="EDIFACT-SR-087" value="not(S_FII/C_C088/D_3432)"/>
|
||||
<param name="EDIFACT-SR-088" value="not(S_FII/C_C088/D_3436)"/>
|
||||
<param name="EDIFACT-SR-089" value="not(S_FII/D_3207)"/>
|
||||
<param name="EDIFACT-SR-090" value="S_FII[D_3035=('RB','PB')]/C_C078/D_3192 or not (S_FII/C_C078/D_3192)"/>
|
||||
<param name="EDIFACT-SR-091" value="not(S_MOA)"/>
|
||||
<param name="EDIFACT-SR-092" value="not(G_SG3/S_DTM)"/>
|
||||
<param name="EDIFACT-SR-093" value="not(G_SG3/S_RFF/C_C506/D_1156)"/>
|
||||
<param name="EDIFACT-SR-094" value="not(G_SG3/S_RFF/C_C506/D_1056)"/>
|
||||
<param name="EDIFACT-SR-095" value="not(G_SG3/S_RFF/C_C506/D_1060)"/>
|
||||
<param name="EDIFACT-SR-096" value="not(G_SG3/S_RFF) or
|
||||
(.[S_NAD/D_3035='SE']/G_SG3/S_RFF/C_C506[D_1153=('GN', 'VA', 'AHP')]) or
|
||||
(.[S_NAD/D_3035='BY']/G_SG3/S_RFF/C_C506[D_1153=('GN', 'AOU', 'CR', 'VA', 'AVS', 'AII')]) or
|
||||
(.[S_NAD/D_3035='PE']/G_SG3/S_RFF/C_C506[D_1153='GN']) or
|
||||
(.[S_NAD/D_3035='LC']/G_SG3/S_RFF/C_C506[D_1153='VA'])"/>
|
||||
<param name="EDIFACT-SR-097" value="not(G_SG4)"/>
|
||||
<param name="EDIFACT-SR-098" value="not(G_SG5[S_CTA/D_3139='IC']) or G_SG5[S_CTA/D_3139='IC']/S_COM/C_C076/D_3148
|
||||
"/>
|
||||
<param name="EDIFACT-SR-099" value="not(G_SG5/S_CTA/C_C056/D_3413)"/>
|
||||
<!-- SG7 -->
|
||||
<param name="EDIFACT-SR-100" value="(S_CUX/C_C504/D_6347=('2', '6'))"/>
|
||||
<param name="EDIFACT-SR-101" value="not (S_CUX/C_C504/D_6348)"/>
|
||||
<param name="EDIFACT-SR-102" value="not (S_CUX/C_C504_2)"/>
|
||||
<param name="EDIFACT-SR-103" value="not (S_CUX/D_5402)"/>
|
||||
<param name="EDIFACT-SR-104" value="not (S_CUX/D_6341)"/>
|
||||
<param name="EDIFACT-SR-105" value="not (S_DTM)"/>
|
||||
<!-- SG8 -->
|
||||
<param name="EDIFACT-SR-106" value="(.[S_PYT/D_4279='1']/S_PAI/C_C534/D_4461 or .[S_PYT/D_4279='1']/S_DTM/C_C507[D_2005='13' and D_2379='102']/D_2380 or not(S_PAI))
|
||||
or (.[S_PYT/D_4279='1']/S_PAI/D_4461 and not (S_DTM))"/>
|
||||
<param name="EDIFACT-SR-107" value="not (S_PYT/C_C019)"/>
|
||||
<param name="EDIFACT-SR-108" value="not (S_PYT/D_2151)"/>
|
||||
<param name="EDIFACT-SR-109" value="not (S_PYT/D_2152)"/>
|
||||
<param name="EDIFACT-SR-110" value="not (S_PCD)"/>
|
||||
<param name="EDIFACT-SR-111" value="not (S_MOA)"/>
|
||||
<param name="EDIFACT-SR-112" value="not (S_FII)"/>
|
||||
<!-- SG16 -->
|
||||
<param name="EDIFACT-SR-113" value="S_ALC/D_5463=('A', 'C')"/>
|
||||
<param name="EDIFACT-SR-114" value="not(S_ALC/D_4471)"/>
|
||||
<param name="EDIFACT-SR-115" value="not(S_ALC/D_1227)"/>
|
||||
<param name="EDIFACT-SR-116" value="not(S_ALC/C_C214) or (S_ALC/D_5463='C')"/>
|
||||
<param name="EDIFACT-SR-117" value="not(S_ALI)"/>
|
||||
<param name="EDIFACT-SR-118" value="not(S_FTX)"/>
|
||||
<param name="EDIFACT-SR-119" value="not(G_SG17)"/>
|
||||
<param name="EDIFACT-SR-120" value="not(G_SG18)"/>
|
||||
<param name="EDIFACT-SR-121" value="G_SG19/S_PCD/C_C501[D_5245=('1','2')]/D_5482 or not (G_SG19)"/>
|
||||
<param name="EDIFACT-SR-122" value="not(G_SG19/S_PCD/C_C501/D_5249)"/>
|
||||
<param name="EDIFACT-SR-123" value="not(G_SG19/S_PCD/C_C501/D_1131)"/>
|
||||
<param name="EDIFACT-SR-124" value="not(G_SG19/S_PCD/C_C501/D_3055)"/>
|
||||
<param name="EDIFACT-SR-125" value="not(G_SG19/S_PCD/D_4055)"/>
|
||||
<param name="EDIFACT-SR-126" value="not(G_SG19/S_RNG)"/>
|
||||
|
||||
<param name="EDIFACT-SR-127" value="G_SG20/S_MOA/C_C516[D_5025 = ('23', '25', '204')]/D_5004"/>
|
||||
<param name="EDIFACT-SR-128" value="not(G_SG20/S_MOA/C_C516/D_6345)"/>
|
||||
<param name="EDIFACT-SR-129" value="not(G_SG20/S_MOA/C_C516/D_6343)"/>
|
||||
<param name="EDIFACT-SR-130" value="not(G_SG20/S_MOA/C_C516/D_4405)"/>
|
||||
<param name="EDIFACT-SR-131" value="not(G_SG20/S_RNG)"/>
|
||||
<param name="EDIFACT-SR-132" value="not(G_SG20/S_CUX)"/>
|
||||
<param name="EDIFACT-SR-133" value="not(G_SG20/S_DTM)"/>
|
||||
|
||||
<param name="EDIFACT-SR-134" value="not(G_SG21)"/>
|
||||
|
||||
<param name="EDIFACT-SR-135" value="G_SG22/S_TAX[D_5283='7' and C_C241/D_5153='VAT']/D_5305"/>
|
||||
|
||||
<param name="EDIFACT-SR-136" value="not(G_SG22/S_TAX/C_C241/D_1131)"/>
|
||||
<param name="EDIFACT-SR-137" value="not(G_SG22/S_TAX/C_C241/D_3055)"/>
|
||||
<param name="EDIFACT-SR-138" value="not(G_SG22/S_TAX/C_C241/D_5152)"/>
|
||||
<param name="EDIFACT-SR-139" value="not(G_SG22/S_TAX/C_C533)"/>
|
||||
<param name="EDIFACT-SR-140" value="not(G_SG22/S_TAX/D_5286)"/>
|
||||
<param name="EDIFACT-SR-141" value="not(G_SG22/S_TAX/C_C243/D_5279)"/>
|
||||
<param name="EDIFACT-SR-142" value="not(G_SG22/S_TAX/C_C243/D_1131)"/>
|
||||
<param name="EDIFACT-SR-143" value="not(G_SG22/S_TAX/C_C243/D_3055)"/>
|
||||
<param name="EDIFACT-SR-144" value="not(G_SG22/S_TAX/C_C243/D_5273)"/>
|
||||
<param name="EDIFACT-SR-145" value="not(G_SG22/S_TAX/C_C243/D_1131_2)"/>
|
||||
<param name="EDIFACT-SR-146" value="not(G_SG22/S_TAX/C_C243/D_3055_2)"/>
|
||||
<param name="EDIFACT-SR-147" value="not(G_SG22/S_TAX/D_3446)"/>
|
||||
<param name="EDIFACT-SR-148" value="not(G_SG22/S_TAX/D_1227)"/>
|
||||
<param name="EDIFACT-SR-149" value="not(G_SG22/S_TAX/D_5307)"/>
|
||||
<param name="EDIFACT-SR-150" value="not(G_SG22/S_MOA)"/>
|
||||
|
||||
<!-- SG26 -->
|
||||
<param name="EDIFACT-SR-151" value="not(S_EFI/C_C099)"/>
|
||||
<param name="EDIFACT-SR-152" value="not(S_EFI/D_1050)"/>
|
||||
<param name="EDIFACT-SR-153" value="not(S_EFI/D_9450)"/>
|
||||
<param name="EDIFACT-SR-154" value="not(S_CED)"/>
|
||||
<param name="EDIFACT-SR-156" value="not(S_DTM)"/>
|
||||
<param name="EDIFACT-SR-157" value="not(S_QTY)"/>
|
||||
|
||||
<!-- SG27 -->
|
||||
<param name="EDIFACT-SR-158" value="not(S_LIN/D_1229)"/>
|
||||
<param name="EDIFACT-SR-159" value="not(S_LIN/C_C212/D_1131)"/>
|
||||
<param name="EDIFACT-SR-160" value="not(S_LIN/C_C212/D_3055)"/>
|
||||
<param name="EDIFACT-SR-161" value="not(S_LIN/C_C829)"/>
|
||||
<param name="EDIFACT-SR-162" value="not(S_LIN/D_1222)"/>
|
||||
<param name="EDIFACT-SR-163" value="not(S_LIN/D_7083)"/>
|
||||
|
||||
<param name="EDIFACT-SR-164" value="S_PIA[D_4347 = ('1', '5')] or not (S_PIA)"/>
|
||||
<param name="EDIFACT-SR-165" value="not(S_PIA/C_C212/D_1131)"/>
|
||||
<param name="EDIFACT-SR-166" value="not(S_PIA/C_C212/D_3055)"/>
|
||||
|
||||
<param name="EDIFACT-SR-167" value="not(S_PIA/C_C212_2)"/>
|
||||
<param name="EDIFACT-SR-168" value="not(S_PIA/C_C212_3)"/>
|
||||
<param name="EDIFACT-SR-169" value="not(S_PIA/C_C212_4)"/>
|
||||
<param name="EDIFACT-SR-170" value="not(S_PIA/C_C212_5)"/>
|
||||
|
||||
<param name="EDIFACT-SR-171" value="not(S_PGI)"/>
|
||||
|
||||
<param name="EDIFACT-SR-172" value="S_IMD[D_7077='F'] or S_IMD[D_7077='A']"/>
|
||||
<param name="EDIFACT-SR-173" value="not(S_IMD/C_C272/D_1131)"/>
|
||||
<param name="EDIFACT-SR-174" value="not(S_IMD/C_C272/D_3055)"/>
|
||||
<param name="EDIFACT-SR-175" value="not(S_IMD/C_C273/D_1131)"/>
|
||||
<param name="EDIFACT-SR-176" value="not(S_IMD/C_C273/D_3055)"/>
|
||||
<param name="EDIFACT-SR-177" value="not(S_IMD/C_C273/D_7008_2)"/>
|
||||
<param name="EDIFACT-SR-178" value="not(S_IMD/C_C273/D_3453)"/>
|
||||
<param name="EDIFACT-SR-179" value="not(S_IMD/D_3055)"/>
|
||||
|
||||
<param name="EDIFACT-SR-180" value="not(S_MEA)"/>
|
||||
<param name="EDIFACT-SR-181" value="S_QTY/C_C186[D_6063='47']/D_6411 or not (S_QTY)"/>
|
||||
<param name="EDIFACT-SR-182" value="not(S_PCD)"/>
|
||||
<param name="EDIFACT-SR-183" value="not(S_ALI) or S_ALI/D_3239"/>
|
||||
<param name="EDIFACT-SR-184" value="not(S_ALI/D_9213)"/>
|
||||
<param name="EDIFACT-SR-185" value="not(S_ALI/D_4183)"/>
|
||||
<param name="EDIFACT-SR-186" value="not(S_ALI/D_4183_2)"/>
|
||||
<param name="EDIFACT-SR-187" value="not(S_ALI/D_4183_3)"/>
|
||||
<param name="EDIFACT-SR-188" value="not(S_ALI/D_4183_4)"/>
|
||||
<param name="EDIFACT-SR-189" value="not(S_ALI/D_4183_5)"/>
|
||||
|
||||
<param name="EDIFACT-SR-190" value="not(S_DTM) or (S_DTM/C_C507[D_2005 = ('167','168') and D_2379='102']/D_2380)"/>
|
||||
<param name="EDIFACT-SR-191" value="not(S_GIN)"/>
|
||||
<param name="EDIFACT-SR-192" value="not(S_GIR)"/>
|
||||
<param name="EDIFACT-SR-193" value="not(S_QVR)"/>
|
||||
<param name="EDIFACT-SR-194" value="not(S_EQD)"/>
|
||||
|
||||
<param name="EDIFACT-SR-195" value="not(S_FTX) or (S_FTX[D_4451='ACB']/C_C108/D_4440) or ((S_FTX[D_4451='ACF']/C_C108/D_4440) and (S_FTX[D_4451='ACF']/C_C108/D_4440_2))"/>
|
||||
<param name="EDIFACT-SR-196" value="not(S_FTX/C_C107/D_1131)"/>
|
||||
<param name="EDIFACT-SR-197" value="not(S_FTX/C_C107/D_3055)"/>
|
||||
<param name="EDIFACT-SR-198" value="not(S_FTX/C_C108/D_4440_3)"/>
|
||||
<param name="EDIFACT-SR-199" value="not(S_FTX/C_C108/D_4440_4)"/>
|
||||
<param name="EDIFACT-SR-200" value="not(S_FTX/C_C108/D_4440_5)"/>
|
||||
<param name="EDIFACT-SR-201" value="not(S_FTX/D_3453)"/>
|
||||
<param name="EDIFACT-SR-202" value="not(S_FTX/D_34447)"/>
|
||||
|
||||
<param name="EDIFACT-SR-203" value="not(S_DGS)"/>
|
||||
|
||||
<param name="EDIFACT-SR-204" value="G_SG28/S_MOA/C_C516[D_5025='203']/D_5004"/>
|
||||
<param name="EDIFACT-SR-205" value="not(G_SG28/S_MOA/C_C516/D_6345)"/>
|
||||
<param name="EDIFACT-SR-206" value="not(G_SG28/S_MOA/C_C516/D_6343)"/>
|
||||
<param name="EDIFACT-SR-207" value="not(G_SG28/S_MOA/C_C516/D_4405)"/>
|
||||
<param name="EDIFACT-SR-208" value="not(G_SG28/S_CUX)"/>
|
||||
|
||||
<param name="EDIFACT-SR-209" value="not(G_SG29)"/>
|
||||
|
||||
<param name="EDIFACT-SR-210" value="G_SG30/S_PRI/C_C509[D_5125=('AAA', 'AAB')]/D_5118"/>
|
||||
<param name="EDIFACT-SR-211" value="not(G_SG30/S_PRI/C_C509/D_5375)"/>
|
||||
<param name="EDIFACT-SR-212" value="not(G_SG30/S_PRI/C_C509/D_5387)"/>
|
||||
<param name="EDIFACT-SR-213" value="not(G_SG30/S_PRI/D_5213)"/>
|
||||
<param name="EDIFACT-SR-214" value="not(G_SG30/S_CUX)"/>
|
||||
<param name="EDIFACT-SR-215" value="not(G_SG30/S_APR)"/>
|
||||
<param name="EDIFACT-SR-216" value="not(G_SG30/S_RNG)"/>
|
||||
<param name="EDIFACT-SR-217" value="not(G_SG30/S_DTM)"/>
|
||||
|
||||
<param name="EDIFACT-SR-218" value="(G_SG31/S_RFF/C_C506[D_1153=('AVE','AWQ')]/D_1154) or (G_SG31/S_RFF/C_C506[D_1153='ON']/D_1156) or not (G_SG31)"/>
|
||||
<param name="EDIFACT-SR-219" value="not(G_SG31/S_RFF/C_C506[D_1153!='ON']/D_1156)"/>
|
||||
<param name="EDIFACT-SR-220" value="not(G_SG31/S_RFF/C_C506/D_1056)"/>
|
||||
<param name="EDIFACT-SR-221" value="not(G_SG31/S_RFF/C_C506/D_1060)"/>
|
||||
<param name="EDIFACT-SR-222" value="not(G_SG31/S_DTM)"/>
|
||||
|
||||
<param name="EDIFACT-SR-223" value="not(G_SG32)"/>
|
||||
<param name="EDIFACT-SR-224" value="not(G_SG34)"/>
|
||||
|
||||
<param name="EDIFACT-SR-225" value="G_SG35/S_TAX[D_5283='7' and C_C241/D_5153='VAT']/D_5305"/>
|
||||
<param name="EDIFACT-SR-226" value="not(G_SG35/S_TAX/C_C241/D_1131)"/>
|
||||
<param name="EDIFACT-SR-227" value="not(G_SG35/S_TAX/C_C241/D_3055)"/>
|
||||
<param name="EDIFACT-SR-228" value="not(G_SG35/S_TAX/C_C241/D_5152)"/>
|
||||
<param name="EDIFACT-SR-229" value="not(G_SG35/S_TAX/C_C533)"/>
|
||||
<param name="EDIFACT-SR-230" value="not(G_SG35/S_TAX/D_5286)"/>
|
||||
<param name="EDIFACT-SR-231" value="not(G_SG35/S_TAX/C_C243/D_5279)"/>
|
||||
<param name="EDIFACT-SR-232" value="not(G_SG35/S_TAX/C_C243/D_1131)"/>
|
||||
<param name="EDIFACT-SR-233" value="not(G_SG35/S_TAX/C_C243/D_3055)"/>
|
||||
<param name="EDIFACT-SR-234" value="not(G_SG35/S_TAX/C_C243/D_5273)"/>
|
||||
<param name="EDIFACT-SR-235" value="not(G_SG35/S_TAX/C_C243/D_1131_2)"/>
|
||||
<param name="EDIFACT-SR-236" value="not(G_SG35/S_TAX/C_C243/D_3055_2)"/>
|
||||
<param name="EDIFACT-SR-237" value="not(G_SG35/S_TAX/D_3446)"/>
|
||||
<param name="EDIFACT-SR-238" value="not(G_SG35/S_TAX/D_1227)"/>
|
||||
<param name="EDIFACT-SR-239" value="not(G_SG35/S_TAX/D_5307)"/>
|
||||
<param name="EDIFACT-SR-240" value="not(G_SG35/S_MOA)"/>
|
||||
<param name="EDIFACT-SR-241" value="not(G_SG35/S_LOC)"/>
|
||||
|
||||
<param name="EDIFACT-SR-242" value="not(G_SG36)"/>
|
||||
|
||||
<param name="EDIFACT-SR-243" value="not (G_SG40) or G_SG40[S_ALC/D_5463='A']/G_SG43/S_MOA/C_C516[D_5025='509']/D_5004 or
|
||||
G_SG40[G_SG43/S_MOA/C_C516/D_5025='204']/S_ALC[D_5463='A']/C_C552/D_1230 or
|
||||
G_SG40[G_SG43/S_MOA/C_C516/D_5025='23']/S_ALC[D_5463='C']/C_C552/D_1230 "/>
|
||||
<param name="EDIFACT-SR-244" value="not(G_SG40/S_ALC/D_4471)"/>
|
||||
<param name="EDIFACT-SR-245" value="not(G_SG40/S_ALC/D_1227)"/>
|
||||
<param name="EDIFACT-SR-246" value="not(G_SG40/S_ALC/C_C214) or (G_SG40/S_ALC/D_5463='C')"/>
|
||||
<param name="EDIFACT-SR-247" value="not(G_SG40/S_ALI)"/>
|
||||
<param name="EDIFACT-SR-248" value="not(G_SG40/S_DTM)"/>
|
||||
<param name="EDIFACT-SR-249" value="not(G_SG40/S_FTX)"/>
|
||||
<param name="EDIFACT-SR-250" value="not(G_SG40/G_SG41)"/>
|
||||
<param name="EDIFACT-SR-251" value="(G_SG40[S_ALC/D_5463='A']/G_SG42/S_PCD/C_C501[D_5245='1']/D_5482) or
|
||||
(G_SG40[S_ALC/D_5463='C']/G_SG42/S_PCD/C_C501[D_5245='2']/D_5482) or
|
||||
not(G_SG40/G_SG42)"/>
|
||||
<param name="EDIFACT-SR-252" value="not(G_SG40/G_SG42/S_PCD/C_C501/D_5249)"/>
|
||||
<param name="EDIFACT-SR-253" value="not(G_SG40/G_SG42/S_PCD/C_C501/D_1131)"/>
|
||||
<param name="EDIFACT-SR-254" value="not(G_SG40/G_SG42/S_PCD/C_C501/D_3055)"/>
|
||||
<param name="EDIFACT-SR-255" value="not(G_SG40/G_SG42/S_PCD/D_4405)"/>
|
||||
<param name="EDIFACT-SR-256" value="not(G_SG40/G_SG42/S_RNG)"/>
|
||||
<param name="EDIFACT-SR-257" value="(G_SG40/G_SG43/S_MOA/C_C516[D_5025=('23', '25', '204', '509')]) or not (G_SG40/G_SG43)"/>
|
||||
<param name="EDIFACT-SR-258" value="not(G_SG40/G_SG43/S_MOA/C_C516/D_6345)"/>
|
||||
<param name="EDIFACT-SR-259" value="not(G_SG40/G_SG43/S_MOA/C_C516/D_6343)"/>
|
||||
<param name="EDIFACT-SR-260" value="not(G_SG40/G_SG43/S_MOA/C_C516/D_4405)"/>
|
||||
<param name="EDIFACT-SR-261" value="not(G_SG40/G_SG43/S_RNG)"/>
|
||||
<param name="EDIFACT-SR-262" value="not(G_SG40/G_SG43/S_CUX)"/>
|
||||
<param name="EDIFACT-SR-263" value="not(G_SG40/G_SG43/S_DTM)"/>
|
||||
<param name="EDIFACT-SR-264" value="not(G_SG40/G_SG44)"/>
|
||||
<param name="EDIFACT-SR-265" value="not(G_SG40/G_SG45)"/>
|
||||
<param name="EDIFACT-SR-266" value="not(G_SG46)"/>
|
||||
<param name="EDIFACT-SR-267" value="not(G_SG48)"/>
|
||||
<param name="EDIFACT-SR-268" value="not(G_SG49)"/>
|
||||
<param name="EDIFACT-SR-269" value="not(G_SG50)"/>
|
||||
<param name="EDIFACT-SR-270" value="not(G_SG51)"/>
|
||||
|
||||
<!-- SG52 -->
|
||||
<param name="EDIFACT-SR-271" value="S_MOA/C_C516[D_5025 = ('2', '9', '79', '113', '176', '259', '260', '366', '388', '389')]/D_5004"/>
|
||||
<param name="EDIFACT-SR-272" value="not(S_MOA/C_C516/D_6345)"/>
|
||||
<param name="EDIFACT-SR-273" value="not(S_MOA/C_C516/D_6343)"/>
|
||||
<param name="EDIFACT-SR-274" value="not(S_MOA/C_C516/D_4405)"/>
|
||||
<param name="EDIFACT-SR-275" value="not(G_SG53)"/>
|
||||
|
||||
<!-- SG54 -->
|
||||
<param name="EDIFACT-SR-276" value="(S_TAX[D_5283='7' and C_C241/D_5153='VAT']/D_5305) and
|
||||
(S_MOA/C_C516[D_5025 = ('124', '125')]/D_5004)"/>
|
||||
<param name="EDIFACT-SR-277" value="not(S_TAX/C_C241/D_1131)"/>
|
||||
<param name="EDIFACT-SR-278" value="not(S_TAX/C_C241/D_3055)"/>
|
||||
<param name="EDIFACT-SR-279" value="not(S_TAX/C_C241/D_5152)"/>
|
||||
<param name="EDIFACT-SR-280" value="not(S_TAX/C_C533)"/>
|
||||
<param name="EDIFACT-SR-281" value="not(S_TAX/D_5286)"/>
|
||||
<param name="EDIFACT-SR-282" value="not(S_TAX/C_C243/D_5279)"/>
|
||||
<param name="EDIFACT-SR-283" value="not(S_TAX/C_C243/D_1131)"/>
|
||||
<param name="EDIFACT-SR-284" value="not(S_TAX/C_C243/D_3055)"/>
|
||||
<param name="EDIFACT-SR-285" value="not(S_TAX/C_C243/D_5273)"/>
|
||||
<param name="EDIFACT-SR-286" value="not(S_TAX/C_C243/D_1131_2)"/>
|
||||
<param name="EDIFACT-SR-287" value="not(S_TAX/C_C243/D_3055_2)"/>
|
||||
<param name="EDIFACT-SR-288" value="not(S_TAX/D_3446)"/>
|
||||
<param name="EDIFACT-SR-289" value="not(S_TAX/D_1227)"/>
|
||||
<param name="EDIFACT-SR-290" value="not(S_TAX/D_5307)"/>
|
||||
<param name="EDIFACT-SR-291" value="not(S_MOA/C_C516/D_6343)"/>
|
||||
<param name="EDIFACT-SR-292" value="not(S_MOA/C_C516/D_4405)"/>
|
||||
|
||||
|
||||
|
||||
<!-- segments, groups and composites -->
|
||||
<param name="UNH " value="/M_INVOIC/S_UNH"/>
|
||||
<param name="BGM " value="/M_INVOIC/S_BGM"/>
|
||||
<param name="Invoice " value="/M_INVOIC"/>
|
||||
<param name="FTX " value="/M_INVOIC/S_FTX"/>
|
||||
<param name="SG1 " value="/M_INVOIC/G_SG1"/>
|
||||
<param name="SG2 " value="/M_INVOIC/G_SG2"/>
|
||||
<param name="SG7 " value="/M_INVOIC/G_SG7"/>
|
||||
<param name="SG8 " value="/M_INVOIC/G_SG8"/>
|
||||
<param name="SG16 " value="/M_INVOIC/G_SG16"/>
|
||||
<param name="SG26 " value="/M_INVOIC/G_SG26"/>
|
||||
<param name="SG27 " value="/M_INVOIC/G_SG27"/>
|
||||
<param name="SG52 " value="/M_INVOIC/G_SG52"/>
|
||||
<param name="SG54 " value="/M_INVOIC/G_SG54"/>
|
||||
|
||||
</pattern>
|
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
Licensed under European Union Public Licence (EUPL) version 1.2.
|
||||
|
||||
-->
|
||||
<!--
|
||||
|
||||
EDIFACT syntax binding to the EN16931
|
||||
Author: Andreas Pelekies
|
||||
Timestamp: 2016-10-31 00:00:00 +0200
|
||||
-->
|
||||
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
|
||||
<title>EN16931 model bound to EDIFACT</title>
|
||||
<phase id="EN16931-model-phase">
|
||||
<active pattern="EN16931-EDIFACT-Model"/>
|
||||
</phase>
|
||||
<phase id="codelist_phase">
|
||||
<active pattern="EN16931-Codes"/>
|
||||
</phase>
|
||||
<phase id="syntax_phase">
|
||||
<active pattern="EN16931-EDIFACT-Syntax"/>
|
||||
</phase>
|
||||
<!-- Abstract CEN BII patterns -->
|
||||
<!-- ========================= -->
|
||||
<include href="abstract/EN16931-EDIFACT-model.sch"/>
|
||||
<include href="abstract/EN16931-EDIFACT-syntax.sch"/>
|
||||
<!-- Data Binding parameters -->
|
||||
<!-- ======================= -->
|
||||
<include href="EDIFACT/EN16931-EDIFACT-model.sch"/>
|
||||
<include href="EDIFACT/EN16931-EDIFACT-syntax.sch"/>
|
||||
<!-- Code Lists Binding rules -->
|
||||
<!-- ======================== -->
|
||||
<include href="codelist/EN16931-EDIFACT-codes.sch"/>
|
||||
</schema>
|
@ -0,0 +1,701 @@
|
||||
<!--
|
||||
|
||||
Licensed under European Union Public Licence (EUPL) version 1.2.
|
||||
|
||||
-->
|
||||
<!-- Schematron rules generated by Andreas Pelekies -->
|
||||
<!-- Abstract rules for EN16931 -->
|
||||
<!-- Timestamp: 2016-10-31 00:00:00 +0200 -->
|
||||
<pattern xmlns="http://purl.oclc.org/dsdl/schematron" abstract="true" id="EN16931">
|
||||
<rule context="$Additional_supporting_documents ">
|
||||
<assert test="$BR-52" flag="fatal" id="BR-52">[BR-52]-Each additional supporting document shall
|
||||
contain a Supporting document reference. </assert>
|
||||
</rule>
|
||||
<rule context="$Card_information ">
|
||||
<assert test="$BR-51" flag="fatal" id="BR-51">[BR-51]-The last 4 to 6 digits of the Payment card
|
||||
primary account number shall be present if Payment card information is provided in the
|
||||
Invoice. </assert>
|
||||
</rule>
|
||||
<rule context="$CreditTransfer_information ">
|
||||
<assert test="$BR-50" flag="fatal" id="BR-50">[BR-50]-A Payment account identifier shall be
|
||||
present if Credit transfer information is provided in the Invoice. </assert>
|
||||
</rule>
|
||||
<rule context="$Document_level_allowances ">
|
||||
<assert test="$BR-31" flag="fatal" id="BR-31">[BR-31]-Each document level allowance shall have a
|
||||
Document level allowance amount. </assert>
|
||||
<assert test="$BR-32" flag="fatal" id="BR-32">[BR-32]-Each document level allowance shall have a
|
||||
Document level allowance VAT category code. </assert>
|
||||
<assert test="$BR-33" flag="fatal" id="BR-33">[BR-33]-Each document level allowance shall have a
|
||||
Document level allowance reason or a Document level allowance reason code. </assert>
|
||||
<assert test="$BR-34" flag="fatal" id="BR-34">[BR-34]-Document level allowance amounts shall not
|
||||
be negative. </assert>
|
||||
<assert test="$BR-35" flag="fatal" id="BR-35">[BR-35]-Document level allowance base amount shall
|
||||
not be negative. </assert>
|
||||
<assert test="$BR-CO-05" flag="fatal" id="BR-CO-05">[BR-CO-05]-Document level allowance reason
|
||||
code and Document level allowance reason shall indicate the same type of allowance. </assert>
|
||||
<assert test="$BR-CO-21" flag="fatal" id="BR-CO-21">[BR-CO-21]-Each Document level allowance
|
||||
(BG-20) must contain a Document level allowance reason or a Document level allowance reason
|
||||
code, or both.</assert>
|
||||
<assert test="$BR-DEC-01" flag="fatal" id="BR-DEC-01">[BR-DEC-01]-The allowed maximum number of
|
||||
decimals for the Document level allowance amount (BT-92) is 2.</assert>
|
||||
<assert test="$BR-DEC-02" flag="fatal" id="BR-DEC-02">[BR-DEC-02]-The allowed maximum number of
|
||||
decimals for the Document level allowance base amount (BT-93) is 2.</assert>
|
||||
</rule>
|
||||
<rule context="$Document_level_charges ">
|
||||
<assert test="$BR-36" flag="fatal" id="BR-36">[BR-36]-Each document level charge shall have a
|
||||
Document level charge amount. </assert>
|
||||
<assert test="$BR-37" flag="fatal" id="BR-37">[BR-37]-Each document level charge shall have a
|
||||
Document level charge VAT category code. </assert>
|
||||
<assert test="$BR-38" flag="fatal" id="BR-38">[BR-38]-Each document level charge shall have a
|
||||
Document level charge reason or a Document level charge reason code. </assert>
|
||||
<assert test="$BR-40" flag="fatal" id="BR-40">[BR-40]-Document level charge base amounts shall
|
||||
not be negative. </assert>
|
||||
<assert test="$BR-39" flag="fatal" id="BR-39">[BR-39]-Document level charge amount shall not be
|
||||
negative. </assert>
|
||||
<assert test="$BR-CO-06" flag="fatal" id="BR-CO-06">[BR-CO-06]-Document level charge reason code
|
||||
and Document level charge reason shall indicate the same type of charge. </assert>
|
||||
<assert test="$BR-CO-22" flag="fatal" id="BR-CO-22">[BR-CO-22]-Each Document level charge
|
||||
(BG-21) must contain a Document level charge reason or a Document level charge reason code, or
|
||||
both.</assert>
|
||||
<assert test="$BR-DEC-05" flag="fatal" id="BR-DEC-05">[BR-DEC-05]-The allowed maximum number of
|
||||
decimals for the Document level charge amount (BT-92) is 2.</assert>
|
||||
<assert test="$BR-DEC-06" flag="fatal" id="BR-DEC-06">[BR-DEC-06]-The allowed maximum number of
|
||||
decimals for the Document level charge base amount (BT-93) is 2.</assert>
|
||||
</rule>
|
||||
<rule context="$Document_totals ">
|
||||
|
||||
<assert test="$BR-DEC-09" flag="fatal" id="BR-DEC-09">[BR-DEC-09]-The allowed maximum number of
|
||||
decimals for the Sum of Invoice line net amount (BT-106) is 2.</assert>
|
||||
<assert test="$BR-DEC-10" flag="fatal" id="BR-DEC-10">[BR-DEC-10]-The allowed maximum number of
|
||||
decimals for the Sum of allowanced on document level (BT-107) is 2.</assert>
|
||||
<assert test="$BR-DEC-11" flag="fatal" id="BR-DEC-11">[BR-DEC-11]-The allowed maximum number of
|
||||
decimals for the Sum of charges on document level (BT-108) is 2.</assert>
|
||||
<assert test="$BR-DEC-12" flag="fatal" id="BR-DEC-12">[BR-DEC-12]-The allowed maximum number of
|
||||
decimals for the Invoice total amount without VAT (BT-109) is 2.</assert>
|
||||
<assert test="$BR-DEC-13" flag="fatal" id="BR-DEC-13">[BR-DEC-13]-The allowed maximum number of
|
||||
decimals for the Invoice total VAT amount (BT-110) is 2.</assert>
|
||||
<assert test="$BR-DEC-14" flag="fatal" id="BR-DEC-14">[BR-DEC-14]-The allowed maximum number of
|
||||
decimals for the Invoice total amount with VAT (BT-112) is 2.</assert>
|
||||
<assert test="$BR-DEC-15" flag="fatal" id="BR-DEC-15">[BR-DEC-15]-The allowed maximum number of
|
||||
decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2.</assert>
|
||||
<assert test="$BR-DEC-16" flag="fatal" id="BR-DEC-16">[BR-DEC-16]-The allowed maximum number of
|
||||
decimals for the Paid amount (BT-113) is 2.</assert>
|
||||
<assert test="$BR-DEC-17" flag="fatal" id="BR-DEC-17">[BR-DEC-17]-The allowed maximum number of
|
||||
decimals for the Rounding amount (BT-114) is 2.</assert>
|
||||
<assert test="$BR-DEC-18" flag="fatal" id="BR-DEC-18">[BR-DEC-18]-The allowed maximum number of
|
||||
decimals for the Amount due for payment (BT-115) is 2.</assert>
|
||||
</rule>
|
||||
<rule context="$Invoice ">
|
||||
<assert test="$BR-01" flag="fatal" id="BR-01">[BR-01]-An Invoice shall have a Specification
|
||||
identification. </assert>
|
||||
<assert test="$BR-02" flag="fatal" id="BR-02">[BR-02]-An Invoice shall have an Invoice number. </assert>
|
||||
<assert test="$BR-03" flag="fatal" id="BR-03">[BR-03]-An Invoice shall have an Invoice issue
|
||||
date. </assert>
|
||||
<assert test="$BR-04" flag="fatal" id="BR-04">[BR-04]-An Invoice shall have an Invoice type
|
||||
code. </assert>
|
||||
<assert test="$BR-05" flag="fatal" id="BR-05">[BR-05]-An Invoice shall have an Invoice currency
|
||||
code. </assert>
|
||||
<assert test="$BR-06" flag="fatal" id="BR-06">[BR-06]-An Invoice shall contain Seller name. </assert>
|
||||
<assert test="$BR-07" flag="fatal" id="BR-07">[BR-07]-An Invoice shall contain Buyer name. </assert>
|
||||
<assert test="$BR-08" flag="fatal" id="BR-08">[BR-08]-An Invoice shall contain the Seller postal
|
||||
address. </assert>
|
||||
<assert test="$BR-09" flag="fatal" id="BR-09">[BR-09]-A Seller postal address shall contain a
|
||||
Seller country code. </assert>
|
||||
<assert test="$BR-10" flag="fatal" id="BR-10">[BR-10]-An Invoice shall contain the Buyer postal
|
||||
address. </assert>
|
||||
<assert test="$BR-11" flag="fatal" id="BR-11">[BR-11]-A Buyer postal address shall contain a
|
||||
Buyer country code. </assert>
|
||||
<assert test="$BR-12" flag="fatal" id="BR-12">[BR-12]-An Invoice shall have the Sum of Invoice
|
||||
line net amount. </assert>
|
||||
<assert test="$BR-13" flag="fatal" id="BR-13">[BR-13]-An Invoice shall have the Invoice total
|
||||
amount without VAT. </assert>
|
||||
<assert test="$BR-14" flag="fatal" id="BR-14">[BR-14]-An Invoice shall have the Invoice total
|
||||
amount with VAT. </assert>
|
||||
<assert test="$BR-15" flag="fatal" id="BR-15">[BR-15]-An Invoice shall have the Amount due for
|
||||
payment. </assert>
|
||||
<assert test="$BR-16" flag="fatal" id="BR-16">[BR-16]-An Invoice shall have at least one Invoice
|
||||
line. </assert>
|
||||
<assert test="$BR-CO-01" flag="fatal" id="BR-CO-01">[BR-CO-01]-Only one language shall be used
|
||||
in an Invoice: Invoice language code, if used, shall only occur once..</assert>
|
||||
<assert test="$BR-CO-03" flag="fatal" id="BR-CO-03">[BR-CO-03]-Value added tax point date and
|
||||
Value added tax point date code are mutually exclusive. </assert>
|
||||
<assert test="$BR-CO-10" flag="fatal" id="BR-CO-10">[BR-CO-10]-Sum of Invoice line net amount =
|
||||
Σ Invoice line net amount. </assert>
|
||||
<assert test="$BR-CO-11" flag="fatal" id="BR-CO-11">[BR-CO-11]-Sum of allowances on document
|
||||
level = Σ Document level allowance amount. </assert>
|
||||
<assert test="$BR-CO-12" flag="fatal" id="BR-CO-12">[BR-CO-12]-Sum of charges on document level
|
||||
= Σ Document level charge amount. </assert>
|
||||
<assert test="$BR-CO-13" flag="fatal" id="BR-CO-13">[BR-CO-13]-Invoice total amount without VAT
|
||||
= Σ Invoice line net amount - Sum of allowances on document level + Sum of charges on document
|
||||
level. </assert>
|
||||
<assert test="$BR-CO-15" flag="fatal" id="BR-CO-15">[BR-CO-15]-Invoice total amount with VAT =
|
||||
Invoice total amount without VAT + Invoice total VAT amount. </assert>
|
||||
<assert test="$BR-CO-16" flag="fatal" id="BR-CO-16">[BR-CO-16]-Amount due for payment = Invoice
|
||||
total amount with VAT-Paid amount + Rounding amount (BT-114). </assert>
|
||||
<assert test="$BR-CO-18" flag="fatal" id="BR-CO-18">[BR-CO-18]-An invoice shall at least have
|
||||
one VAT breakdown group (BG-23). </assert>
|
||||
<assert test="$BR-CO-25" flag="fatal" id="BR-CO-25">[BR-CO-25]-In case the Amount due for
|
||||
payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20)
|
||||
shall be present.</assert>
|
||||
<assert test="$BR-S-01" flag="fatal" id="BR-S-01">[BR-S-01]-An Invoice that contains a line, a
|
||||
document level allowance or a document level charge where the Invoiced item VAT category code
|
||||
(BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at
|
||||
least one VAT category code (BT-118) equal with "Standard rated". </assert>
|
||||
<assert test="$BR-Z-01" flag="fatal" id="BR-Z-01">[BR-Z-01]-An Invoice that contains a line, a
|
||||
document level allowance or a document level charge where the Invoiced item VAT category code
|
||||
(BT-151, BT-95 or BT-102) is "Zero rated" shall contain in the VAT breakdown (BG-23) exactly
|
||||
one VAT category code (BT-118) equal with "Zero rated".</assert>
|
||||
<assert test="$BR-E-01" flag="fatal" id="BR-E-01">[BR-E-01]-An Invoice that contains a line, a
|
||||
document level allowance or a document level charge where the Invoiced item VAT category code
|
||||
(BT-151, BT-95 or BT-102) is "Exempt from VAT" shall contain in the VAT breakdown (BG-23)
|
||||
exactly one VAT category code (BT-118) equal with "Exempt from VAT".</assert>
|
||||
<assert test="$BR-AE-01" flag="fatal" id="BR-AE-01">[BR-AE-01]-An Invoice that contains a line,
|
||||
a document level allowance or a document level charge where the Invoiced item VAT category
|
||||
code (BT-151, BT-95 or BT-102) is "VAT reverse charge" shall contain in the VAT breakdown
|
||||
(BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge".</assert>
|
||||
<assert test="$BR-IC-01" flag="fatal" id="BR-IC-01">[BR-IC-01]-An Invoice that contains a line,
|
||||
a document level allowance or a document level charge where the Invoiced item VAT category
|
||||
code (BT-151, BT-95 or BT-102) is "Intra-community supply" shall contain in the VAT breakdown
|
||||
(BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply".</assert>
|
||||
<assert test="$BR-G-01" flag="fatal" id="BR-G-01">[BR-G-01]-An Invoice that contains a line, a
|
||||
document level allowance or a document level charge where the Invoiced item VAT category code
|
||||
(BT-151, BT-95 or BT-102) is "Export outside the EU" shall contain in the VAT breakdown
|
||||
(BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU".</assert>
|
||||
<assert test="$BR-O-01" flag="fatal" id="BR-O-01">[BR-O-01]-An Invoice that contains a line, a
|
||||
document level allowance or a document level charge where the Invoiced item VAT category code
|
||||
(BT-151, BT-95 or BT-102) is "Not subject to VAT" shall contain in the VAT breakdown (BG-23)
|
||||
exactly one VAT category code (BT-118) equal with "Out of scope of VAT".</assert>
|
||||
<assert test="$BR-AF-01" flag="fatal" id="BR-AF-01">[BR-IG-01]-An Invoice that contains a line,
|
||||
a document level allowance or a document level charge where the Invoiced item VAT category
|
||||
code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least
|
||||
one VAT category code (BT-118) equal with "IGIC". </assert>
|
||||
<assert test="$BR-AG-01" flag="fatal" id="BR-AG-01">[BR-IP-01]-An Invoice that contains a line,
|
||||
a document level allowance or a document level charge where the Invoiced item VAT category
|
||||
code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least
|
||||
one VAT category code (BT-118) equal with "IPSI". </assert>
|
||||
</rule>
|
||||
<rule context="$Invoice_Line ">
|
||||
<assert test="$BR-21" flag="fatal" id="BR-21">[BR-21]-Each Invoice line shall have an Invoice
|
||||
line identifier. </assert>
|
||||
<assert test="$BR-22" flag="fatal" id="BR-22">[BR-22]-Each Invoice line shall have an Invoiced
|
||||
quantity. </assert>
|
||||
<assert test="$BR-23" flag="fatal" id="BR-23">[BR-23]-An invoiced quantity shall have an Invoice
|
||||
quantity unit of measure. </assert>
|
||||
<assert test="$BR-24" flag="fatal" id="BR-24">[BR-24]-Each Invoice line shall have an Invoice
|
||||
line net amount. </assert>
|
||||
<assert test="$BR-25" flag="fatal" id="BR-25">[BR-25]-Each Invoice line shall contain the Item
|
||||
name. </assert>
|
||||
<assert test="$BR-26" flag="fatal" id="BR-26">[BR-26]-Each Invoice line shall contain the Item
|
||||
net price. </assert>
|
||||
<assert test="$BR-27" flag="fatal" id="BR-27">[BR-27]-Invoice line item net price shall NOT be
|
||||
negative. </assert>
|
||||
<assert test="$BR-28" flag="fatal" id="BR-28">[BR-28]-Invoice line item gross price shall NOT be
|
||||
negative. </assert>
|
||||
<assert test="$BR-CO-04" flag="fatal" id="BR-CO-04">[BR-CO-04]-Each Invoice line shall be
|
||||
categorized with an Invoiced item VAT category code. </assert>
|
||||
<assert test="$BR-DEC-23" flag="fatal" id="BR-DEC-23">[BR-DEC-23]-The allowed maximum number of
|
||||
decimals for the Invoice line net amount (BT-131) is 2.</assert>
|
||||
</rule>
|
||||
<rule context="$Invoice_line_allowances ">
|
||||
<assert test="$BR-41" flag="fatal" id="BR-41">[BR-41]-Each Invoice line allowance shall have an
|
||||
Invoice line allowance amount. </assert>
|
||||
<assert test="$BR-42" flag="fatal" id="BR-42">[BR-42]-Each Invoice line allowance shall have an
|
||||
Invoice line allowance reason or an Invoice allowance reason code. </assert>
|
||||
<assert test="$BR-CO-07" flag="fatal" id="BR-CO-07">[BR-CO-07]-Invoice line allowance reason
|
||||
code and Invoice line allowance reason shall indicate the same type of allowance reason. </assert>
|
||||
<assert test="$BR-CO-23" flag="fatal" id="BR-CO-23">[BR-CO-23]-Each Invoice line allowance
|
||||
(BG-27) must contain a Invoice line allowance reason or a Invoice line allowance reason code,
|
||||
or both.</assert>
|
||||
<assert test="$BR-DEC-24" flag="fatal" id="BR-DEC-24">[BR-DEC-24]-The allowed maximum number of
|
||||
decimals for the Invoice line allowance amount (BT-136) is 2.</assert>
|
||||
<assert test="$BR-DEC-25" flag="fatal" id="BR-DEC-25">[BR-DEC-25]-The allowed maximum number of
|
||||
decimals for the Invoice line allowance base amount (BT-137) is 2.</assert>
|
||||
</rule>
|
||||
<rule context="$Invoice_line_charges ">
|
||||
<assert test="$BR-43" flag="fatal" id="BR-43">[BR-43]-Each Invoice line charge shall have an
|
||||
Invoice line charge amount. </assert>
|
||||
<assert test="$BR-44" flag="fatal" id="BR-44">[BR-44]-Each Invoice line charge shall have an
|
||||
Invoice line charge reason or an Invoice charge reason code. </assert>
|
||||
<assert test="$BR-CO-08" flag="fatal" id="BR-CO-08">[BR-CO-08]-Invoice line charge reason code
|
||||
and Invoice line charge reason shall indicate the same type of charge reason. </assert>
|
||||
<assert test="$BR-CO-24" flag="fatal" id="BR-CO-24">[BR-CO-24]-Each Invoice line charge (BG-28)
|
||||
must contain a Invoice line charge reason or a Invoice line charge reason code, or
|
||||
both.</assert>
|
||||
<assert test="$BR-DEC-27" flag="fatal" id="BR-DEC-27">[BR-DEC-27]-The allowed maximum number of
|
||||
decimals for the Invoice line charge amount (BT-141) is 2.</assert>
|
||||
<assert test="$BR-DEC-28" flag="fatal" id="BR-DEC-28">[BR-DEC-28]-The allowed maximum number of
|
||||
decimals for the Invoice line charge base amount (BT-142) is 2.</assert>
|
||||
</rule>
|
||||
<rule context="$Invoice_Line_Period ">
|
||||
<assert test="$BR-30" flag="fatal" id="BR-30">[BR-30]-If both Invoice line period start date and
|
||||
Invoice line period end date are given then the Invoice line period end date shall be later or
|
||||
equal to the Invoice line period start date.</assert>
|
||||
<assert test="$BR-CO-20" flag="fatal" id="BR-CO-20">[BR-CO-20]-If Invoice line period (BG-26) is
|
||||
used, the Invoice line period start date or the Invoice line period end date shall be filled,
|
||||
or both.</assert>
|
||||
</rule>
|
||||
<rule context="$Invoice_Period ">
|
||||
<assert test="$BR-29" flag="fatal" id="BR-29">[BR-29]-If both Delivery period start date and
|
||||
Delivery period end date are given then the Delivery period end date shall be later or equal
|
||||
to the Delivery period start date. </assert>
|
||||
<assert test="$BR-CO-19" flag="fatal" id="BR-CO-19">[BR-CO-19]-If Delivery or invoice period
|
||||
(BG-14) is used, the Delivery period start date or the Delivery period end date shall be
|
||||
filled, or both.</assert>
|
||||
</rule>
|
||||
<rule context="$Item_attributes ">
|
||||
<assert test="$BR-54" flag="fatal" id="BR-54">[BR-54]-Each Item attribute shall contain an Item
|
||||
attribute name and an Item attribute value. </assert>
|
||||
</rule>
|
||||
<rule context="$Payee ">
|
||||
<assert test="$BR-17" flag="fatal" id="BR-17">[BR-17]-The Payee name shall be provided in the
|
||||
Invoice, if the Payee is different from the Seller. </assert>
|
||||
</rule>
|
||||
<rule context="$Payment_instructions ">
|
||||
<assert test="$BR-49" flag="fatal" id="BR-49">[BR-49]-A payment instruction shall specify the
|
||||
Payment means type code. </assert>
|
||||
<assert test="$BR-CO-02" flag="fatal" id="BR-CO-02">[BR-CO-02]-Account identification shall be
|
||||
present if payment means is credit transfer. </assert>
|
||||
</rule>
|
||||
<rule context="$Preceding_Invoice ">
|
||||
<assert test="$BR-55" flag="fatal" id="BR-55">[BR-55]-Each Preceding invoice reference shall
|
||||
contain a preceding invoice number.</assert>
|
||||
</rule>
|
||||
<rule context="$Seller ">
|
||||
<assert test="$BR-CO-26" flag="fatal" id="BR-CO-26">[BR-CO-26]-In order for the Buyer to
|
||||
automatically identify a supplier, either the Seller identifier (BT-29), the Seller legal
|
||||
registration identifier (BT-30) or the Seller VAT identifier (BT-31) shall be
|
||||
present.</assert>
|
||||
</rule>
|
||||
<rule context="$Tax_Representative ">
|
||||
<assert test="$BR-18" flag="fatal" id="BR-18">[BR-18]-The Seller tax representative name shall
|
||||
be provided in the Invoice, if the Seller has a tax representative party. </assert>
|
||||
<assert test="$BR-19" flag="fatal" id="BR-19">[BR-19]-The Seller tax representative postal
|
||||
address shall be provided in the Invoice, if the Seller has a tax representative party. </assert>
|
||||
<assert test="$BR-20" flag="fatal" id="BR-20">[BR-20]-The Seller tax representative postal
|
||||
address shall contain a Tax representative country code, if the Seller has a tax
|
||||
representative party. </assert>
|
||||
</rule>
|
||||
<rule context="$Accounting_currency ">
|
||||
<assert test="$BR-53" flag="fatal" id="BR-53">[BR-53]-If the VAT accounting currency code is
|
||||
different than the Invoice currency code, then the Invoice total VAT amount in accounting
|
||||
currency shall be provided. </assert>
|
||||
|
||||
</rule>
|
||||
<rule context="$Tax_Total ">
|
||||
<assert test="$BR-CO-14" flag="fatal" id="BR-CO-14">[BR-CO-14]-Invoice total VAT amount = Σ VAT
|
||||
category tax amount. </assert>
|
||||
</rule>
|
||||
<rule context="$VAT_breakdown ">
|
||||
<assert test="$BR-45" flag="fatal" id="BR-45">[BR-45]-Each VAT breakdown shall have a VAT
|
||||
category taxable amount. </assert>
|
||||
<assert test="$BR-46" flag="fatal" id="BR-46">[BR-46]-Each VAT breakdown shall have a VAT
|
||||
category tax amount. </assert>
|
||||
<assert test="$BR-47" flag="fatal" id="BR-47">[BR-47]-Each VAT breakdown shall be defined
|
||||
through a VAT category code. </assert>
|
||||
<assert test="$BR-48" flag="fatal" id="BR-48">[BR-48]-Each VAT breakdown shall have a VAT
|
||||
category rate, except if the Invoice is outside the scope of VAT. </assert>
|
||||
<!-- BR-CO-17 was moved here from Tax_subtotal -->
|
||||
<assert test="$BR-CO-17" flag="fatal" id="BR-CO-17">[BR-CO-17]-VAT category tax amount = VAT
|
||||
category taxable amount x (VAT category rate / 100), rounded "half up" to two decimals. </assert>
|
||||
<assert test="$BR-DEC-19" flag="fatal" id="BR-DEC-19">[BR-DEC-19]-The allowed maximum number of
|
||||
decimals for the VAT category taxable amount (BT-116) is 2.</assert>
|
||||
<assert test="$BR-DEC-20" flag="fatal" id="BR-DEC-20">[BR-DEC-20]-The allowed maximum number of
|
||||
decimals for the VAT category tax amount (BT-117) is 2.</assert>
|
||||
</rule>
|
||||
<rule context="$VAT_identifiers ">
|
||||
<assert test="$BR-CO-09" flag="fatal" id="BR-CO-09">[BR-CO-09]-The Seller VAT identifier, Seller
|
||||
tax representative VAT identifier, Buyer VAT identifier shall have a prefix in accordance with
|
||||
ISO code ISO 3166-1 alpha-2 by which the Member State of issue may be identified.
|
||||
Nevertheless, Greece may use the prefix ‘EL’. </assert>
|
||||
</rule>
|
||||
<rule context="$VATAE ">
|
||||
<assert test="$BR-AE-08" flag="fatal" id="BR-AE-08">[BR-AE-08]-In a VAT breakdown (BG-23) where
|
||||
VAT category code (BT-118) is "VAT reverse charge", the VAT category taxable amount (BT-116)
|
||||
shall equal the sum of Invoice line net amounts (BT-131) minus document level allowance
|
||||
amounts (BT-92) plus document level charge amounts (BT-99) where the VAT category code
|
||||
(BT-151, BT-102, BT-96) are "VAT reverse charge". </assert>
|
||||
<assert test="$BR-AE-09" flag="fatal" id="BR-AE-09">[BR-AE-09]-The VAT category tax amount
|
||||
(BT-117) in VAT breakdown (BG-23) where VAT category code (BT-118) is "VAT reverse charge"
|
||||
shall equal 0 (zero). </assert>
|
||||
<assert test="$BR-AE-10" flag="fatal" id="BR-AE-10">[BR-AE-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "VAT reverse charge" shall have a VAT exemption reason code (BT-121) or
|
||||
VAT exemption reason text (BT-120). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAE_Allowance ">
|
||||
<assert test="$BR-AE-03" flag="fatal" id="BR-AE-03">[BR-AE-03]-An Invoice that contains a
|
||||
document level allowance where the Invoiced item VAT category code (BT-151) is "VAT reverse
|
||||
charge" shall contain the Sellers VAT identifier (BT-31), the Seller Tax registration
|
||||
identifier (BT-32) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT
|
||||
identifier (BT-48). </assert>
|
||||
<assert test="$BR-AE-06" flag="fatal" id="BR-AE-06">[BR-AE-06]-In a document level allowance
|
||||
where the Invoice item VAT category code (BT-95) is "VAT reverse charge" the Invoiced item VAT
|
||||
rate (BT-96) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAE_Charge ">
|
||||
<assert test="$BR-AE-04" flag="fatal" id="BR-AE-04">[BR-AE-04]-An Invoice that contains a
|
||||
document level charge where the Invoiced item VAT category code (BT-151) is "VAT reverse
|
||||
charge" shall contain the Sellers VAT identifier (BT-31), the Seller Tax registration
|
||||
identifier (BT-32) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT
|
||||
identifier (BT-48). </assert>
|
||||
<assert test="$BR-AE-07" flag="fatal" id="BR-AE-07">[BR-AE-07]-In a document level charge where
|
||||
the Invoice item VAT category code (BT-102) is "VAT reverse charge" the Invoiced item VAT rate
|
||||
(BT-103) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAE_Line ">
|
||||
<assert test="$BR-AE-02" flag="fatal" id="BR-AE-02">[BR-AE-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "VAT reverse charge" shall contain the
|
||||
Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or the Seller
|
||||
tax representative VAT identifier (BT-63) and the Buyer VAT identifier or the Buyer tax
|
||||
registration identifier. </assert>
|
||||
<assert test="$BR-AE-05" flag="fatal" id="BR-AE-05">[BR-AE-05]-In an Invoice line where the
|
||||
Invoice item VAT category code (BT-151) is "VAT reverse charge" the Invoiced item VAT rate
|
||||
(BT-152) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAF ">
|
||||
<assert test="$BR-AF-08" flag="fatal" id="BR-AF-08">[BR-IG-08]-For each different value of VAT
|
||||
category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category
|
||||
taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net
|
||||
amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of
|
||||
document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-96)
|
||||
is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). </assert>
|
||||
<assert test="$BR-AF-09" flag="fatal" id="BR-AF-09">[BR-IG-09]-The VAT category tax amount
|
||||
(BT-117) in VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the
|
||||
VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). </assert>
|
||||
<assert test="$BR-AF-10" flag="fatal" id="BR-AF-10">[BR-IG-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT
|
||||
exemption reason text (BT-120). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAF_Line ">
|
||||
<assert test="$BR-AF-02" flag="fatal" id="BR-AF-02">[BR-IG-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "IGIC" shall contain the Sellers VAT
|
||||
identifier (BT-31), the Seller Tax registration identifier (BT-32) or the Seller tax
|
||||
representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-AF-05" flag="fatal" id="BR-AF-05">[BR-IG-05]-In an Invoice line where the
|
||||
Invoice item VAT category code (BT-151) is "IGIC" the Invoiced item VAT rate (BT-152) shall be
|
||||
greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAF_Allowance ">
|
||||
<assert test="$BR-AF-03" flag="fatal" id="BR-AF-03">[BR-IG-03]-An Invoice that contains a
|
||||
document level allowance where the Invoiced item VAT category code (BT-151) is "IGIC" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-AF-06" flag="fatal" id="BR-AF-06">[BR-IG-06]-In a document level allowance
|
||||
where the Invoice item VAT category code (BT-95) is "IGIC" the Invoiced item VAT rate (BT-96)
|
||||
shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAF_Charge ">
|
||||
<assert test="$BR-AF-04" flag="fatal" id="BR-AF-04">[BR-IG-04]-An Invoice that contains a
|
||||
document level charge where the Invoiced item VAT category code (BT-151) is "IGIC" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-AF-07" flag="fatal" id="BR-AF-07">[BR-IG-07]-In a document level charge where
|
||||
the Invoice item VAT category code (BT-102) is "IGIC" the Invoiced item VAT rate (BT-103)
|
||||
shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAG ">
|
||||
<assert test="$BR-AG-08" flag="fatal" id="BR-AG-08">[BR-IP-08]-For each different value of VAT
|
||||
category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category
|
||||
taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net
|
||||
amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of
|
||||
document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-96)
|
||||
is "IPSI" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). </assert>
|
||||
<assert test="$BR-AG-09" flag="fatal" id="BR-AG-09">[BR-IP-09]-The VAT category tax amount
|
||||
(BT-117) in VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the
|
||||
VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). </assert>
|
||||
<assert test="$BR-AG-10" flag="fatal" id="BR-AG-10">[BR-IP-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT
|
||||
exemption reason text (BT-120). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAG_Line ">
|
||||
<assert test="$BR-AG-02" flag="fatal" id="BR-AG-02">[BR-IP-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Sellers VAT
|
||||
identifier (BT-31), the Seller Tax registration identifier (BT-32) or the Seller tax
|
||||
representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-AG-05" flag="fatal" id="BR-AG-05">[BR-IP-05]-In an Invoice line where the
|
||||
Invoice item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be
|
||||
greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAG_Allowance ">
|
||||
<assert test="$BR-AG-03" flag="fatal" id="BR-AG-03">[BR-IP-03]-An Invoice that contains a
|
||||
document level allowance where the Invoiced item VAT category code (BT-151) is "IPSI" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-AG-06" flag="fatal" id="BR-AG-06">[BR-IP-06]-In a document level allowance
|
||||
where the Invoice item VAT category code (BT-95) is "IPSI" the Invoiced item VAT rate (BT-96)
|
||||
shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATAG_Charge ">
|
||||
<assert test="$BR-AG-04" flag="fatal" id="BR-AG-04">[BR-IP-04]-An Invoice that contains a
|
||||
document level charge where the Invoiced item VAT category code (BT-151) is "IGIC" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-AG-07" flag="fatal" id="BR-AG-07">[BR-IP-07]-In a document level charge where
|
||||
the Invoice item VAT category code (BT-102) is "IPSI" the Invoiced item VAT rate (BT-103)
|
||||
shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATE ">
|
||||
<assert test="$BR-E-08" flag="fatal" id="BR-E-08">[BR-E-08]-In a VAT breakdown (BG-23) where VAT
|
||||
category code (BT-118) is "Exempt from VAT", the VAT category taxable amount (BT-116) shall
|
||||
equal the sum of Invoice line net amounts (BT-131) minus document level allowance amounts
|
||||
(BT-92) plus document level charge amounts (BT-99) where the VAT category code (BT-151,
|
||||
BT-102, BT-96) are "Exempt from VAT". </assert>
|
||||
<assert test="$BR-E-09" flag="fatal" id="BR-E-09">[BR-E-09]-The VAT category tax amount (BT-117)
|
||||
in VAT breakdown (BG-23) where VAT category code (BT-118) is "Exempt from VAT" shall equal 0
|
||||
(zero). </assert>
|
||||
<assert test="$BR-E-10" flag="fatal" id="BR-E-10">[BR-E-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or
|
||||
VAT exemption reason text (BT-120). </assert>
|
||||
</rule>
|
||||
<rule context="$VATE_Allowance ">
|
||||
<assert test="$BR-E-03" flag="fatal" id="BR-E-03">[BR-E-03]-An Invoice that contains a document
|
||||
level allowance where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-E-06" flag="fatal" id="BR-E-06">[BR-E-06]-In a document level allowance where
|
||||
the Invoice item VAT category code (BT-95) is "Exempt from VAT" the Invoiced item VAT rate
|
||||
(BT-96) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATE_Charge ">
|
||||
<assert test="$BR-E-04" flag="fatal" id="BR-E-04">[BR-E-04]-An Invoice that contains a document
|
||||
level charge where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-E-07" flag="fatal" id="BR-E-07">[BR-E-07]-In a document level charge where the
|
||||
Invoice item VAT category code (BT-102) is "Exempt from VAT" the Invoiced item VAT rate
|
||||
(BT-103) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATE_Line ">
|
||||
<assert test="$BR-E-02" flag="fatal" id="BR-E-02">[BR-E-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall contain the
|
||||
Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or the Seller
|
||||
tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-E-05" flag="fatal" id="BR-E-05">[BR-E-05]-In an Invoice line where the Invoice
|
||||
item VAT category code (BT-151) is "Exempt from VAT" the Invoiced item VAT rate (BT-152) shall
|
||||
be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATG ">
|
||||
<assert test="$BR-G-08" flag="fatal" id="BR-G-08">[BR-G-08]-In a VAT breakdown (BG-23) where VAT
|
||||
category code (BT-118) is "Export ouside the EU", the VAT category taxable amount (BT-116)
|
||||
shall equal the sum of Invoice line net amounts (BT-131) minus document level allowance
|
||||
amounts (BT-92) plus document level charge amounts (BT-99) where the VAT category code
|
||||
(BT-151, BT-102, BT-96) are "Export ouside the EU". </assert>
|
||||
<assert test="$BR-G-09" flag="fatal" id="BR-G-09">[BR-G-09]-The VAT category tax amount (BT-117)
|
||||
in VAT breakdown (BG-23) where VAT category code (BT-118) is "Export ouside the EU" shall
|
||||
equal 0 (zero). </assert>
|
||||
<assert test="$BR-G-10" flag="fatal" id="BR-G-10">[BR-G-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "Export ouside the EU" shall have a VAT exemption reason code (BT-121)
|
||||
or VAT exemption reason text (BT-120). </assert>
|
||||
<assert test="$BR-G-11" flag="fatal" id="BR-G-11">[BR-G-11]-In an Invoice with a VAT breakdown
|
||||
(BG-23) where the VAT category code (BT-118) is "Export ouside the EU" the actual delivery
|
||||
date (BT-72) or the delivery period (BG-14) shall not be blank.</assert>
|
||||
<assert test="$BR-G-12" flag="fatal" id="BR-G-12">[BR-G-12]-In an Invoice with a VAT breakdown
|
||||
(BG-23) where the VAT category code (BT-118) is "Export ouside the EU" the deliver to country
|
||||
code (BT-80) shall not be blank.</assert>
|
||||
</rule>
|
||||
<rule context="$VATG_Allowance ">
|
||||
<assert test="$BR-G-03" flag="fatal" id="BR-G-03">[BR-G-03]-An Invoice that contains a document
|
||||
level allowance where the Invoiced item VAT category code (BT-151) is "Export outside the EU"
|
||||
shall contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier
|
||||
(BT-32) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier
|
||||
(BT-48). </assert>
|
||||
<assert test="$BR-G-06" flag="fatal" id="BR-G-06">[BR-G-06]-In a document level allowance where
|
||||
the Invoice item VAT category code (BT-95) is "Export outside the EU" the Invoiced item VAT
|
||||
rate (BT-96) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATG_Charge ">
|
||||
<assert test="$BR-G-04" flag="fatal" id="BR-G-04">[BR-G-04]-An Invoice that contains a document
|
||||
level charge where the Invoiced item VAT category code (BT-151) is "Export outside the EU"
|
||||
shall contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier
|
||||
(BT-32) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier
|
||||
(BT-48). </assert>
|
||||
<assert test="$BR-G-07" flag="fatal" id="BR-G-07">[BR-G-07]-In a document level charge where the
|
||||
Invoice item VAT category code (BT-102) is "Export outside the EU" the Invoiced item VAT rate
|
||||
(BT-103) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATG_Line ">
|
||||
<assert test="$BR-G-02" flag="fatal" id="BR-G-02">[BR-G-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain
|
||||
the Sellers VAT identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-G-05" flag="fatal" id="BR-G-05">[BR-G-05]-In an Invoice line where the Invoice
|
||||
item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152)
|
||||
shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATIC ">
|
||||
<assert test="$BR-IC-08" flag="fatal" id="BR-IC-08">[BR-IC-08]-In a VAT breakdown (BG-23) where
|
||||
VAT category code (BT-118) is "Intra-community suply", the VAT category taxable amount
|
||||
(BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus document level
|
||||
allowance amounts (BT-92) plus document level charge amounts (BT-99) where the VAT category
|
||||
code (BT-151, BT-102, BT-96) are "Intra-community suply". </assert>
|
||||
<assert test="$BR-IC-09" flag="fatal" id="BR-IC-09">[BR-IC-09]-The VAT category tax amount
|
||||
(BT-117) in VAT breakdown (BG-23) where VAT category code (BT-118) is "Intra-community suply"
|
||||
shall equal 0 (zero). </assert>
|
||||
<assert test="$BR-IC-10" flag="fatal" id="BR-IC-10">[BR-IC-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "Intra-community suply" shall have a VAT exemption reason code (BT-121)
|
||||
or VAT exemption reason text (BT-120). </assert>
|
||||
<assert test="$BR-IC-11" flag="fatal" id="BR-IC-11">[BR-IC-11]-In an Invoice with a VAT
|
||||
breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the actual
|
||||
delivery date (BT-72) or the delivery period (BG-14) shall not be blank.</assert>
|
||||
<assert test="$BR-IC-12" flag="fatal" id="BR-IC-12">[BR-IC-12]-In an Invoice with a VAT
|
||||
breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the deliver
|
||||
to country code (BT-80) shall not be blank.</assert>
|
||||
</rule>
|
||||
<rule context="$VATIC_Allowance ">
|
||||
<assert test="$BR-IC-03" flag="fatal" id="BR-IC-03">[BR-IC-03]-An Invoice that contains a
|
||||
document level allowance where the Invoiced item VAT category code (BT-151) is
|
||||
"Intra-community supply" shall contain the Sellers VAT identifier (BT-31), the Seller Tax
|
||||
registration identifier (BT-32) or the Seller tax representative VAT identifier (BT-63) and
|
||||
the Buyer VAT identifier (BT-48). </assert>
|
||||
<assert test="$BR-IC-06" flag="fatal" id="BR-IC-06">[BR-IC-06]-In a document level allowance
|
||||
where the Invoice item VAT category code (BT-95) is "Intra-community supply" the Invoiced item
|
||||
VAT rate (BT-96) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATIC_Charge ">
|
||||
<assert test="$BR-IC-04" flag="fatal" id="BR-IC-04">[BR-IC-04]-An Invoice that contains a
|
||||
document level charge where the Invoiced item VAT category code (BT-151) is "Intra-community
|
||||
supply" shall contain the Sellers VAT identifier (BT-31), the Seller Tax registration
|
||||
identifier (BT-32) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT
|
||||
identifier (BT-48). </assert>
|
||||
<assert test="$BR-IC-07" flag="fatal" id="BR-IC-07">[BR-IC-07]-In a document level charge where
|
||||
the Invoice item VAT category code (BT-102) is "Intra-community supply" the Invoiced item VAT
|
||||
rate (BT-103) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATIC_Line ">
|
||||
<assert test="$BR-IC-02" flag="fatal" id="BR-IC-02">[BR-IC-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain
|
||||
the Sellers VAT identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and
|
||||
the Buyer VAT identifier. </assert>
|
||||
<assert test="$BR-IC-05" flag="fatal" id="BR-IC-05">[BR-IC-05]-In an Invoice line where the
|
||||
Invoice item VAT category code (BT-151) is "Intra-community supply" the Invoiced item VAT rate
|
||||
(BT-152) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATO ">
|
||||
<assert test="$BR-O-08" flag="fatal" id="BR-O-08">[BR-O-08]-In a VAT breakdown (BG-23) where VAT
|
||||
category code (BT-118) is "Not subject to VAT", the VAT category taxable amount (BT-116) shall
|
||||
equal the sum of Invoice line net amounts (BT-131) minus document level allowance amounts
|
||||
(BT-92) plus document level charge amounts (BT-99) where the VAT category code (BT-151,
|
||||
BT-102, BT-96) are "Not subject to VAT". </assert>
|
||||
<assert test="$BR-O-09" flag="fatal" id="BR-O-09">[BR-O-09]-The VAT category tax amount (BT-117)
|
||||
in VAT breakdown (BG-23) where VAT category code (BT-118) is "Not subject to VAT" shall equal
|
||||
0 (zero). </assert>
|
||||
<assert test="$BR-O-10" flag="fatal" id="BR-O-10">[BR-O-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "Not subject to VAT" shall have a VAT exemption reason code (BT-121),
|
||||
meaning "Not subject to VAT" or a VAT exemption reason text (BT-120) "Outside scope of VAT"
|
||||
(or the equivalent standard text in another language). </assert>
|
||||
<assert test="$BR-O-11" flag="fatal" id="BR-O-11">[BR-O-11]-An Invoice that contains a VAT
|
||||
breakdown group (BG-23) with a VAT category code (BT-118) as "Not subject to VAT" shall not
|
||||
contain other VAT breakdown groups (BG-23).</assert>
|
||||
<assert test="$BR-O-12" flag="fatal" id="BR-O-12">[BR-O-12]-An Invoice that contains a VAT
|
||||
breakdown group (BG-23) with a VAT category code (BT-118) as "Not subject to VAT" shall not
|
||||
contain lines where the Invoiced item VAT category code (BT-151) is not "Not subject to
|
||||
VAT".</assert>
|
||||
</rule>
|
||||
<rule context="$VATO_Allowance ">
|
||||
<assert test="$BR-O-03" flag="fatal" id="BR-O-03">[BR-O-03]-An Invoice that contains a document
|
||||
level allowance where the Invoiced item VAT category code (BT-151) is "Not subject to VAT"
|
||||
shall not contain the Sellers VAT identifier (BT-31), the Seller tax representative VAT
|
||||
identifier (BT-63) or the Buyer VAT identifier (BT-48). </assert>
|
||||
<assert test="$BR-O-06" flag="fatal" id="BR-O-06">[BR-O-06]-A document level allowance where VAT
|
||||
category code (BT-151) is "Not subject to VAT" shall not contain an invoiced item VAT rate
|
||||
(BT-152).</assert>
|
||||
</rule>
|
||||
<rule context="$VATO_Charge ">
|
||||
<assert test="$BR-O-04" flag="fatal" id="BR-O-04">[BR-O-04]-An Invoice that contains a document
|
||||
level allowance where the Invoiced item VAT category code (BT-151) is "Not subject to VAT"
|
||||
shall not contain the Sellers VAT identifier (BT-31), the Seller tax representative VAT
|
||||
identifier (BT-63) or the Buyer VAT identifier (BT-48). </assert>
|
||||
<assert test="$BR-O-07" flag="fatal" id="BR-O-07">[BR-O-07]-A document level charge where VAT
|
||||
category code (BT-151) is "Not subject to VAT" shall not contain an invoiced item VAT rate
|
||||
(BT-152).</assert>
|
||||
</rule>
|
||||
<rule context="$VATO_Line ">
|
||||
<assert test="$BR-O-02" flag="fatal" id="BR-O-02">[BR-O-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain
|
||||
the Sellers VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or
|
||||
the Buyer VAT identifier. </assert>
|
||||
<assert test="$BR-O-05" flag="fatal" id="BR-O-05">[BR-O-05]-In an Invoice line where VAT
|
||||
category code (BT-151) is "Not subject to VAT" shall not contain an invoiced item VAT rate
|
||||
(BT-152).</assert>
|
||||
</rule>
|
||||
<rule context="$VATS ">
|
||||
<assert test="$BR-S-08" flag="fatal" id="BR-S-08">[BR-S-08]-For each different value of VAT
|
||||
category rate (BT-119) where the VAT category code (BT-118) is "Standard rated", the VAT
|
||||
category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice
|
||||
line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum
|
||||
of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102,
|
||||
BT-96) is "Standard rated" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category
|
||||
rate (BT-119). </assert>
|
||||
<assert test="$BR-S-09" flag="fatal" id="BR-S-09">[BR-S-09]-The VAT category tax amount (BT-117)
|
||||
in VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the
|
||||
VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). </assert>
|
||||
<assert test="$BR-S-10" flag="fatal" id="BR-S-10">[BR-S-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "Standard rated" shall not have a VAT exemption reason code (BT-121) or
|
||||
VAT exemption reason text (BT-120). </assert>
|
||||
</rule>
|
||||
<rule context="$VATS_Line ">
|
||||
<assert test="$BR-S-02" flag="fatal" id="BR-S-02">[BR-S-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the
|
||||
Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or the Seller
|
||||
tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-S-05" flag="fatal" id="BR-S-05">[BR-S-05]-In an Invoice line where the Invoice
|
||||
item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall
|
||||
be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATS_Allowance ">
|
||||
<assert test="$BR-S-03" flag="fatal" id="BR-S-03">[BR-S-03]-An Invoice that contains a document
|
||||
level allowance where the Invoiced item VAT category code (BT-151) is "Standard rated" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-S-06" flag="fatal" id="BR-S-06">[BR-S-06]-In a document level allowance where
|
||||
the Invoice item VAT category code (BT-95) is "Standard rated" the Invoiced item VAT rate
|
||||
(BT-96) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATS_Charge ">
|
||||
<assert test="$BR-S-04" flag="fatal" id="BR-S-04">[BR-S-04]-An Invoice that contains a document
|
||||
level charge where the Invoiced item VAT category code (BT-151) is "Standard rated" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-S-07" flag="fatal" id="BR-S-07">[BR-S-07]-In a document level charge where the
|
||||
Invoice item VAT category code (BT-102) is "Standard rated" the Invoiced item VAT rate
|
||||
(BT-103) shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATZ ">
|
||||
<assert test="$BR-Z-08" flag="fatal" id="BR-Z-08">[BR-Z-08]-In a VAT breakdown (BG-23) where VAT
|
||||
category code (BT-118) is "Zero rated", the VAT category taxable amount (BT-116) shall equal
|
||||
the sum of Invoice line net amounts (BT-131) minus document level allowance amounts (BT-92)
|
||||
plus document level charge amounts (BT-99) where the VAT category code (BT-151, BT-102, BT-96)
|
||||
are "Zero rated". </assert>
|
||||
<assert test="$BR-Z-09" flag="fatal" id="BR-Z-09">[BR-Z-09]-The VAT category tax amount (BT-117)
|
||||
in VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0
|
||||
(zero). </assert>
|
||||
<assert test="$BR-Z-10" flag="fatal" id="BR-Z-10">[BR-Z-10]-A VAT Breakdown (BG-23) with VAT
|
||||
Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT
|
||||
exemption reason text (BT-120). </assert>
|
||||
</rule>
|
||||
<rule context="$VATZ_Allowance ">
|
||||
<assert test="$BR-Z-03" flag="fatal" id="BR-Z-03">[BR-Z-03]-An Invoice that contains a document
|
||||
level allowance where the Invoiced item VAT category code (BT-151) is "Zero rated" shall
|
||||
contain the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or
|
||||
the Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-Z-06" flag="fatal" id="BR-Z-06">[BR-Z-06]-In a document level allowance where
|
||||
the Invoice item VAT category code (BT-95) is "Zero rated" the Invoiced item VAT rate (BT-96)
|
||||
shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATZ_Charge ">
|
||||
<assert test="$BR-Z-04" flag="fatal" id="BR-Z-04">[BR-Z-04]-An Invoice that contains a document
|
||||
level charge where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain
|
||||
the Sellers VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or the
|
||||
Seller tax representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-Z-07" flag="fatal" id="BR-Z-07">[BR-Z-07]-In a document level charge where the
|
||||
Invoice item VAT category code (BT-102) is "Zero rated" the Invoiced item VAT rate (BT-103)
|
||||
shall be greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
<rule context="$VATZ_Line ">
|
||||
<assert test="$BR-Z-02" flag="fatal" id="BR-Z-02">[BR-Z-02]-An Invoice that contains a line
|
||||
where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain the Sellers
|
||||
VAT identifier (BT-31), the Seller Tax registration identifier (BT-32) or the Seller tax
|
||||
representative VAT identifier (BT-63). </assert>
|
||||
<assert test="$BR-Z-05" flag="fatal" id="BR-Z-05">[BR-Z-05]-In an Invoice line where the Invoice
|
||||
item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be
|
||||
greater than 0 (zero). </assert>
|
||||
</rule>
|
||||
</pattern>
|
@ -0,0 +1,482 @@
|
||||
<!--
|
||||
|
||||
Licensed under European Union Public Licence (EUPL) version 1.2.
|
||||
|
||||
-->
|
||||
<!-- Schematron binding rules generated by Andreas Pelekies -->
|
||||
|
||||
<!-- Abstract rules for binding EDIFACT to EN16931 -->
|
||||
<!-- Timestamp: 2016-10-31 00:00:00 +0200 -->
|
||||
<pattern xmlns="http://purl.oclc.org/dsdl/schematron" abstract="true" id="EN16931-SYNTAX">
|
||||
<rule context="$UNH ">
|
||||
<assert test="$EDIFACT-SR-001" flag="warning" id="EDIFACT-SR-001">[EDIFACT-SR-001] - Common
|
||||
access reference should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-002" flag="warning" id="EDIFACT-SR-002">[EDIFACT-SR-002] - Status
|
||||
of the transfer should not be used</assert>
|
||||
</rule>
|
||||
<rule context="$BGM ">
|
||||
<assert test="$EDIFACT-SR-003" flag="warning" id="EDIFACT-SR-003">[EDIFACT-SR-003] - Code
|
||||
list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-004" flag="warning" id="EDIFACT-SR-004">[EDIFACT-SR-004] - Code
|
||||
list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-005" flag="warning" id="EDIFACT-SR-005">[EDIFACT-SR-005] -
|
||||
Document name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-006" flag="warning" id="EDIFACT-SR-006">[EDIFACT-SR-006] - Version
|
||||
identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-007" flag="warning" id="EDIFACT-SR-007">[EDIFACT-SR-007] -
|
||||
Revision identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-008" flag="warning" id="EDIFACT-SR-008">[EDIFACT-SR-008] - Message
|
||||
function code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-009" flag="warning" id="EDIFACT-SR-009">[EDIFACT-SR-009] -
|
||||
Response type code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-010" flag="warning" id="EDIFACT-SR-010">[EDIFACT-SR-010] -
|
||||
Document status code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-296" flag="warning" id="EDIFACT-SR-296">[EDIFACT-SR-296] -
|
||||
Language name code should not be used</assert>
|
||||
|
||||
</rule>
|
||||
<rule context="$Invoice ">
|
||||
<assert test="$EDIFACT-SR-011" flag="fatal" id="EDIFACT-SR-011">[EDIFACT-SR-011] - The
|
||||
tax point code with invoice issue date may only be stated once</assert>
|
||||
<assert test="$EDIFACT-SR-012" flag="warning" id="EDIFACT-SR-012">[EDIFACT-SR-012] - Only
|
||||
values 3, 35, 131, 137, 167, 168 or 432 should be used</assert>
|
||||
<assert test="$EDIFACT-SR-013" flag="fatal" id="EDIFACT-SR-013">[EDIFACT-SR-013] - The
|
||||
actual delivery date may only be stated once</assert>
|
||||
<assert test="$EDIFACT-SR-014" flag="fatal" id="EDIFACT-SR-014">[EDIFACT-SR-014] - The value
|
||||
added tax point date may only be stated once</assert>
|
||||
<assert test="$EDIFACT-SR-015" flag="fatal" id="EDIFACT-SR-015">[EDIFACT-SR-015] - The
|
||||
invoice issue date must be stated once</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-016" flag="fatal" id="EDIFACT-SR-016">[EDIFACT-SR-016] - The
|
||||
invoice period start date may only be stated once</assert>
|
||||
<assert test="$EDIFACT-SR-017" flag="fatal" id="EDIFACT-SR-017">[EDIFACT-SR-017] - The
|
||||
invoice period end date may only be stated once</assert>
|
||||
<assert test="$EDIFACT-SR-293" flag="fatal" id="EDIFACT-SR-293">[EDIFACT-SR-293] - The
|
||||
tax point code with paid to date may only be stated once</assert>
|
||||
<assert test="$EDIFACT-SR-294" flag="fatal" id="EDIFACT-SR-294">[EDIFACT-SR-294] - The
|
||||
tax point code with actual delivery date may only be stated once</assert>
|
||||
|
||||
|
||||
<assert test="$EDIFACT-SR-018" flag="warning" id="EDIFACT-SR-018">[EDIFACT-SR-018] - The PAI
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-019" flag="warning" id="EDIFACT-SR-019">[EDIFACT-SR-019] - The ALI
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-020" flag="warning" id="EDIFACT-SR-020">[EDIFACT-SR-020] - The IMD
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-021" flag="warning" id="EDIFACT-SR-021">[EDIFACT-SR-021] - The LOC
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-022" flag="warning" id="EDIFACT-SR-022">[EDIFACT-SR-022] - The GEI
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-023" flag="warning" id="EDIFACT-SR-023">[EDIFACT-SR-023] - The DGS
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-024" flag="warning" id="EDIFACT-SR-024">[EDIFACT-SR-024] - The GIR
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-025" flag="warning" id="EDIFACT-SR-025">[EDIFACT-SR-025] - The SG6
|
||||
segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-026" flag="warning" id="EDIFACT-SR-026">[EDIFACT-SR-026] - The SG9
|
||||
segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-027" flag="warning" id="EDIFACT-SR-027">[EDIFACT-SR-027] - The
|
||||
SG12 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-028" flag="warning" id="EDIFACT-SR-028">[EDIFACT-SR-028] - The
|
||||
SG13 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-029" flag="warning" id="EDIFACT-SR-029">[EDIFACT-SR-029] - The
|
||||
SG14 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-030" flag="warning" id="EDIFACT-SR-030">[EDIFACT-SR-030] - The
|
||||
SG23 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-031" flag="warning" id="EDIFACT-SR-031">[EDIFACT-SR-031] - The
|
||||
SG24 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-032" flag="warning" id="EDIFACT-SR-032">[EDIFACT-SR-032] - The
|
||||
SG25 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-033" flag="warning" id="EDIFACT-SR-033">[EDIFACT-SR-033] - The CNT
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-034" flag="warning" id="EDIFACT-SR-034">[EDIFACT-SR-034] - The
|
||||
SG55 segment group should not be used</assert>
|
||||
</rule>
|
||||
<rule context="$FTX ">
|
||||
|
||||
<assert test="$EDIFACT-SR-036" flag="warning" id="EDIFACT-SR-036">[EDIFACT-SR-036] - Code
|
||||
list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-037" flag="warning" id="EDIFACT-SR-037">[EDIFACT-SR-037] - Code
|
||||
list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-038" flag="warning" id="EDIFACT-SR-038">[EDIFACT-SR-038] -
|
||||
Additional free texts should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-039" flag="warning" id="EDIFACT-SR-039">[EDIFACT-SR-039] -
|
||||
Language name code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-040" flag="warning" id="EDIFACT-SR-040">[EDIFACT-SR-040] - Free
|
||||
text format code should not be used</assert>
|
||||
</rule>
|
||||
|
||||
<rule context="$SG1 ">
|
||||
<assert test="$EDIFACT-SR-041" flag="warning" id="EDIFACT-SR-041">[EDIFACT-SR-041] - Only
|
||||
values AAK, AEP, ALO, ATS, CT, GC, OI, ON, PQ or VN should be used</assert>
|
||||
<assert test="$EDIFACT-SR-042" flag="warning" id="EDIFACT-SR-042">[EDIFACT-SR-042] -
|
||||
Document line identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-043" flag="warning" id="EDIFACT-SR-043">[EDIFACT-SR-043] - Version
|
||||
identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-044" flag="warning" id="EDIFACT-SR-044">[EDIFACT-SR-044] -
|
||||
Revision identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-045" flag="warning" id="EDIFACT-SR-045">[EDIFACT-SR-045] - There
|
||||
should be maximal one tender or lot reference</assert>
|
||||
<assert test="$EDIFACT-SR-046" flag="warning" id="EDIFACT-SR-046">[EDIFACT-SR-046] - There
|
||||
should be maximal one business process reference or specification identifier</assert>
|
||||
<assert test="$EDIFACT-SR-048" flag="warning" id="EDIFACT-SR-048">[EDIFACT-SR-048] - There
|
||||
should be maximal one contract reference</assert>
|
||||
<assert test="$EDIFACT-SR-049" flag="warning" id="EDIFACT-SR-049">[EDIFACT-SR-049] - There
|
||||
should be maximal one purchase order reference</assert>
|
||||
<assert test="$EDIFACT-SR-050" flag="warning" id="EDIFACT-SR-050">[EDIFACT-SR-050] - There
|
||||
should be maximal one sales order reference</assert>
|
||||
<assert test="$EDIFACT-SR-051" flag="warning" id="EDIFACT-SR-051">[EDIFACT-SR-051] - There
|
||||
should be maximal one receiving advice reference</assert>
|
||||
<assert test="$EDIFACT-SR-052" flag="warning" id="EDIFACT-SR-052">[EDIFACT-SR-052] - There
|
||||
should be maximal one despatch advice reference</assert>
|
||||
<assert test="$EDIFACT-SR-053" flag="warning" id="EDIFACT-SR-053">[EDIFACT-SR-053] - There
|
||||
should be maximal one invoiced object reference</assert>
|
||||
<assert test="$EDIFACT-SR-054" flag="warning" id="EDIFACT-SR-054">[EDIFACT-SR-054] - There
|
||||
should be maximal one project reference</assert>
|
||||
<assert test="$EDIFACT-SR-055" flag="warning" id="EDIFACT-SR-055">[EDIFACT-SR-055] - A
|
||||
reference date should only be stated for a preceding invoice</assert>
|
||||
<assert test="$EDIFACT-SR-056" flag="warning" id="EDIFACT-SR-056">[EDIFACT-SR-056] - Date or
|
||||
time or period format code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-057" flag="warning" id="EDIFACT-SR-057">[EDIFACT-SR-057] - The
|
||||
segment GIR should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-295" flag="warning" id="EDIFACT-SR-295">[EDIFACT-SR-295] - Only one Object identifier may be stated in the GIR segment.</assert>
|
||||
<assert test="$EDIFACT-SR-058" flag="warning" id="EDIFACT-SR-058">[EDIFACT-SR-058] - The
|
||||
segment LOC should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-059" flag="warning" id="EDIFACT-SR-059">[EDIFACT-SR-059] - The
|
||||
segment MEA should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-060" flag="warning" id="EDIFACT-SR-060">[EDIFACT-SR-060] - The
|
||||
segment QTY should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-061" flag="warning" id="EDIFACT-SR-061">[EDIFACT-SR-061] - The
|
||||
segment FTX should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-062" flag="warning" id="EDIFACT-SR-062">[EDIFACT-SR-062] - The
|
||||
segment MOA should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-063" flag="warning" id="EDIFACT-SR-063">[EDIFACT-SR-063] - The
|
||||
segment RTE should not be used</assert>
|
||||
</rule>
|
||||
<rule context="$SG2 ">
|
||||
<assert test="$EDIFACT-SR-064" flag="warning" id="EDIFACT-SR-064">[EDIFACT-SR-064] - Only
|
||||
values SE, BY, PE, LC or DP should be used</assert>
|
||||
<assert test="$EDIFACT-SR-065" flag="warning" id="EDIFACT-SR-065">[EDIFACT-SR-065] - Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-067" flag="warning" id="EDIFACT-SR-067">[EDIFACT-SR-067] - Name
|
||||
and address composit should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-068" flag="warning" id="EDIFACT-SR-068">[EDIFACT-SR-068] - Party
|
||||
identification should not be used for a seller's tax representative</assert>
|
||||
<assert test="$EDIFACT-SR-069" flag="warning" id="EDIFACT-SR-069">[EDIFACT-SR-069] - The
|
||||
second party name should only be used for a seller or a buyer</assert>
|
||||
<assert test="$EDIFACT-SR-070" flag="warning" id="EDIFACT-SR-070">[EDIFACT-SR-070] -
|
||||
Additional party name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-071" flag="warning" id="EDIFACT-SR-071">[EDIFACT-SR-071] - Party
|
||||
name format code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-072" flag="warning" id="EDIFACT-SR-072">[EDIFACT-SR-072] - Street
|
||||
should not be used in payee</assert>
|
||||
<assert test="$EDIFACT-SR-074" flag="warning" id="EDIFACT-SR-074">[EDIFACT-SR-074] - Street
|
||||
line 4 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-075" flag="warning" id="EDIFACT-SR-075">[EDIFACT-SR-075] - City
|
||||
name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-076" flag="warning" id="EDIFACT-SR-076">[EDIFACT-SR-076] - Country
|
||||
subdivision identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-077" flag="warning" id="EDIFACT-SR-077">[EDIFACT-SR-077] - Code
|
||||
list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-078" flag="warning" id="EDIFACT-SR-078">[EDIFACT-SR-078] - Code
|
||||
list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-079" flag="warning" id="EDIFACT-SR-079">[EDIFACT-SR-079] - Country
|
||||
subdivision name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-080" flag="warning" id="EDIFACT-SR-080">[EDIFACT-SR-080] - Postal
|
||||
identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-081" flag="warning" id="EDIFACT-SR-081">[EDIFACT-SR-081] - Country
|
||||
identifier should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-082" flag="warning" id="EDIFACT-SR-082">[EDIFACT-SR-082] - The LOC
|
||||
should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-083" flag="warning" id="EDIFACT-SR-083">[EDIFACT-SR-083] - The FII
|
||||
segment should only be used for seller, buyer and payee</assert>
|
||||
<assert test="$EDIFACT-SR-084" flag="warning" id="EDIFACT-SR-084">[EDIFACT-SR-084] - The
|
||||
code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-085" flag="warning" id="EDIFACT-SR-085">[EDIFACT-SR-085] - The
|
||||
code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-086" flag="warning" id="EDIFACT-SR-086">[EDIFACT-SR-086] - The
|
||||
code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-087" flag="warning" id="EDIFACT-SR-087">[EDIFACT-SR-087] - The
|
||||
institution name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-088" flag="warning" id="EDIFACT-SR-088">[EDIFACT-SR-088] - The
|
||||
institution branch location name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-089" flag="warning" id="EDIFACT-SR-089">[EDIFACT-SR-089] - The
|
||||
country identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-090" flag="warning" id="EDIFACT-SR-090">[EDIFACT-SR-090] - The
|
||||
account holder name should only be used for payment cards or credit transfer</assert>
|
||||
<assert test="$EDIFACT-SR-091" flag="warning" id="EDIFACT-SR-091">[EDIFACT-SR-091] - The MOA
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-092" flag="warning" id="EDIFACT-SR-092">[EDIFACT-SR-092] - The DTM
|
||||
segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-093" flag="warning" id="EDIFACT-SR-093">[EDIFACT-SR-093] - The
|
||||
document line identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-094" flag="warning" id="EDIFACT-SR-094">[EDIFACT-SR-093] - The
|
||||
version identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-095" flag="warning" id="EDIFACT-SR-095">[EDIFACT-SR-093] - The
|
||||
revision identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-096" flag="warning" id="EDIFACT-SR-096">[EDIFACT-SR-096] - The
|
||||
used reference code qualified should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-097" flag="warning" id="EDIFACT-SR-097">[EDIFACT-SR-097] - The SG4
|
||||
segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-098" flag="warning" id="EDIFACT-SR-098">[EDIFACT-SR-098] - The
|
||||
seller electronic address has to be given in a defined structure</assert>
|
||||
<assert test="$EDIFACT-SR-099" flag="warning" id="EDIFACT-SR-099">[EDIFACT-SR-099] - The
|
||||
contact identifer should not be used</assert>
|
||||
|
||||
</rule>
|
||||
<rule context="$SG7 ">
|
||||
<assert test="$EDIFACT-SR-100" flag="warning" id="EDIFACT-SR-100">[EDIFACT-SR-100] - Only
|
||||
the invoice currency or the VAT accounting currency should be used</assert>
|
||||
<assert test="$EDIFACT-SR-101" flag="warning" id="EDIFACT-SR-101">[EDIFACT-SR-101] - The
|
||||
Currency rate should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-102" flag="warning" id="EDIFACT-SR-102">[EDIFACT-SR-102] - The
|
||||
second composite of C504 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-103" flag="warning" id="EDIFACT-SR-103">[EDIFACT-SR-103] - The
|
||||
Currency exchange rate should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-104" flag="warning" id="EDIFACT-SR-104">[EDIFACT-SR-104] - The
|
||||
Exchange rate currency market identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-105" flag="warning" id="EDIFACT-SR-105">[EDIFACT-SR-105] - The
|
||||
DTM segment group should not be used</assert>
|
||||
</rule>
|
||||
<rule context="$SG8 ">
|
||||
<assert test="$EDIFACT-SR-106" flag="warning" id="EDIFACT-SR-106">[EDIFACT-SR-106] - Only
|
||||
the payment due date or the payment means code should be given in SG8.</assert>
|
||||
<assert test="$EDIFACT-SR-107" flag="warning" id="EDIFACT-SR-107">[EDIFACT-SR-107] - The
|
||||
C019 composite should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-108" flag="warning" id="EDIFACT-SR-108">[EDIFACT-SR-108] - The
|
||||
Period type code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-109" flag="warning" id="EDIFACT-SR-109">[EDIFACT-SR-109] - The
|
||||
Period count quantity should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-110" flag="warning" id="EDIFACT-SR-110">[EDIFACT-SR-110] - The
|
||||
PCD segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-111" flag="warning" id="EDIFACT-SR-111">[EDIFACT-SR-111] - The
|
||||
MOA segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-112" flag="warning" id="EDIFACT-SR-112">[EDIFACT-SR-112] - The
|
||||
FII segment group should not be used</assert>
|
||||
</rule>
|
||||
<rule context="$SG16 ">
|
||||
<assert test="$EDIFACT-SR-113" flag="warning" id="EDIFACT-SR-113">[EDIFACT-SR-113] - Only codes 'A' or 'C' should be used</assert>
|
||||
<assert test="$EDIFACT-SR-114" flag="warning" id="EDIFACT-SR-114">[EDIFACT-SR-114] - The
|
||||
Settlement means code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-115" flag="warning" id="EDIFACT-SR-115">[EDIFACT-SR-115] - The
|
||||
Calculation sequence code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-116" flag="warning" id="EDIFACT-SR-116">[EDIFACT-SR-116] - The
|
||||
Special services group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-117" flag="warning" id="EDIFACT-SR-117">[EDIFACT-SR-117] - The
|
||||
ALI group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-118" flag="warning" id="EDIFACT-SR-118">[EDIFACT-SR-118] - The
|
||||
FTX group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-119" flag="warning" id="EDIFACT-SR-119">[EDIFACT-SR-119] - The
|
||||
SG17 group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-120" flag="warning" id="EDIFACT-SR-120">[EDIFACT-SR-120] - The
|
||||
SG18 group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-121" flag="warning" id="EDIFACT-SR-121">[EDIFACT-SR-121] - Only codes '1' or '2' are valid to identify document level allowances or charges</assert>
|
||||
<assert test="$EDIFACT-SR-122" flag="warning" id="EDIFACT-SR-122">[EDIFACT-SR-122] - The Percentage basis identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-123" flag="warning" id="EDIFACT-SR-123">[EDIFACT-SR-123] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-124" flag="warning" id="EDIFACT-SR-124">[EDIFACT-SR-124] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-125" flag="warning" id="EDIFACT-SR-125">[EDIFACT-SR-125] - The Status description code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-126" flag="warning" id="EDIFACT-SR-126">[EDIFACT-SR-126] - The RNG segment group should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-127" flag="warning" id="EDIFACT-SR-127">[EDIFACT-SR-127] - Only document level charge amount, document level charge basis amount, document level allowance amount or document level allowance basis amount should be stated</assert>
|
||||
<assert test="$EDIFACT-SR-128" flag="warning" id="EDIFACT-SR-128">[EDIFACT-SR-128] - The Currency identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-129" flag="warning" id="EDIFACT-SR-129">[EDIFACT-SR-129] - The Currency type code qualifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-130" flag="warning" id="EDIFACT-SR-130">[EDIFACT-SR-130] - The Status desciption should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-131" flag="warning" id="EDIFACT-SR-131">[EDIFACT-SR-131] - The RNG segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-132" flag="warning" id="EDIFACT-SR-132">[EDIFACT-SR-132] - The CUX segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-133" flag="warning" id="EDIFACT-SR-133">[EDIFACT-SR-133] - The DTM segment group should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-134" flag="warning" id="EDIFACT-SR-134">[EDIFACT-SR-134] - The SG21 segment group should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-135" flag="warning" id="EDIFACT-SR-135">[EDIFACT-SR-135] - The allowance or charge VAT category code should be stated</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-136" flag="warning" id="EDIFACT-SR-136">[EDIFACT-SR-136] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-137" flag="warning" id="EDIFACT-SR-137">[EDIFACT-SR-137] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-138" flag="warning" id="EDIFACT-SR-138">[EDIFACT-SR-138] - The Duty or tax or fee type code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-139" flag="warning" id="EDIFACT-SR-139">[EDIFACT-SR-139] - The C533 composite should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-140" flag="warning" id="EDIFACT-SR-140">[EDIFACT-SR-140] - The Duty or tax or fee assessment basis quantity should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-141" flag="warning" id="EDIFACT-SR-141">[EDIFACT-SR-141] - The Duty or tax or fee rate code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-142" flag="warning" id="EDIFACT-SR-142">[EDIFACT-SR-142] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-143" flag="warning" id="EDIFACT-SR-143">[EDIFACT-SR-143] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-144" flag="warning" id="EDIFACT-SR-144">[EDIFACT-SR-144] - The Duty or tax or fee rate basis code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-145" flag="warning" id="EDIFACT-SR-145">[EDIFACT-SR-145] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-146" flag="warning" id="EDIFACT-SR-146">[EDIFACT-SR-146] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-147" flag="warning" id="EDIFACT-SR-147">[EDIFACT-SR-147] - The Party tax identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-148" flag="warning" id="EDIFACT-SR-148">[EDIFACT-SR-148] - The Calculation sequence code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-149" flag="warning" id="EDIFACT-SR-149">[EDIFACT-SR-149] - The Tax or duty or fee payment due date code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-150" flag="warning" id="EDIFACT-SR-150">[EDIFACT-SR-150] - The MOA segment group should not be used</assert>
|
||||
|
||||
</rule>
|
||||
<rule context="$SG26 ">
|
||||
<assert test="$EDIFACT-SR-151" flag="warning" id="EDIFACT-SR-151">[EDIFACT-SR-151] - The C099 composite should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-152" flag="warning" id="EDIFACT-SR-152">[EDIFACT-SR-152] - The Sequence position identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-153" flag="warning" id="EDIFACT-SR-153">[EDIFACT-SR-153] - The File compression technique name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-154" flag="warning" id="EDIFACT-SR-154">[EDIFACT-SR-154] - The CED segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-156" flag="warning" id="EDIFACT-SR-156">[EDIFACT-SR-156] - The DTM segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-157" flag="warning" id="EDIFACT-SR-157">[EDIFACT-SR-157] - The QTY segment should not be used</assert>
|
||||
</rule>
|
||||
|
||||
<rule context="$SG27 ">
|
||||
<!-- Line item section -->
|
||||
<assert test="$EDIFACT-SR-158" flag="warning" id="EDIFACT-SR-158">[EDIFACT-SR-158] - The Action code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-159" flag="warning" id="EDIFACT-SR-159">[EDIFACT-SR-159] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-160" flag="warning" id="EDIFACT-SR-160">[EDIFACT-SR-160] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-161" flag="warning" id="EDIFACT-SR-161">[EDIFACT-SR-161] - The Sub-line information should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-162" flag="warning" id="EDIFACT-SR-162">[EDIFACT-SR-162] - The Configuration level number should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-163" flag="warning" id="EDIFACT-SR-163">[EDIFACT-SR-163] - The Configuration operation code should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-164" flag="warning" id="EDIFACT-SR-164">[EDIFACT-SR-164] - The Product identifier code qualifier must be '1' or '5'</assert>
|
||||
<assert test="$EDIFACT-SR-165" flag="warning" id="EDIFACT-SR-165">[EDIFACT-SR-165] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-166" flag="warning" id="EDIFACT-SR-166">[EDIFACT-SR-166] - The Code list responsible agency code should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-167" flag="warning" id="EDIFACT-SR-167">[EDIFACT-SR-167] - The Item number identification composite 2 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-168" flag="warning" id="EDIFACT-SR-168">[EDIFACT-SR-168] - The Item number identification composite 3 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-169" flag="warning" id="EDIFACT-SR-169">[EDIFACT-SR-169] - The Item number identification composite 4 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-170" flag="warning" id="EDIFACT-SR-170">[EDIFACT-SR-170] - The Item number identification composite 5 should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-171" flag="warning" id="EDIFACT-SR-171">[EDIFACT-SR-171] - The PGI segment should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-172" flag="warning" id="EDIFACT-SR-172">[EDIFACT-SR-172] - Only Item description and Item name should be used</assert>
|
||||
<assert test="$EDIFACT-SR-173" flag="warning" id="EDIFACT-SR-173">[EDIFACT-SR-173] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-174" flag="warning" id="EDIFACT-SR-174">[EDIFACT-SR-174] - The Code list responsible agency code should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-175" flag="warning" id="EDIFACT-SR-175">[EDIFACT-SR-175] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-176" flag="warning" id="EDIFACT-SR-176">[EDIFACT-SR-176] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-177" flag="warning" id="EDIFACT-SR-177">[EDIFACT-SR-177] - The second Item description should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-178" flag="warning" id="EDIFACT-SR-178">[EDIFACT-SR-178] - The Language name code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-179" flag="warning" id="EDIFACT-SR-179">[EDIFACT-SR-179] - The Surface or layer code should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-180" flag="warning" id="EDIFACT-SR-180">[EDIFACT-SR-180] - The MEA segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-181" flag="warning" id="EDIFACT-SR-181">[EDIFACT-SR-181] - Only the Invoiced quantity including a measurement unit should be used</assert>
|
||||
<assert test="$EDIFACT-SR-182" flag="warning" id="EDIFACT-SR-182">[EDIFACT-SR-182] - The PCD segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-183" flag="warning" id="EDIFACT-SR-183">[EDIFACT-SR-183] - If the ALI segment is used the Country of origin identifier needs to be stated</assert>
|
||||
<assert test="$EDIFACT-SR-184" flag="warning" id="EDIFACT-SR-184">[EDIFACT-SR-184] - The Duty regime type code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-185" flag="warning" id="EDIFACT-SR-185">[EDIFACT-SR-185] - The Special condition code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-186" flag="warning" id="EDIFACT-SR-186">[EDIFACT-SR-186] - The Special condition 2 code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-187" flag="warning" id="EDIFACT-SR-187">[EDIFACT-SR-187] - The Special condition 3 code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-188" flag="warning" id="EDIFACT-SR-188">[EDIFACT-SR-188] - The Special condition 4 code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-189" flag="warning" id="EDIFACT-SR-189">[EDIFACT-SR-189] - The Special condition 5 code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-190" flag="warning" id="EDIFACT-SR-190">[EDIFACT-SR-190] - Only the Invoice line period start date or Invoice line period end date should be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-191" flag="warning" id="EDIFACT-SR-191">[EDIFACT-SR-191] - The GIN segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-192" flag="warning" id="EDIFACT-SR-192">[EDIFACT-SR-192] - The GIR segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-193" flag="warning" id="EDIFACT-SR-193">[EDIFACT-SR-193] - The QVR segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-194" flag="warning" id="EDIFACT-SR-194">[EDIFACT-SR-194] - The EQD segment should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-195" flag="warning" id="EDIFACT-SR-195">[EDIFACT-SR-195] - Only Invoice line note, Invoiced item VAT exemption reason text, Item attribute name or Item attribute value should be used</assert>
|
||||
<assert test="$EDIFACT-SR-196" flag="warning" id="EDIFACT-SR-196">[EDIFACT-SR-196] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-197" flag="warning" id="EDIFACT-SR-197">[EDIFACT-SR-197] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-198" flag="warning" id="EDIFACT-SR-198">[EDIFACT-SR-198] - The Free text 3 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-199" flag="warning" id="EDIFACT-SR-199">[EDIFACT-SR-199] - The Free text 4 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-200" flag="warning" id="EDIFACT-SR-200">[EDIFACT-SR-200] - The Free text 5 should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-201" flag="warning" id="EDIFACT-SR-201">[EDIFACT-SR-201] - The Language name code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-202" flag="warning" id="EDIFACT-SR-202">[EDIFACT-SR-202] - The Free text format code should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-203" flag="warning" id="EDIFACT-SR-203">[EDIFACT-SR-203] - The DGS segment should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-204" flag="warning" id="EDIFACT-SR-204">[EDIFACT-SR-204] - Only the Invoice line net amount should be used</assert>
|
||||
<assert test="$EDIFACT-SR-205" flag="warning" id="EDIFACT-SR-205">[EDIFACT-SR-205] - The Currency identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-206" flag="warning" id="EDIFACT-SR-206">[EDIFACT-SR-206] - The Currency type code qualifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-207" flag="warning" id="EDIFACT-SR-207">[EDIFACT-SR-207] - The Status description code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-208" flag="warning" id="EDIFACT-SR-208">[EDIFACT-SR-208] - The CUX segment should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-209" flag="warning" id="EDIFACT-SR-209">[EDIFACT-SR-209] - The SG29 segment group should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-210" flag="warning" id="EDIFACT-SR-210">[EDIFACT-SR-210] - Only the item net price, the item gross price and the corresponding base quantity including it's unit of measurement should be stated</assert>
|
||||
<assert test="$EDIFACT-SR-211" flag="warning" id="EDIFACT-SR-211">[EDIFACT-SR-211] - The Price type code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-212" flag="warning" id="EDIFACT-SR-212">[EDIFACT-SR-212] - The Price specification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-213" flag="warning" id="EDIFACT-SR-213">[EDIFACT-SR-213] - The Sub-line item price change operation code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-214" flag="warning" id="EDIFACT-SR-214">[EDIFACT-SR-214] - The CUX segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-215" flag="warning" id="EDIFACT-SR-215">[EDIFACT-SR-215] - The APR segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-216" flag="warning" id="EDIFACT-SR-216">[EDIFACT-SR-216] - The RNG segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-217" flag="warning" id="EDIFACT-SR-217">[EDIFACT-SR-217] - The DTM segment should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-218" flag="warning" id="EDIFACT-SR-218">[EDIFACT-SR-218] - Only the Invoiced line object identifier, the Referenced purchase order line identifier or the Buyer accounting reference should be used with the line item RFF</assert>
|
||||
<assert test="$EDIFACT-SR-219" flag="warning" id="EDIFACT-SR-219">[EDIFACT-SR-219] - The Document line identifier should only be used with a referenced purchase order</assert>
|
||||
<assert test="$EDIFACT-SR-220" flag="warning" id="EDIFACT-SR-220">[EDIFACT-SR-220] - The Version identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-221" flag="warning" id="EDIFACT-SR-221">[EDIFACT-SR-221] - The Revision identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-222" flag="warning" id="EDIFACT-SR-222">[EDIFACT-SR-222] - The DTM segment should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-223" flag="warning" id="EDIFACT-SR-223">[EDIFACT-SR-223] - The SG32 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-224" flag="warning" id="EDIFACT-SR-224">[EDIFACT-SR-224] - The SG34 segment group should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-225" flag="warning" id="EDIFACT-SR-225">[EDIFACT-SR-225] - The Invoiced item VAT category code must be used</assert>
|
||||
<assert test="$EDIFACT-SR-226" flag="warning" id="EDIFACT-SR-226">[EDIFACT-SR-226] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-227" flag="warning" id="EDIFACT-SR-227">[EDIFACT-SR-227] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-228" flag="warning" id="EDIFACT-SR-228">[EDIFACT-SR-228] - The Duty or tax or fee type name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-229" flag="warning" id="EDIFACT-SR-229">[EDIFACT-SR-229] - The Duty/tax/fee account detail should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-230" flag="warning" id="EDIFACT-SR-230">[EDIFACT-SR-230] - The Duty or tax or fee assessment basis quantity should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-231" flag="warning" id="EDIFACT-SR-231">[EDIFACT-SR-231] - The Duty or tax or fee rate code account detail should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-232" flag="warning" id="EDIFACT-SR-232">[EDIFACT-SR-232] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-233" flag="warning" id="EDIFACT-SR-233">[EDIFACT-SR-233] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-234" flag="warning" id="EDIFACT-SR-234">[EDIFACT-SR-234] - The Duty or tax or fee rate basis code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-235" flag="warning" id="EDIFACT-SR-235">[EDIFACT-SR-235] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-236" flag="warning" id="EDIFACT-SR-236">[EDIFACT-SR-236] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-237" flag="warning" id="EDIFACT-SR-237">[EDIFACT-SR-237] - The Party tax identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-238" flag="warning" id="EDIFACT-SR-238">[EDIFACT-SR-238] - The Calculation sequence code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-239" flag="warning" id="EDIFACT-SR-239">[EDIFACT-SR-239] - The Tax or duty or fee payment due date code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-240" flag="warning" id="EDIFACT-SR-240">[EDIFACT-SR-240] - The MOA segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-241" flag="warning" id="EDIFACT-SR-241">[EDIFACT-SR-241] - The LOC segment should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-242" flag="warning" id="EDIFACT-SR-242">[EDIFACT-SR-242] - The SG36 segment group should not be used</assert>
|
||||
|
||||
<assert test="$EDIFACT-SR-243" flag="warning" id="EDIFACT-SR-243">[EDIFACT-SR-243] - Only item price discount, invoice line charges or invoice line allowances should be used in SG40</assert>
|
||||
<assert test="$EDIFACT-SR-244" flag="warning" id="EDIFACT-SR-244">[EDIFACT-SR-244] - The Settlement means code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-245" flag="warning" id="EDIFACT-SR-245">[EDIFACT-SR-245] - The Calculation sequence code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-246" flag="warning" id="EDIFACT-SR-246">[EDIFACT-SR-246] - The Special services identification should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-247" flag="warning" id="EDIFACT-SR-247">[EDIFACT-SR-247] - The ALI segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-248" flag="warning" id="EDIFACT-SR-248">[EDIFACT-SR-248] - The DTM segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-249" flag="warning" id="EDIFACT-SR-249">[EDIFACT-SR-249] - The FTX segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-250" flag="warning" id="EDIFACT-SR-250">[EDIFACT-SR-250] - The SG41 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-251" flag="fatal" id="EDIFACT-SR-251">[EDIFACT-SR-251] - The percentage type code must match the Allowance or charge code</assert>
|
||||
<assert test="$EDIFACT-SR-252" flag="warning" id="EDIFACT-SR-252">[EDIFACT-SR-252] - The Percentage basis identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-253" flag="warning" id="EDIFACT-SR-253">[EDIFACT-SR-253] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-254" flag="warning" id="EDIFACT-SR-254">[EDIFACT-SR-254] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-255" flag="warning" id="EDIFACT-SR-255">[EDIFACT-SR-255] - The Status description code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-256" flag="warning" id="EDIFACT-SR-256">[EDIFACT-SR-256] - The RNG segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-257" flag="warning" id="EDIFACT-SR-257">[EDIFACT-SR-257] - Only codes '23', '25', '204' or '509' should be used</assert>
|
||||
<assert test="$EDIFACT-SR-258" flag="warning" id="EDIFACT-SR-258">[EDIFACT-SR-258] - The Currency identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-259" flag="warning" id="EDIFACT-SR-259">[EDIFACT-SR-259] - The Currency type code qualifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-260" flag="warning" id="EDIFACT-SR-260">[EDIFACT-SR-260] - The Status description code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-261" flag="warning" id="EDIFACT-SR-261">[EDIFACT-SR-261] - The RNG segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-262" flag="warning" id="EDIFACT-SR-262">[EDIFACT-SR-262] - The CUX segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-263" flag="warning" id="EDIFACT-SR-263">[EDIFACT-SR-263] - The DTM segment should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-264" flag="warning" id="EDIFACT-SR-264">[EDIFACT-SR-264] - The SG44 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-265" flag="warning" id="EDIFACT-SR-265">[EDIFACT-SR-265] - The SG45 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-266" flag="warning" id="EDIFACT-SR-266">[EDIFACT-SR-266] - The SG46 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-267" flag="warning" id="EDIFACT-SR-267">[EDIFACT-SR-267] - The SG48 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-268" flag="warning" id="EDIFACT-SR-268">[EDIFACT-SR-268] - The SG49 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-269" flag="warning" id="EDIFACT-SR-269">[EDIFACT-SR-269] - The SG50 segment group should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-270" flag="warning" id="EDIFACT-SR-270">[EDIFACT-SR-270] - The SG51 segment group should not be used</assert>
|
||||
|
||||
</rule>
|
||||
|
||||
<rule context="$SG52 ">
|
||||
<assert test="$EDIFACT-SR-271" flag="warning" id="EDIFACT-SR-271">[EDIFACT-SR-271] - Only codes '2', '9', '79', '113', '176', '259', '260', '366', '388', '389' should be used</assert>
|
||||
<assert test="$EDIFACT-SR-272" flag="warning" id="EDIFACT-SR-272">[EDIFACT-SR-272] - The Currency identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-273" flag="warning" id="EDIFACT-SR-273">[EDIFACT-SR-273] - The Currency type code qualifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-274" flag="warning" id="EDIFACT-SR-274">[EDIFACT-SR-274] - The Status description code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-275" flag="warning" id="EDIFACT-SR-275">[EDIFACT-SR-275] - The SG53 segment group should not be used</assert>
|
||||
|
||||
</rule>
|
||||
<rule context="$SG54 ">
|
||||
<assert test="$EDIFACT-SR-276" flag="warning" id="EDIFACT-SR-276">[EDIFACT-SR-276] - Only VAT breakdown information should be used</assert>
|
||||
<assert test="$EDIFACT-SR-277" flag="warning" id="EDIFACT-SR-277">[EDIFACT-SR-277] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-278" flag="warning" id="EDIFACT-SR-278">[EDIFACT-SR-278] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-279" flag="warning" id="EDIFACT-SR-279">[EDIFACT-SR-279] - The Duty or tax or fee type name should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-280" flag="warning" id="EDIFACT-SR-280">[EDIFACT-SR-280] - The Duty/tax/fee account detail should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-281" flag="warning" id="EDIFACT-SR-281">[EDIFACT-SR-281] - The Duty or tax or fee account code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-282" flag="warning" id="EDIFACT-SR-282">[EDIFACT-SR-282] - The Duty or tax or fee rate code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-283" flag="warning" id="EDIFACT-SR-283">[EDIFACT-SR-283] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-284" flag="warning" id="EDIFACT-SR-284">[EDIFACT-SR-284] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-285" flag="warning" id="EDIFACT-SR-285">[EDIFACT-SR-285] - The Duty or tax or fee rate basis code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-286" flag="warning" id="EDIFACT-SR-286">[EDIFACT-SR-286] - The Code list identification code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-287" flag="warning" id="EDIFACT-SR-287">[EDIFACT-SR-287] - The Code list responsible agency code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-288" flag="warning" id="EDIFACT-SR-288">[EDIFACT-SR-288] - The Party tax identifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-289" flag="warning" id="EDIFACT-SR-289">[EDIFACT-SR-289] - The Calculation sequence code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-290" flag="warning" id="EDIFACT-SR-290">[EDIFACT-SR-290] - The Tax or duty or fee payment due date code should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-291" flag="warning" id="EDIFACT-SR-291">[EDIFACT-SR-291] - The Currency type code qualifier should not be used</assert>
|
||||
<assert test="$EDIFACT-SR-292" flag="warning" id="EDIFACT-SR-292">[EDIFACT-SR-292] - The Status description code should not be used</assert>
|
||||
</rule>
|
||||
|
||||
</pattern>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user