schematron-nokogiri 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/lib/schematron-nokogiri.rb +3 -3
  3. data/schematron-nokogiri.gemspec +1 -1
  4. data/spec/instances/ubl/ubl_simple_invoicing.xml +317 -0
  5. data/spec/schema/open_peppol/SI-UBL-INV-1.1.1rc2.xsl +15921 -0
  6. data/spec/schema/open_peppol/SI-UBL-INV-1.1.xsl +15921 -0
  7. data/spec/schema/open_peppol/SI-UBL-INV-STRICT.SCH +86 -0
  8. data/spec/schema/open_peppol/SI-UBL-INV.SCH +88 -0
  9. data/spec/schema/open_peppol/convert/iso_abstract_expand.xsl +297 -0
  10. data/spec/schema/open_peppol/convert/iso_dsdl_include.xsl +1509 -0
  11. data/spec/schema/open_peppol/convert/iso_schematron_message.xsl +55 -0
  12. data/spec/schema/open_peppol/convert/iso_schematron_skeleton_for_xslt1.xsl +1844 -0
  13. data/spec/schema/open_peppol/convert/iso_svrl_for_xslt1.xsl +605 -0
  14. data/spec/schema/open_peppol/general/SI-UBL-GENERAL.SCH +10 -0
  15. data/spec/schema/open_peppol/lib/saxon.jar +0 -0
  16. data/spec/schema/open_peppol/v1.0/SI-UBL-CRE-100.SCH +459 -0
  17. data/spec/schema/open_peppol/v1.0/SI-UBL-CRE-100.XSL +1298 -0
  18. data/spec/schema/open_peppol/v1.0/SI-UBL-INV-100.SCH +531 -0
  19. data/spec/schema/open_peppol/v1.0/SI-UBL-INV-100.XSL +1457 -0
  20. data/spec/schema/open_peppol/v1.0/SI-UBL-INV-V10-FATAL.SCH +45 -0
  21. data/spec/schema/open_peppol/v1.0/SI-UBL-INV-V10-WARNING.SCH +467 -0
  22. data/spec/schema/open_peppol/v1.0/biicore/abstract/BIICORE-T10.sch +433 -0
  23. data/spec/schema/open_peppol/v1.0/biicore/ubl/BIICORE-UBL-T10.sch +425 -0
  24. data/spec/schema/open_peppol/v1.0/biiprofiles/UBL/BIIPROFILES-UBL-T10.sch +14 -0
  25. data/spec/schema/open_peppol/v1.0/biiprofiles/abstract/BIIPROFILES-T10.sch +16 -0
  26. data/spec/schema/open_peppol/v1.0/biirules/UBL/BIIRULES-UBL-T10.sch +70 -0
  27. data/spec/schema/open_peppol/v1.0/biirules/abstract/BIIRULES-T10.sch +91 -0
  28. data/spec/schema/open_peppol/v1.0/biirules/codelist/BIIRULESCodesT10.sch +47 -0
  29. data/spec/schema/open_peppol/v1.0/eugen/UBL/EUGEN-UBL-T10.sch +45 -0
  30. data/spec/schema/open_peppol/v1.0/eugen/abstract/EUGEN-T10.sch +57 -0
  31. data/spec/schema/open_peppol/v1.0/eugen/codelist/EUGENCodesT10.sch +47 -0
  32. data/spec/schema/open_peppol/v1.1/BII/BIICORE-UBL-T10-V1.0.sch +6879 -0
  33. data/spec/schema/open_peppol/v1.1/BII/BIIRULES-UBL-T10.sch +28 -0
  34. data/spec/schema/open_peppol/v1.1/BII/BIIRULES-UBL-T10.xsl +1186 -0
  35. data/spec/schema/open_peppol/v1.1/BII/UBL/BIIRULES-UBL-T10.sch +80 -0
  36. data/spec/schema/open_peppol/v1.1/BII/abstract/BIIRULES-T10.sch +78 -0
  37. data/spec/schema/open_peppol/v1.1/BII/codelist/BIIRULESCodesT10-UBL.sch +55 -0
  38. data/spec/schema/open_peppol/v1.1/BII/convert.bat +7 -0
  39. data/spec/schema/open_peppol/v1.1/PEPPOL/OPENPEPPOL-UBL-T10.sch +28 -0
  40. data/spec/schema/open_peppol/v1.1/PEPPOL/UBL/OPENPEPPOL-UBL-T10.sch +62 -0
  41. data/spec/schema/open_peppol/v1.1/PEPPOL/abstract/OPENPEPPOL-T10.sch +82 -0
  42. data/spec/schema/open_peppol/v1.1/PEPPOL/codelist/OPENPEPPOLCodesT10-UBL.sch +47 -0
  43. data/spec/schema/open_peppol/v1.1/SI-UBL-INV-V11-Codes.SCH +24 -0
  44. data/spec/schema/open_peppol/v1.1/SI-UBL-INV-V11-FATAL.SCH +103 -0
  45. data/spec/schema/open_peppol/v1.1/SI-UBL-INV-V11-WARNING.SCH +498 -0
  46. data/spec/schema/open_peppol/v1.1/V1.1-Check.sch +3 -0
  47. data/spec/schema_spec.rb +12 -0
  48. metadata +45 -2
@@ -0,0 +1,1457 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:iso="http://purl.oclc.org/dsdl/schematron" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
3
+ <!--Implementers: please note that overriding process-prolog or process-root is
4
+ the preferred method for meta-stylesheets to use where possible. -->
5
+ <xsl:param name="archiveDirParameter" /><xsl:param name="archiveNameParameter" /><xsl:param name="fileNameParameter" /><xsl:param name="fileDirParameter" />
6
+
7
+ <!--PHASES-->
8
+
9
+
10
+ <!--PROLOG-->
11
+ <xsl:output method="xml" omit-xml-declaration="no" standalone="yes" indent="yes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" />
12
+
13
+ <!--KEYS-->
14
+
15
+
16
+ <!--DEFAULT RULES-->
17
+
18
+
19
+ <!--MODE: SCHEMATRON-SELECT-FULL-PATH-->
20
+ <!--This mode can be used to generate an ugly though full XPath for locators-->
21
+ <xsl:template match="*" mode="schematron-select-full-path"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:template>
22
+
23
+ <!--MODE: SCHEMATRON-FULL-PATH-->
24
+ <!--This mode can be used to generate an ugly though full XPath for locators-->
25
+ <xsl:template match="*" mode="schematron-get-full-path"><xsl:apply-templates select="parent::*" mode="schematron-get-full-path" /><xsl:text>/</xsl:text><xsl:choose><xsl:when test="namespace-uri()=''"><xsl:value-of select="name()" /><xsl:variable name="p_1" select="1+ count(preceding-sibling::*[name()=name(current())])" /><xsl:if test="$p_1&gt;1 or following-sibling::*[name()=name(current())]">[<xsl:value-of select="$p_1" />]</xsl:if></xsl:when><xsl:otherwise><xsl:text>*[local-name()='</xsl:text><xsl:value-of select="local-name()" /><xsl:text>' and namespace-uri()='</xsl:text><xsl:value-of select="namespace-uri()" /><xsl:text>']</xsl:text><xsl:variable name="p_2" select="1+ count(preceding-sibling::*[local-name()=local-name(current())])" /><xsl:if test="$p_2&gt;1 or following-sibling::*[local-name()=local-name(current())]">[<xsl:value-of select="$p_2" />]</xsl:if></xsl:otherwise></xsl:choose></xsl:template><xsl:template match="@*" mode="schematron-get-full-path"><xsl:text>/</xsl:text><xsl:choose><xsl:when test="namespace-uri()=''">@<xsl:value-of select="name()" /></xsl:when><xsl:otherwise><xsl:text>@*[local-name()='</xsl:text><xsl:value-of select="local-name()" /><xsl:text>' and namespace-uri()='</xsl:text><xsl:value-of select="namespace-uri()" /><xsl:text>']</xsl:text></xsl:otherwise></xsl:choose></xsl:template>
26
+
27
+ <!--MODE: SCHEMATRON-FULL-PATH-2-->
28
+ <!--This mode can be used to generate prefixed XPath for humans-->
29
+ <xsl:template match="node() | @*" mode="schematron-get-full-path-2"><xsl:for-each select="ancestor-or-self::*"><xsl:text>/</xsl:text><xsl:value-of select="name(.)" /><xsl:if test="preceding-sibling::*[name(.)=name(current())]"><xsl:text>[</xsl:text><xsl:value-of select="count(preceding-sibling::*[name(.)=name(current())])+1" /><xsl:text>]</xsl:text></xsl:if></xsl:for-each><xsl:if test="not(self::*)"><xsl:text />/@<xsl:value-of select="name(.)" /></xsl:if></xsl:template>
30
+
31
+ <!--MODE: GENERATE-ID-FROM-PATH -->
32
+ <xsl:template match="/" mode="generate-id-from-path" /><xsl:template match="text()" mode="generate-id-from-path"><xsl:apply-templates select="parent::*" mode="generate-id-from-path" /><xsl:value-of select="concat('.text-', 1+count(preceding-sibling::text()), '-')" /></xsl:template><xsl:template match="comment()" mode="generate-id-from-path"><xsl:apply-templates select="parent::*" mode="generate-id-from-path" /><xsl:value-of select="concat('.comment-', 1+count(preceding-sibling::comment()), '-')" /></xsl:template><xsl:template match="processing-instruction()" mode="generate-id-from-path"><xsl:apply-templates select="parent::*" mode="generate-id-from-path" /><xsl:value-of select="concat('.processing-instruction-', 1+count(preceding-sibling::processing-instruction()), '-')" /></xsl:template><xsl:template match="@*" mode="generate-id-from-path"><xsl:apply-templates select="parent::*" mode="generate-id-from-path" /><xsl:value-of select="concat('.@', name())" /></xsl:template><xsl:template match="*" mode="generate-id-from-path" priority="-0.5"><xsl:apply-templates select="parent::*" mode="generate-id-from-path" /><xsl:text>.</xsl:text><xsl:value-of select="concat('.',name(),'-',1+count(preceding-sibling::*[name()=name(current())]),'-')" /></xsl:template><!--MODE: SCHEMATRON-FULL-PATH-3-->
33
+ <!--This mode can be used to generate prefixed XPath for humans
34
+ (Top-level element has index)-->
35
+ <xsl:template match="node() | @*" mode="schematron-get-full-path-3"><xsl:for-each select="ancestor-or-self::*"><xsl:text>/</xsl:text><xsl:value-of select="name(.)" /><xsl:if test="parent::*"><xsl:text>[</xsl:text><xsl:value-of select="count(preceding-sibling::*[name(.)=name(current())])+1" /><xsl:text>]</xsl:text></xsl:if></xsl:for-each><xsl:if test="not(self::*)"><xsl:text />/@<xsl:value-of select="name(.)" /></xsl:if></xsl:template>
36
+
37
+ <!--MODE: GENERATE-ID-2 -->
38
+ <xsl:template match="/" mode="generate-id-2">U</xsl:template><xsl:template match="*" mode="generate-id-2" priority="2"><xsl:text>U</xsl:text><xsl:number level="multiple" count="*" /></xsl:template><xsl:template match="node()" mode="generate-id-2"><xsl:text>U.</xsl:text><xsl:number level="multiple" count="*" /><xsl:text>n</xsl:text><xsl:number count="node()" /></xsl:template><xsl:template match="@*" mode="generate-id-2"><xsl:text>U.</xsl:text><xsl:number level="multiple" count="*" /><xsl:text>_</xsl:text><xsl:value-of select="string-length(local-name(.))" /><xsl:text>_</xsl:text><xsl:value-of select="translate(name(),':','.')" /></xsl:template><!--Strip characters--><xsl:template match="text()" priority="-1" />
39
+
40
+ <!--SCHEMA METADATA-->
41
+ <xsl:template match="/"><svrl:schematron-output title="BIICORE T10 bound to UBL" schemaVersion="" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:comment><xsl:value-of select="$archiveDirParameter" />  
42
+ <xsl:value-of select="$archiveNameParameter" />  
43
+ <xsl:value-of select="$fileNameParameter" />  
44
+ <xsl:value-of select="$fileDirParameter" /></xsl:comment><svrl:ns-prefix-in-attribute-values uri="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" prefix="cbc" /><svrl:ns-prefix-in-attribute-values uri="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" prefix="cac" /><svrl:ns-prefix-in-attribute-values uri="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" prefix="ubl" /><svrl:active-pattern><xsl:attribute name="id">SI-UBL-INV-FATAL</xsl:attribute><xsl:attribute name="name">SI-UBL-INV-FATAL</xsl:attribute><xsl:apply-templates /></svrl:active-pattern><xsl:apply-templates select="/" mode="M5" /><svrl:active-pattern><xsl:attribute name="id">SI-UBL-INV-WARNING</xsl:attribute><xsl:attribute name="name">SI-UBL-INV-WARNING</xsl:attribute><xsl:apply-templates /></svrl:active-pattern><xsl:apply-templates select="/" mode="M6" /></svrl:schematron-output></xsl:template>
45
+
46
+ <!--SCHEMATRON PATTERNS-->
47
+ <svrl:text xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron">BIICORE T10 bound to UBL</svrl:text>
48
+
49
+ <!--PATTERN SI-UBL-INV-FATAL-->
50
+
51
+
52
+ <!--RULE -->
53
+ <xsl:template match="ubl:Invoice" priority="1008" mode="M5"><svrl:fired-rule context="ubl:Invoice" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
54
+
55
+ <!--ASSERT -->
56
+ <xsl:choose><xsl:when test="//cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID and (//cac:TaxCategory/cbc:ID) = 'AE' or not((//cac:TaxCategory/cbc:ID) = 'AE')" /><xsl:otherwise><svrl:failed-assert test="//cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID and (//cac:TaxCategory/cbc:ID) = 'AE' or not((//cac:TaxCategory/cbc:ID) = 'AE')" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R436]-IF VAT = "AE" (reverse charge) THEN it MUST contain Supplier VAT id and Customer VAT</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
57
+
58
+ <!--ASSERT -->
59
+ <xsl:choose><xsl:when test="(((//cac:TaxCategory/cbc:ID) = 'AE') and not((//cac:TaxCategory/cbc:ID) != 'AE' )) or not((//cac:TaxCategory/cbc:ID) = 'AE') or not(//cac:TaxCategory)" /><xsl:otherwise><svrl:failed-assert test="(((//cac:TaxCategory/cbc:ID) = 'AE') and not((//cac:TaxCategory/cbc:ID) != 'AE' )) or not((//cac:TaxCategory/cbc:ID) = 'AE') or not(//cac:TaxCategory)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R437]-IF VAT = "AE" (reverse charge) THEN VAT MAY NOT contain other VAT categories.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
60
+
61
+ <!--ASSERT -->
62
+ <xsl:choose><xsl:when test="(//cbc:TaxExclusiveAmount = //cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cbc:ID='AE']/cbc:TaxableAmount) and (//cac:TaxCategory/cbc:ID) = 'AE' or not((//cac:TaxCategory/cbc:ID) = 'AE')" /><xsl:otherwise><svrl:failed-assert test="(//cbc:TaxExclusiveAmount = //cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cbc:ID='AE']/cbc:TaxableAmount) and (//cac:TaxCategory/cbc:ID) = 'AE' or not((//cac:TaxCategory/cbc:ID) = 'AE')" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R438]-IF VAT = "AE" (reverse charge) THEN The taxable amount MUST equal the invoice total without VAT amount.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
63
+
64
+ <!--ASSERT -->
65
+ <xsl:choose><xsl:when test="//cac:TaxTotal/cbc:TaxAmount = 0 and (//cac:TaxCategory/cbc:ID) = 'AE' or not((//cac:TaxCategory/cbc:ID) = 'AE')" /><xsl:otherwise><svrl:failed-assert test="//cac:TaxTotal/cbc:TaxAmount = 0 and (//cac:TaxCategory/cbc:ID) = 'AE' or not((//cac:TaxCategory/cbc:ID) = 'AE')" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R439]-IF VAT = "AE" (reverse charge) THEN VAT tax amount MUST be zero.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
66
+
67
+ <!--ASSERT -->
68
+ <xsl:choose><xsl:when test="((cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxAmount) and (cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) or not((cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT'])))" /><xsl:otherwise><svrl:failed-assert test="((cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxAmount) and (cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) or not((cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT'])))" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R429]-If the VAT total amount in an invoice exists it MUST contain the suppliers VAT number.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
69
+
70
+ <!--ASSERT -->
71
+ <xsl:choose><xsl:when test="not(//@currencyID != //cbc:DocumentCurrencyCode)" /><xsl:otherwise><svrl:failed-assert test="not(//@currencyID != //cbc:DocumentCurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R445]-Currency Identifier MUST be in stated in the currency stated on header level.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
72
+
73
+ <!--RULE -->
74
+ <xsl:template match="cac:AllowanceCharge" priority="1007" mode="M5"><svrl:fired-rule context="cac:AllowanceCharge" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
75
+
76
+ <!--ASSERT -->
77
+ <xsl:choose><xsl:when test="(((//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxAmount) and (cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT')) or not((//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT'])) and (parent::ubl:Invoice)) or not(parent::ubl:Invoice)" /><xsl:otherwise><svrl:failed-assert test="(((//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxAmount) and (cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT')) or not((//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT'])) and (parent::ubl:Invoice)) or not(parent::ubl:Invoice)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R428]-If the VAT total amount in an invoice exists then an Allowances Charges amount on document level MUST have Tax category for VAT.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
78
+
79
+ <!--ASSERT -->
80
+ <xsl:choose><xsl:when test="not(cbc:MultiplierFactorNumeric) or number(cbc:MultiplierFactorNumeric) &gt;=0" /><xsl:otherwise><svrl:failed-assert test="not(cbc:MultiplierFactorNumeric) or number(cbc:MultiplierFactorNumeric) &gt;=0" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R434]-An allowance percentage MUST NOT be negative.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
81
+
82
+ <!--ASSERT -->
83
+ <xsl:choose><xsl:when test="(cbc:MultiplierFactorNumeric and cbc:BaseAmount) or (not(cbc:MultiplierFactorNumeric) and not(cbc:BaseAmount)) " /><xsl:otherwise><svrl:failed-assert test="(cbc:MultiplierFactorNumeric and cbc:BaseAmount) or (not(cbc:MultiplierFactorNumeric) and not(cbc:BaseAmount))" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R435]-In allowances, both or none of percentage and base amount SHOULD be provided</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
84
+
85
+ <!--ASSERT -->
86
+ <xsl:choose><xsl:when test="number(cbc:Amount)&gt;=0" /><xsl:otherwise><svrl:failed-assert test="number(cbc:Amount)&gt;=0" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R443]-An allowance or charge amount MUST NOT be negative.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
87
+
88
+ <!--ASSERT -->
89
+ <xsl:choose><xsl:when test="(cbc:AllowanceChargeReason)" /><xsl:otherwise><svrl:failed-assert test="(cbc:AllowanceChargeReason)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R444]-AllowanceChargeReason text SHOULD be specified for all allowances and charges</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
90
+
91
+ <!--RULE -->
92
+ <xsl:template match="cac:TaxCategory" priority="1006" mode="M5"><svrl:fired-rule context="cac:TaxCategory" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
93
+
94
+ <!--ASSERT -->
95
+ <xsl:choose><xsl:when test="(parent::cac:AllowanceCharge) or (cbc:ID and cbc:Percent) or (cbc:ID = 'AE')" /><xsl:otherwise><svrl:failed-assert test="(parent::cac:AllowanceCharge) or (cbc:ID and cbc:Percent) or (cbc:ID = 'AE')" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R430]-For each tax subcategory the category ID and the applicable tax percentage MUST be provided.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
96
+
97
+ <!--RULE -->
98
+ <xsl:template match="ubl:Invoice/cac:PayeeParty" priority="1005" mode="M5"><svrl:fired-rule context="ubl:Invoice/cac:PayeeParty" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
99
+
100
+ <!--ASSERT -->
101
+ <xsl:choose><xsl:when test="cac:PartyName/cbc:Name" /><xsl:otherwise><svrl:failed-assert test="cac:PartyName/cbc:Name" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R432]-If payee information is provided then the payee name MUST be specified.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
102
+
103
+ <!--RULE -->
104
+ <xsl:template match="cac:Item/cac:ClassifiedTaxCategory" priority="1004" mode="M5"><svrl:fired-rule context="cac:Item/cac:ClassifiedTaxCategory" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
105
+
106
+ <!--ASSERT -->
107
+ <xsl:choose><xsl:when test="(//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxAmount and cbc:ID) or not((//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']))" /><xsl:otherwise><svrl:failed-assert test="(//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxAmount and cbc:ID) or not((//cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']))" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R433]-If the VAT total amount in an invoice exists then each invoice line item MUST have a VAT category ID.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
108
+
109
+ <!--RULE -->
110
+ <xsl:template match="cac:LegalMonetaryTotal" priority="1003" mode="M5"><svrl:fired-rule context="cac:LegalMonetaryTotal" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
111
+
112
+ <!--ASSERT -->
113
+ <xsl:choose><xsl:when test="number(cbc:PayableAmount) &gt;= 0" /><xsl:otherwise><svrl:failed-assert test="number(cbc:PayableAmount) &gt;= 0" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R440]-Total payable amount in an invoice MUST NOT be negative</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
114
+
115
+ <!--RULE -->
116
+ <xsl:template match="cac:InvoicePeriod" priority="1002" mode="M5"><svrl:fired-rule context="cac:InvoicePeriod" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
117
+
118
+ <!--ASSERT -->
119
+ <xsl:choose><xsl:when test="(cbc:StartDate)" /><xsl:otherwise><svrl:failed-assert test="(cbc:StartDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R441]-If the invoice refers to a period, the period MUST have a start date.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
120
+
121
+ <!--ASSERT -->
122
+ <xsl:choose><xsl:when test="(cbc:EndDate)" /><xsl:otherwise><svrl:failed-assert test="(cbc:EndDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R442]-If the invoice refers to a period, the period MUST have an end date.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
123
+
124
+ <!--RULE -->
125
+ <xsl:template match="cac:PartyIdentification/cbc:ID/@schemeID" priority="1001" mode="M5"><svrl:fired-rule context="cac:PartyIdentification/cbc:ID/@schemeID" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
126
+
127
+ <!--ASSERT -->
128
+ <xsl:choose><xsl:when test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN DUNS IBAN DK:CPR DK:CVR DK:P DK:SE DK:VANS IT:VAT IT:CF IT:FTI IT:SIA IT:SECETI NO:ORGNR NO:VAT HU:VAT SE:ORGNR FI:OVT EU:VAT EU:REID FR:SIRET AT:VAT AT:GOV AT:CID IS:KT IBAN AT:KUR ES:VAT NL:KVK NL:VAT NL:OIN ',concat(' ',normalize-space(.),' ') ) ) )" /><xsl:otherwise><svrl:failed-assert test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN DUNS IBAN DK:CPR DK:CVR DK:P DK:SE DK:VANS IT:VAT IT:CF IT:FTI IT:SIA IT:SECETI NO:ORGNR NO:VAT HU:VAT SE:ORGNR FI:OVT EU:VAT EU:REID FR:SIRET AT:VAT AT:GOV AT:CID IS:KT IBAN AT:KUR ES:VAT NL:KVK NL:VAT NL:OIN ',concat(' ',normalize-space(.),' ') ) ) )" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R451]-Party Identifiers MUST use the PEPPOL PartyID list</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
129
+
130
+ <!--RULE -->
131
+ <xsl:template match="cbc:EndpointID/@schemeID" priority="1000" mode="M5"><svrl:fired-rule context="cbc:EndpointID/@schemeID" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
132
+
133
+ <!--ASSERT -->
134
+ <xsl:choose><xsl:when test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN DUNS IBAN DK:CPR DK:CVR DK:P DK:SE DK:VANS IT:VAT IT:CF IT:FTI IT:SIA IT:SECETI NO:ORGNR NO:VAT HU:VAT SE:ORGNR FI:OVT EU:VAT EU:REID FR:SIRET AT:VAT AT:GOV AT:CID IS:KT IBAN AT:KUR ES:VAT NL:KVK NL:VAT NL:OIN ',concat(' ',normalize-space(.),' ') ) ) )" /><xsl:otherwise><svrl:failed-assert test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN DUNS IBAN DK:CPR DK:CVR DK:P DK:SE DK:VANS IT:VAT IT:CF IT:FTI IT:SIA IT:SECETI NO:ORGNR NO:VAT HU:VAT SE:ORGNR FI:OVT EU:VAT EU:REID FR:SIRET AT:VAT AT:GOV AT:CID IS:KT IBAN AT:KUR ES:VAT NL:KVK NL:VAT NL:OIN ',concat(' ',normalize-space(.),' ') ) ) )" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">fatal</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R452]-Endpoint Identifiers MUST use the PEPPOL PartyID list.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template><xsl:template match="text()" priority="-1" mode="M5" /><xsl:template match="@*|node()" priority="-2" mode="M5"><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M5" /></xsl:template>
135
+
136
+ <!--PATTERN SI-UBL-INV-WARNING-->
137
+
138
+
139
+ <!--RULE -->
140
+ <xsl:template match="ubl:Invoice" priority="1017" mode="M6"><svrl:fired-rule context="ubl:Invoice" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
141
+
142
+ <!--ASSERT -->
143
+ <xsl:choose><xsl:when test="contains(cbc:CustomizationID, 'urn:www.simplerinvoicing.org:si-ubl:invoice:ver1.0.x')" /><xsl:otherwise><svrl:failed-assert test="contains(cbc:CustomizationID, 'urn:www.simplerinvoicing.org:si-ubl:invoice:ver1.0.x')" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R000]-This XML instance is NOT a core SI-UBL Invoice</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
144
+
145
+ <!--ASSERT -->
146
+ <xsl:choose><xsl:when test="not(count(//*[not(*) and not(normalize-space(text()))]) &gt; 0)" /><xsl:otherwise><svrl:failed-assert test="not(count(//*[not(*) and not(normalize-space(text()))]) &gt; 0)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R001]-An invoice SHOULD not contain empty elements.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
147
+
148
+ <!--ASSERT -->
149
+ <xsl:choose><xsl:when test="not(cbc:CopyIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cbc:CopyIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R002]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
150
+
151
+ <!--ASSERT -->
152
+ <xsl:choose><xsl:when test="not(cbc:UUID) " /><xsl:otherwise><svrl:failed-assert test="not(cbc:UUID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R003]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
153
+
154
+ <!--ASSERT -->
155
+ <xsl:choose><xsl:when test="not(cbc:IssueTime) " /><xsl:otherwise><svrl:failed-assert test="not(cbc:IssueTime)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R004]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
156
+
157
+ <!--ASSERT -->
158
+ <xsl:choose><xsl:when test="not(cbc:TaxCurrencyCode)" /><xsl:otherwise><svrl:failed-assert test="not(cbc:TaxCurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R005]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
159
+
160
+ <!--ASSERT -->
161
+ <xsl:choose><xsl:when test="not(cbc:PricingCurrencyCode) " /><xsl:otherwise><svrl:failed-assert test="not(cbc:PricingCurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R006]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
162
+
163
+ <!--ASSERT -->
164
+ <xsl:choose><xsl:when test="not(cbc:PaymentCurrencyCode) " /><xsl:otherwise><svrl:failed-assert test="not(cbc:PaymentCurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R007]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
165
+
166
+ <!--ASSERT -->
167
+ <xsl:choose><xsl:when test="not(cbc:PaymentAlternativeCurrencyCode) " /><xsl:otherwise><svrl:failed-assert test="not(cbc:PaymentAlternativeCurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R008]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
168
+
169
+ <!--ASSERT -->
170
+ <xsl:choose><xsl:when test="not(cbc:AccountingCostCode) " /><xsl:otherwise><svrl:failed-assert test="not(cbc:AccountingCostCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R009]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
171
+
172
+ <!--ASSERT -->
173
+ <xsl:choose><xsl:when test="not(cbc:LineCountNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cbc:LineCountNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R010]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
174
+
175
+ <!--ASSERT -->
176
+ <xsl:choose><xsl:when test="not(cac:BillingReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:BillingReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R011]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
177
+
178
+ <!--ASSERT -->
179
+ <xsl:choose><xsl:when test="not(cac:DespatchDocumentReference) " /><xsl:otherwise><svrl:failed-assert test="not(cac:DespatchDocumentReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R012]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
180
+
181
+ <!--ASSERT -->
182
+ <xsl:choose><xsl:when test="not(cac:ReceiptDocumentReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:ReceiptDocumentReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R013]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
183
+
184
+ <!--ASSERT -->
185
+ <xsl:choose><xsl:when test="not(cac:OriginatorDocumentReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:OriginatorDocumentReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R014]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
186
+
187
+ <!--ASSERT -->
188
+ <xsl:choose><xsl:when test="not(cac:Signature)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Signature)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R015]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
189
+
190
+ <!--ASSERT -->
191
+ <xsl:choose><xsl:when test="not(cac:BuyerCustomerParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:BuyerCustomerParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R016]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
192
+
193
+ <!--ASSERT -->
194
+ <xsl:choose><xsl:when test="not(cac:SellerSupplierParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:SellerSupplierParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R017]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
195
+
196
+ <!--ASSERT -->
197
+ <xsl:choose><xsl:when test="not(cac:TaxRepresentativeParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxRepresentativeParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R018]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
198
+
199
+ <!--ASSERT -->
200
+ <xsl:choose><xsl:when test="not(cac:DeliveryTerms/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:DeliveryTerms/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R020]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
201
+
202
+ <!--ASSERT -->
203
+ <xsl:choose><xsl:when test="not(cac:DeliveryTerms/cbc:LossRiskResponsibilityCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:DeliveryTerms/cbc:LossRiskResponsibilityCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R021]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
204
+
205
+ <!--ASSERT -->
206
+ <xsl:choose><xsl:when test="not(cac:DeliveryTerms/cbc:LossRisk)" /><xsl:otherwise><svrl:failed-assert test="not(cac:DeliveryTerms/cbc:LossRisk)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R022]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
207
+
208
+ <!--ASSERT -->
209
+ <xsl:choose><xsl:when test="not(cac:DeliveryTerms/cbc:DeliveryLocation)" /><xsl:otherwise><svrl:failed-assert test="not(cac:DeliveryTerms/cbc:DeliveryLocation)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R023]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
210
+
211
+ <!--ASSERT -->
212
+ <xsl:choose><xsl:when test="not(cac:DeliveryTerms/cbc:AllowanceCharge)" /><xsl:otherwise><svrl:failed-assert test="not(cac:DeliveryTerms/cbc:AllowanceCharge)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R024]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
213
+
214
+ <!--ASSERT -->
215
+ <xsl:choose><xsl:when test="not(cac:PrepaidPayment)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PrepaidPayment)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R025]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
216
+
217
+ <!--ASSERT -->
218
+ <xsl:choose><xsl:when test="not(cac:TaxExchangeRate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxExchangeRate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R026]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
219
+
220
+ <!--ASSERT -->
221
+ <xsl:choose><xsl:when test="not(cac:PricingExchangeRate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PricingExchangeRate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R027]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
222
+
223
+ <!--ASSERT -->
224
+ <xsl:choose><xsl:when test="not(cac:PaymentExchangeRate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentExchangeRate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R028]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
225
+
226
+ <!--ASSERT -->
227
+ <xsl:choose><xsl:when test="not(cac:PaymentAlternativeExchangeRate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentAlternativeExchangeRate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R029]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
228
+
229
+ <!--ASSERT -->
230
+ <xsl:choose><xsl:when test="not(cac:InvoicePeriod/cbc:StartTime)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoicePeriod/cbc:StartTime)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R030]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
231
+
232
+ <!--ASSERT -->
233
+ <xsl:choose><xsl:when test="not(cac:InvoicePeriod/cbc:EndTime)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoicePeriod/cbc:EndTime)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R031]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
234
+
235
+ <!--ASSERT -->
236
+ <xsl:choose><xsl:when test="not(cac:InvoicePeriod/cbc:DurationMeasure)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoicePeriod/cbc:DurationMeasure)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R032]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
237
+
238
+ <!--ASSERT -->
239
+ <xsl:choose><xsl:when test="not(cac:InvoicePeriod/cbc:Description)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoicePeriod/cbc:Description)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R033]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
240
+
241
+ <!--ASSERT -->
242
+ <xsl:choose><xsl:when test="not(cac:InvoicePeriod/cbc:DescriptionCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoicePeriod/cbc:DescriptionCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R034]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
243
+
244
+ <!--ASSERT -->
245
+ <xsl:choose><xsl:when test="not(cac:OrderReference/cbc:SalesOrderID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:OrderReference/cbc:SalesOrderID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R035]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
246
+
247
+ <!--ASSERT -->
248
+ <xsl:choose><xsl:when test="not(cac:OrderReference/cbc:CopyIndicator) " /><xsl:otherwise><svrl:failed-assert test="not(cac:OrderReference/cbc:CopyIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R036]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
249
+
250
+ <!--ASSERT -->
251
+ <xsl:choose><xsl:when test="not(cac:OrderReference/cbc:UUID) " /><xsl:otherwise><svrl:failed-assert test="not(cac:OrderReference/cbc:UUID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R037]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
252
+
253
+ <!--ASSERT -->
254
+ <xsl:choose><xsl:when test="not(cac:OrderReference/cbc:IssueDate) " /><xsl:otherwise><svrl:failed-assert test="not(cac:OrderReference/cbc:IssueDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R038]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
255
+
256
+ <!--ASSERT -->
257
+ <xsl:choose><xsl:when test="not(cac:OrderReference/cbc:IssueTime) " /><xsl:otherwise><svrl:failed-assert test="not(cac:OrderReference/cbc:IssueTime)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R039]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
258
+
259
+ <!--ASSERT -->
260
+ <xsl:choose><xsl:when test="not(cac:OrderReference/cbc:CustomerReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:OrderReference/cbc:CustomerReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R040]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
261
+
262
+ <!--ASSERT -->
263
+ <xsl:choose><xsl:when test="not(cac:OrderReference/cac:DocumentReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:OrderReference/cac:DocumentReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R041]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
264
+
265
+ <!--ASSERT -->
266
+ <xsl:choose><xsl:when test="not(cac:ContractDocumentReference/cbc:CooyIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:ContractDocumentReference/cbc:CooyIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R042]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
267
+
268
+ <!--ASSERT -->
269
+ <xsl:choose><xsl:when test="not(cac:ContractDocumentReference/cbc:UUID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:ContractDocumentReference/cbc:UUID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R043]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
270
+
271
+ <!--ASSERT -->
272
+ <xsl:choose><xsl:when test="not(cac:ContractDocumentReference/cbc:IssueDate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:ContractDocumentReference/cbc:IssueDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R044]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
273
+
274
+ <!--ASSERT -->
275
+ <xsl:choose><xsl:when test="not(cac:ContractDocumentReference/cbc:DocumentTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:ContractDocumentReference/cbc:DocumentTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R045]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
276
+
277
+ <!--ASSERT -->
278
+ <xsl:choose><xsl:when test="not(cac:ContractDocumentReference/cbc:XPath)" /><xsl:otherwise><svrl:failed-assert test="not(cac:ContractDocumentReference/cbc:XPath)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R046]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
279
+
280
+ <!--ASSERT -->
281
+ <xsl:choose><xsl:when test="not(cac:ContractDocumentReference/cac:Attachment)" /><xsl:otherwise><svrl:failed-assert test="not(cac:ContractDocumentReference/cac:Attachment)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R047]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
282
+
283
+ <!--ASSERT -->
284
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cbc:CopyIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cbc:CopyIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R048]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
285
+
286
+ <!--ASSERT -->
287
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cbc:UUID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cbc:UUID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R049]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
288
+
289
+ <!--ASSERT -->
290
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cbc:IssueDate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cbc:IssueDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R050]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
291
+
292
+ <!--ASSERT -->
293
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cbc:DocumentTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cbc:DocumentTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R051]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
294
+
295
+ <!--ASSERT -->
296
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cbc:XPath)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cbc:XPath)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R052]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
297
+
298
+ <!--ASSERT -->
299
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:DocumentHash)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:DocumentHash)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R053]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
300
+
301
+ <!--ASSERT -->
302
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:ExpiryDate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:ExpiryDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R054]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
303
+
304
+ <!--ASSERT -->
305
+ <xsl:choose><xsl:when test="not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:ExpiryTime)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:ExpiryTime)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R055]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
306
+
307
+ <!--ASSERT -->
308
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cbc:CustomerAssignedAccountID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cbc:CustomerAssignedAccountID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R056]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
309
+
310
+ <!--ASSERT -->
311
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cbc:AdditionalAccountID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cbc:AdditionalAccountID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R057]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
312
+
313
+ <!--ASSERT -->
314
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cbc:DataSendingCapability)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cbc:DataSendingCapability)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R058]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
315
+
316
+ <!--ASSERT -->
317
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:DespatchContact)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:DespatchContact)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R059]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
318
+
319
+ <!--ASSERT -->
320
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:AccountingContact)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:AccountingContact)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R060]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
321
+
322
+ <!--ASSERT -->
323
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:SellerContact)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:SellerContact)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R061]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
324
+
325
+ <!--ASSERT -->
326
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cbc:MarkCareIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cbc:MarkCareIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R062]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
327
+
328
+ <!--ASSERT -->
329
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cbc:MarkAttentionIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cbc:MarkAttentionIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R063]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
330
+
331
+ <!--ASSERT -->
332
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cbc:WebsiteURI)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cbc:WebsiteURI)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R064]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
333
+
334
+ <!--ASSERT -->
335
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cbc:LogoReferenceID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cbc:LogoReferenceID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R065]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
336
+
337
+ <!--ASSERT -->
338
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Language)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Language)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R066]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
339
+
340
+ <!--ASSERT -->
341
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:AddressTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:AddressTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R067]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
342
+
343
+ <!--ASSERT -->
344
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:AddressFormatCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:AddressFormatCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R068]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
345
+
346
+ <!--ASSERT -->
347
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:Floor)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:Floor)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R069]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
348
+
349
+ <!--ASSERT -->
350
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:Room)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:Room)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R070]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
351
+
352
+ <!--ASSERT -->
353
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:BlockName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:BlockName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R071]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
354
+
355
+ <!--ASSERT -->
356
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:BuildingName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:BuildingName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R072]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
357
+
358
+ <!--ASSERT -->
359
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:InhouseMail)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:InhouseMail)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R073]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
360
+
361
+ <!--ASSERT -->
362
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:MarkAttention)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:MarkAttention)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R074]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
363
+
364
+ <!--ASSERT -->
365
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:MarkCare)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:MarkCare)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R075]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
366
+
367
+ <!--ASSERT -->
368
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PlotIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PlotIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R076]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
369
+
370
+ <!--ASSERT -->
371
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CitySubdivisionName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CitySubdivisionName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R077]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
372
+
373
+ <!--ASSERT -->
374
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:Region)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:Region)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R078]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
375
+
376
+ <!--ASSERT -->
377
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:District)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:District)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R079]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
378
+
379
+ <!--ASSERT -->
380
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:TimezoneOffset)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:TimezoneOffset)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R080]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
381
+
382
+ <!--ASSERT -->
383
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:AddressLine)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:AddressLine)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R081]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
384
+
385
+ <!--ASSERT -->
386
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R082]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
387
+
388
+ <!--ASSERT -->
389
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:LocationCoordinate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:LocationCoordinate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R083]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
390
+
391
+ <!--ASSERT -->
392
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R084]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
393
+
394
+ <!--ASSERT -->
395
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:RegistrationName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:RegistrationName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R085]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
396
+
397
+ <!--ASSERT -->
398
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:TaxLevelCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:TaxLevelCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R086]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
399
+
400
+ <!--ASSERT -->
401
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReasonCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReasonCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R087]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
402
+
403
+ <!--ASSERT -->
404
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReason)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReason)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R088]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
405
+
406
+ <!--ASSERT -->
407
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:RegistrationAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:RegistrationAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R089]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
408
+
409
+ <!--ASSERT -->
410
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R090]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
411
+
412
+ <!--ASSERT -->
413
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:TaxTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:TaxTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R091]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
414
+
415
+ <!--ASSERT -->
416
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:CurrencyCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:CurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R092]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
417
+
418
+ <!--ASSERT -->
419
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cac:JurisdictionRegionAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cac:JurisdictionRegionAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R093]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
420
+
421
+ <!--ASSERT -->
422
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R094]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
423
+
424
+ <!--ASSERT -->
425
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressFormatCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressFormatCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R095]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
426
+
427
+ <!--ASSERT -->
428
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Postbox)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Postbox)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R096]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
429
+
430
+ <!--ASSERT -->
431
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Floor)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Floor)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R097]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
432
+
433
+ <!--ASSERT -->
434
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Room)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Room)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R098]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
435
+
436
+ <!--ASSERT -->
437
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BlockName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BlockName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R101]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
438
+
439
+ <!--ASSERT -->
440
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BuildingName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BuildingName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R102]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
441
+
442
+ <!--ASSERT -->
443
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:InhouseMail)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:InhouseMail)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R104]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
444
+
445
+ <!--ASSERT -->
446
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Department)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Department)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R105]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
447
+
448
+ <!--ASSERT -->
449
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkAttention)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkAttention)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R106]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
450
+
451
+ <!--ASSERT -->
452
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkCare)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkCare)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R107]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
453
+
454
+ <!--ASSERT -->
455
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:PlotIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:PlotIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R108]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
456
+
457
+ <!--ASSERT -->
458
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CitySubdivisionName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CitySubdivisionName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R109]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
459
+
460
+ <!--ASSERT -->
461
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CountrySubentityCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CountrySubentityCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R111]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
462
+
463
+ <!--ASSERT -->
464
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Region)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Region)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R112]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
465
+
466
+ <!--ASSERT -->
467
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:District)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:District)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R113]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
468
+
469
+ <!--ASSERT -->
470
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:TimezoneOffset)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:TimezoneOffset)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R114]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
471
+
472
+ <!--ASSERT -->
473
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:AddressLine)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:AddressLine)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R115]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
474
+
475
+ <!--ASSERT -->
476
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:Country/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:Country/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R116]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
477
+
478
+ <!--ASSERT -->
479
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:LocationCoordinate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:LocationCoordinate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R117]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
480
+
481
+ <!--ASSERT -->
482
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:CorporateRegistrationScheme)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cac:CorporateRegistrationScheme)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R118]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
483
+
484
+ <!--ASSERT -->
485
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R119]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
486
+
487
+ <!--ASSERT -->
488
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R120]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
489
+
490
+ <!--ASSERT -->
491
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Note)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Note)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R121]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
492
+
493
+ <!--ASSERT -->
494
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cac:OtherCommunication)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Contact/cac:OtherCommunication)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R122]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
495
+
496
+ <!--ASSERT -->
497
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Person/cbc:Title)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Person/cbc:Title)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R123]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
498
+
499
+ <!--ASSERT -->
500
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Person/cbc:NameSuffix)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Person/cbc:NameSuffix)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R124]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
501
+
502
+ <!--ASSERT -->
503
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:Person/cbc:OrganizationDepartment)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:Person/cbc:OrganizationDepartment)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R125]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
504
+
505
+ <!--ASSERT -->
506
+ <xsl:choose><xsl:when test="not(cac:AccountingSupplierParty/cac:Party/cac:AgentParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingSupplierParty/cac:Party/cac:AgentParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R126]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
507
+
508
+ <!--ASSERT -->
509
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cbc:SupplierAssignedAccountID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cbc:SupplierAssignedAccountID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R127]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
510
+
511
+ <!--ASSERT -->
512
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cbc:CustomerAssignedAccountID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cbc:CustomerAssignedAccountID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R128]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
513
+
514
+ <!--ASSERT -->
515
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cbc:AdditionalAccountID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cbc:AdditionalAccountID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R129]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
516
+
517
+ <!--ASSERT -->
518
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:DeliveryContact)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:DeliveryContact)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R130]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
519
+
520
+ <!--ASSERT -->
521
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:AccountingContact)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:AccountingContact)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R131]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
522
+
523
+ <!--ASSERT -->
524
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:BuyerContact)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:BuyerContact)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R132]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
525
+
526
+ <!--ASSERT -->
527
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cbc:MarkCareIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cbc:MarkCareIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R133]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
528
+
529
+ <!--ASSERT -->
530
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cbc:MarkAttentionIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cbc:MarkAttentionIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R134]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
531
+
532
+ <!--ASSERT -->
533
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cbc:WebsiteURI)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cbc:WebsiteURI)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R135]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
534
+
535
+ <!--ASSERT -->
536
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cbc:LogoReferenceID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cbc:LogoReferenceID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R136]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
537
+
538
+ <!--ASSERT -->
539
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Language)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Language)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R137]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
540
+
541
+ <!--ASSERT -->
542
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:AddressTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:AddressTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R138]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
543
+
544
+ <!--ASSERT -->
545
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:AddressFormatCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:AddressFormatCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R139]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
546
+
547
+ <!--ASSERT -->
548
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:Floor)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:Floor)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R140]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
549
+
550
+ <!--ASSERT -->
551
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:Room)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:Room)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R141]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
552
+
553
+ <!--ASSERT -->
554
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:BlockName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:BlockName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R142]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
555
+
556
+ <!--ASSERT -->
557
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:BuildingName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:BuildingName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R143]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
558
+
559
+ <!--ASSERT -->
560
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:InhouseMail)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:InhouseMail)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R144]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
561
+
562
+ <!--ASSERT -->
563
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:MarkAttention)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:MarkAttention)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R145]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
564
+
565
+ <!--ASSERT -->
566
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:MarkCare)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:MarkCare)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R146]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
567
+
568
+ <!--ASSERT -->
569
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PlotIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PlotIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R147]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
570
+
571
+ <!--ASSERT -->
572
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CitySubdivisionName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CitySubdivisionName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R148]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
573
+
574
+ <!--ASSERT -->
575
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:Region)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:Region)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R149]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
576
+
577
+ <!--ASSERT -->
578
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:District)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:District)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R150]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
579
+
580
+ <!--ASSERT -->
581
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:TimezoneOffset)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:TimezoneOffset)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R151]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
582
+
583
+ <!--ASSERT -->
584
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:AddressLine)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:AddressLine)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R152]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
585
+
586
+ <!--ASSERT -->
587
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R153]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
588
+
589
+ <!--ASSERT -->
590
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:LocationCoordinate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:LocationCoordinate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R154]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
591
+
592
+ <!--ASSERT -->
593
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PhysicalLocation)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PhysicalLocation)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R155]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
594
+
595
+ <!--ASSERT -->
596
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:RegistrationName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:RegistrationName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R156]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
597
+
598
+ <!--ASSERT -->
599
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:TaxLevelCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:TaxLevelCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R157]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
600
+
601
+ <!--ASSERT -->
602
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReasonCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReasonCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R158]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
603
+
604
+ <!--ASSERT -->
605
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReason)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:ExemptionReason)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R159]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
606
+
607
+ <!--ASSERT -->
608
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:RegistrationAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:RegistrationAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R160]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
609
+
610
+ <!--ASSERT -->
611
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R161]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
612
+
613
+ <!--ASSERT -->
614
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:TaxTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:TaxTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R162]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
615
+
616
+ <!--ASSERT -->
617
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:CurrencyCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:CurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R163]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
618
+
619
+ <!--ASSERT -->
620
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cac:JurisdictionRegionAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cac:JurisdictionRegionAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R164]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
621
+
622
+ <!--ASSERT -->
623
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R165]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
624
+
625
+ <!--ASSERT -->
626
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressFormatCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:AddressFormatCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R166]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
627
+
628
+ <!--ASSERT -->
629
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Postbox)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Postbox)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R167]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
630
+
631
+ <!--ASSERT -->
632
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Floor)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Floor)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R168]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
633
+
634
+ <!--ASSERT -->
635
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Room)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Room)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R169]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
636
+
637
+ <!--ASSERT -->
638
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BlockName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BlockName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R172]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
639
+
640
+ <!--ASSERT -->
641
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BuildingName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:BuildingName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R173]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
642
+
643
+ <!--ASSERT -->
644
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:InhouseMail)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:InhouseMail)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R175]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
645
+
646
+ <!--ASSERT -->
647
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Department)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Department)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R176]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
648
+
649
+ <!--ASSERT -->
650
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkAttention)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkAttention)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R177]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
651
+
652
+ <!--ASSERT -->
653
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkCare)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:MarkCare)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R178]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
654
+
655
+ <!--ASSERT -->
656
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:PlotIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:PlotIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R179]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
657
+
658
+ <!--ASSERT -->
659
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CitySubdivisionName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CitySubdivisionName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R180]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
660
+
661
+ <!--ASSERT -->
662
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CountrySubentityCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:CountrySubentityCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R182]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
663
+
664
+ <!--ASSERT -->
665
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Region)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:Region)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R183]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
666
+
667
+ <!--ASSERT -->
668
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:District)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:District)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R184]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
669
+
670
+ <!--ASSERT -->
671
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:TimezoneOffset)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cbc:TimezoneOffset)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R185]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
672
+
673
+ <!--ASSERT -->
674
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:AddressLine)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:AddressLine)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R186]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
675
+
676
+ <!--ASSERT -->
677
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:Country/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:Country/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R187]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
678
+
679
+ <!--ASSERT -->
680
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:LocationCoordinate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:RegistrationAddress/cac:LocationCoordinate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R188]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
681
+
682
+ <!--ASSERT -->
683
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:CorporateRegistrationScheme)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:CorporateRegistrationScheme)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R189]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
684
+
685
+ <!--ASSERT -->
686
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R190]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
687
+
688
+ <!--ASSERT -->
689
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R191]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
690
+
691
+ <!--ASSERT -->
692
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:Note)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cbc:Note)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R192]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
693
+
694
+ <!--ASSERT -->
695
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cac:OtherCommunication)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Contact/cac:OtherCommunication)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R193]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
696
+
697
+ <!--ASSERT -->
698
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Person/cbc:Title)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Person/cbc:Title)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R194]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
699
+
700
+ <!--ASSERT -->
701
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Person/cbc:NameSuffix)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Person/cbc:NameSuffix)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R195]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
702
+
703
+ <!--ASSERT -->
704
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:Person/cbc:OrganizationDepartment)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:Person/cbc:OrganizationDepartment)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R196]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
705
+
706
+ <!--ASSERT -->
707
+ <xsl:choose><xsl:when test="not(cac:AccountingCustomerParty/cac:Party/cac:AgentParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AccountingCustomerParty/cac:Party/cac:AgentParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R197]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
708
+
709
+ <!--ASSERT -->
710
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cbc:MarkCareIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cbc:MarkCareIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R198]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
711
+
712
+ <!--ASSERT -->
713
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cbc:MarkAttentionIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cbc:MarkAttentionIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R199]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
714
+
715
+ <!--ASSERT -->
716
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cbc:WebsiteURI)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cbc:WebsiteURI)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R200]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
717
+
718
+ <!--ASSERT -->
719
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cbc:LogoReferenceID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cbc:LogoReferenceID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R201]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
720
+
721
+ <!--ASSERT -->
722
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:Language)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:Language)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R202]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
723
+
724
+ <!--ASSERT -->
725
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:PostalAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:PostalAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R203]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
726
+
727
+ <!--ASSERT -->
728
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:PhysicalLocation)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:PhysicalLocation)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R204]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
729
+
730
+ <!--ASSERT -->
731
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:PartyTaxScheme)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:PartyTaxScheme)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R205]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
732
+
733
+ <!--ASSERT -->
734
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:PartyLegalEntity/cbc:RegistrationName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:PartyLegalEntity/cbc:RegistrationName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R206]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
735
+
736
+ <!--ASSERT -->
737
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:PartyLegalEntity/cac:RegistrationAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:PartyLegalEntity/cac:RegistrationAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R207]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
738
+
739
+ <!--ASSERT -->
740
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:PartyLegalEntity/cac:CorporateRegistrationScheme)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:PartyLegalEntity/cac:CorporateRegistrationScheme)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R208]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
741
+
742
+ <!--ASSERT -->
743
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:Contact)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:Contact)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R209]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
744
+
745
+ <!--ASSERT -->
746
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:Person)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:Person)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R210]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
747
+
748
+ <!--ASSERT -->
749
+ <xsl:choose><xsl:when test="not(cac:PayeeParty/cac:AgentParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PayeeParty/cac:AgentParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R211]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
750
+
751
+ <!--ASSERT -->
752
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R212]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
753
+
754
+ <!--ASSERT -->
755
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:Quantity)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:Quantity)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R213]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
756
+
757
+ <!--ASSERT -->
758
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:MinimumQuantity)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:MinimumQuantity)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R214]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
759
+
760
+ <!--ASSERT -->
761
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:MaximumQuantity)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:MaximumQuantity)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R215]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
762
+
763
+ <!--ASSERT -->
764
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:ActualDeliveryTime)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:ActualDeliveryTime)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R216]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
765
+
766
+ <!--ASSERT -->
767
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:LatestDeliveryDate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:LatestDeliveryDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R217]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
768
+
769
+ <!--ASSERT -->
770
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:LatestDeliveryTime)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:LatestDeliveryTime)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R218]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
771
+
772
+ <!--ASSERT -->
773
+ <xsl:choose><xsl:when test="not(cac:Delivery/cbc:TrackingID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cbc:TrackingID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R219]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
774
+
775
+ <!--ASSERT -->
776
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R220]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
777
+
778
+ <!--ASSERT -->
779
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cbc:Description)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cbc:Description)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R221]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
780
+
781
+ <!--ASSERT -->
782
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cbc:Conditions)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cbc:Conditions)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R222]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
783
+
784
+ <!--ASSERT -->
785
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cbc:CountrySubentity)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cbc:CountrySubentity)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R223]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
786
+
787
+ <!--ASSERT -->
788
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cbc:CountrySubentityCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cbc:CountrySubentityCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R224]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
789
+
790
+ <!--ASSERT -->
791
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:ValidityPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:ValidityPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R225]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
792
+
793
+ <!--ASSERT -->
794
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:AddressTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:AddressTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R226]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
795
+
796
+ <!--ASSERT -->
797
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:AddressFormatCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:AddressFormatCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R227]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
798
+
799
+ <!--ASSERT -->
800
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Floor)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Floor)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R228]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
801
+
802
+ <!--ASSERT -->
803
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Room)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Room)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R229]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
804
+
805
+ <!--ASSERT -->
806
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:BlockName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:BlockName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R230]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
807
+
808
+ <!--ASSERT -->
809
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:BuildingName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:BuildingName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R231]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
810
+
811
+ <!--ASSERT -->
812
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:InhouseMail)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:InhouseMail)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R232]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
813
+
814
+ <!--ASSERT -->
815
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Department)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Department)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R233]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
816
+
817
+ <!--ASSERT -->
818
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:MarkAttention)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:MarkAttention)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R234]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
819
+
820
+ <!--ASSERT -->
821
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:MarkCare)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:MarkCare)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R235]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
822
+
823
+ <!--ASSERT -->
824
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:PlotIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:PlotIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R236]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
825
+
826
+ <!--ASSERT -->
827
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CitySubdivisionName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CitySubdivisionName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R237]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
828
+
829
+ <!--ASSERT -->
830
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CountrySubentityCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CountrySubentityCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R238]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
831
+
832
+ <!--ASSERT -->
833
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Region)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:Region)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R239]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
834
+
835
+ <!--ASSERT -->
836
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:District)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:District)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R240]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
837
+
838
+ <!--ASSERT -->
839
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:TimezoneOffset)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:TimezoneOffset)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R241]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
840
+
841
+ <!--ASSERT -->
842
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cac:AddressLine)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cac:AddressLine)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R242]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
843
+
844
+ <!--ASSERT -->
845
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cac:Country/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cac:Country/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R243]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
846
+
847
+ <!--ASSERT -->
848
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cac:LocationCoordinate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Address/cac:LocationCoordinate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R244]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
849
+
850
+ <!--ASSERT -->
851
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:RequestedDeliveryPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:RequestedDeliveryPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R245]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
852
+
853
+ <!--ASSERT -->
854
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:PromisedDeliveryPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:PromisedDeliveryPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R246]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
855
+
856
+ <!--ASSERT -->
857
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:EstimatedDeliveryPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:EstimatedDeliveryPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R247]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
858
+
859
+ <!--ASSERT -->
860
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:DeliveryParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:DeliveryParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R248]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
861
+
862
+ <!--ASSERT -->
863
+ <xsl:choose><xsl:when test="not(cac:Delivery/cac:DeliveryLocation/cac:Despatch)" /><xsl:otherwise><svrl:failed-assert test="not(cac:Delivery/cac:DeliveryLocation/cac:Despatch)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R249]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
864
+
865
+ <!--ASSERT -->
866
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R250]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
867
+
868
+ <!--ASSERT -->
869
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cbc:InstructionID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cbc:InstructionID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R251]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
870
+
871
+ <!--ASSERT -->
872
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cbc:InstructionNote)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cbc:InstructionNote)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R252]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
873
+
874
+ <!--ASSERT -->
875
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:CardAccount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:CardAccount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R253]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
876
+
877
+ <!--ASSERT -->
878
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayerFinancialAccount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayerFinancialAccount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R254]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
879
+
880
+ <!--ASSERT -->
881
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:CreditAccount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:CreditAccount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R255]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
882
+
883
+ <!--ASSERT -->
884
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R256]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
885
+
886
+ <!--ASSERT -->
887
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:AccountTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:AccountTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R257]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
888
+
889
+ <!--ASSERT -->
890
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:CurrencyCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:CurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R258]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
891
+
892
+ <!--ASSERT -->
893
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:Country)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:Country)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R259]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
894
+
895
+ <!--ASSERT -->
896
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R260]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
897
+
898
+ <!--ASSERT -->
899
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:Address)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:Address)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R261]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
900
+
901
+ <!--ASSERT -->
902
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R262]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
903
+
904
+ <!--ASSERT -->
905
+ <xsl:choose><xsl:when test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cac:Address)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cac:Address)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R263]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
906
+
907
+ <!--ASSERT -->
908
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R264]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
909
+
910
+ <!--ASSERT -->
911
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cbc:PaymentMeansID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cbc:PaymentMeansID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R265]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
912
+
913
+ <!--ASSERT -->
914
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cbc:PrepaidPaymentReferenceID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cbc:PrepaidPaymentReferenceID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R266]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
915
+
916
+ <!--ASSERT -->
917
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cbc:ReferenceEventCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cbc:ReferenceEventCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R267]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
918
+
919
+ <!--ASSERT -->
920
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cbc:SettlementDiscountPercent)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cbc:SettlementDiscountPercent)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R268]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
921
+
922
+ <!--ASSERT -->
923
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cbc:PenaltySurchargePercent)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cbc:PenaltySurchargePercent)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R269]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
924
+
925
+ <!--ASSERT -->
926
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cbc:Amount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cbc:Amount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R270]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
927
+
928
+ <!--ASSERT -->
929
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cac:SettlementPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cac:SettlementPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R271]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
930
+
931
+ <!--ASSERT -->
932
+ <xsl:choose><xsl:when test="not(cac:PaymentTerms/cac:PenaltyPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:PaymentTerms/cac:PenaltyPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R272]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
933
+
934
+ <!--ASSERT -->
935
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R273]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
936
+
937
+ <!--ASSERT -->
938
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:AllowanceChargeReasonCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:AllowanceChargeReasonCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R274]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
939
+
940
+ <!--ASSERT -->
941
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:MultiplierFactorNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:MultiplierFactorNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R275]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
942
+
943
+ <!--ASSERT -->
944
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:PrepaidIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:PrepaidIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R276]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
945
+
946
+ <!--ASSERT -->
947
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:SequenceNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:SequenceNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R277]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
948
+
949
+ <!--ASSERT -->
950
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:BaseAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:BaseAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R278]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
951
+
952
+ <!--ASSERT -->
953
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:AccountingCostCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:AccountingCostCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R279]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
954
+
955
+ <!--ASSERT -->
956
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cbc:AccountingCost)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cbc:AccountingCost)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R280]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
957
+
958
+ <!--ASSERT -->
959
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cac:TaxCategory/cbc:Name) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:Percent) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:BaseUnitMeasure) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:PerUnitAmount) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReasonCode) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReason) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TierRange) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TierRatePercent) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:Name) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cac:TaxCategory/cbc:Name) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:Percent) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:BaseUnitMeasure) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:PerUnitAmount) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReasonCode) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReason) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TierRange) or not(cac:AllowanceCharge/cac:TaxCategory/cbc:TierRatePercent) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:Name) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode) or not(cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R281]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
960
+
961
+ <!--ASSERT -->
962
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cac:TaxTotal/cbc:RoundingAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cac:TaxTotal/cbc:RoundingAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R283]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
963
+
964
+ <!--ASSERT -->
965
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cac:TaxTotal/cbc:TaxEvidenceIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cac:TaxTotal/cbc:TaxEvidenceIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R284]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
966
+
967
+ <!--ASSERT -->
968
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cac:TaxTotal/cac:TaxSubtotal)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cac:TaxTotal/cac:TaxSubtotal)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R285]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
969
+
970
+ <!--ASSERT -->
971
+ <xsl:choose><xsl:when test="not(cac:AllowanceCharge/cac:PaymentMeans)" /><xsl:otherwise><svrl:failed-assert test="not(cac:AllowanceCharge/cac:PaymentMeans)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R286]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
972
+
973
+ <!--ASSERT -->
974
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cbc:RoundingAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cbc:RoundingAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R287]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
975
+
976
+ <!--ASSERT -->
977
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cbc:TaxEvidenceIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cbc:TaxEvidenceIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R288]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
978
+
979
+ <!--ASSERT -->
980
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:CalculationSequenceNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:CalculationSequenceNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R289]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
981
+
982
+ <!--ASSERT -->
983
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:TransactionCurrencyTaxAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:TransactionCurrencyTaxAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R290]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
984
+
985
+ <!--ASSERT -->
986
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:Percent)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:Percent)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R291]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
987
+
988
+ <!--ASSERT -->
989
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:BaseUnitMeasure)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:BaseUnitMeasure)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R292]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
990
+
991
+ <!--ASSERT -->
992
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:PerUnitAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:PerUnitAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R293]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
993
+
994
+ <!--ASSERT -->
995
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:TierRange)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:TierRange)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R294]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
996
+
997
+ <!--ASSERT -->
998
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:TierRatePercent)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cbc:TierRatePercent)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R295]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
999
+
1000
+ <!--ASSERT -->
1001
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R296]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1002
+
1003
+ <!--ASSERT -->
1004
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:BaseUnitMeasure)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:BaseUnitMeasure)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R297]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1005
+
1006
+ <!--ASSERT -->
1007
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:PerUnitAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:PerUnitAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R298]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1008
+
1009
+ <!--ASSERT -->
1010
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TierRange)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TierRange)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R299]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1011
+
1012
+ <!--ASSERT -->
1013
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TierRatePercent)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TierRatePercent)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R300]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1014
+
1015
+ <!--ASSERT -->
1016
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R301]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1017
+
1018
+ <!--ASSERT -->
1019
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R302]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1020
+
1021
+ <!--ASSERT -->
1022
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R303]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1023
+
1024
+ <!--ASSERT -->
1025
+ <xsl:choose><xsl:when test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R304]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1026
+
1027
+ <!--ASSERT -->
1028
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cbc:UUID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cbc:UUID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R305]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1029
+
1030
+ <!--ASSERT -->
1031
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cbc:TaxPointDate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cbc:TaxPointDate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R306]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1032
+
1033
+ <!--ASSERT -->
1034
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cbc:AccountingCostCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cbc:AccountingCostCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R307]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1035
+
1036
+ <!--ASSERT -->
1037
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cbc:FreeOfChargeIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cbc:FreeOfChargeIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R308]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1038
+
1039
+ <!--ASSERT -->
1040
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:OrderLineReference/cbc:SalesOrderLineID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:OrderLineReference/cbc:SalesOrderLineID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R309]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1041
+
1042
+ <!--ASSERT -->
1043
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:DespatchLineReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:DespatchLineReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R310]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1044
+
1045
+ <!--ASSERT -->
1046
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:ReceiptLineReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:ReceiptLineReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R311]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1047
+
1048
+ <!--ASSERT -->
1049
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:BillingReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:BillingReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R312]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1050
+
1051
+ <!--ASSERT -->
1052
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:DocumentReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:DocumentReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R313]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1053
+
1054
+ <!--ASSERT -->
1055
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:PricingReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:PricingReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R314]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1056
+
1057
+ <!--ASSERT -->
1058
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:OriginatorParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:OriginatorParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R315]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1059
+
1060
+ <!--ASSERT -->
1061
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Delivery)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Delivery)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R316]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1062
+
1063
+ <!--ASSERT -->
1064
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:PaymentTerms)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:PaymentTerms)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R317]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1065
+
1066
+ <!--ASSERT -->
1067
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R318]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1068
+
1069
+ <!--ASSERT -->
1070
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R319]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1071
+
1072
+ <!--ASSERT -->
1073
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:MultiplierFactorNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:MultiplierFactorNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R320]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1074
+
1075
+ <!--ASSERT -->
1076
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:PrepaidIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:PrepaidIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R321]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1077
+
1078
+ <!--ASSERT -->
1079
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:SequenceNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:SequenceNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R322]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1080
+
1081
+ <!--ASSERT -->
1082
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:BaseAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:BaseAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R323]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1083
+
1084
+ <!--ASSERT -->
1085
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:AccountingCostCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:AccountingCostCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R324]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1086
+
1087
+ <!--ASSERT -->
1088
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:AccountingCost)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cbc:AccountingCost)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R325]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1089
+
1090
+ <!--ASSERT -->
1091
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:Name) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:BaseUnitMeasure) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:PerUnitAmount) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReasonCode) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReason) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRange) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRatePercent) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:Name) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:Name) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:BaseUnitMeasure) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:PerUnitAmount) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReasonCode) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReason) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRange) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRatePercent) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:Name) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode) or not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R326]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1092
+
1093
+ <!--ASSERT -->
1094
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxTotal/cbc:RoundingAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxTotal/cbc:RoundingAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R328]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1095
+
1096
+ <!--ASSERT -->
1097
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxEvidenceIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxEvidenceIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R329]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1098
+
1099
+ <!--ASSERT -->
1100
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxSubtotal)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxSubtotal)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R330]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1101
+
1102
+ <!--ASSERT -->
1103
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:PaymentMeans)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:AllowanceCharge/cac:PaymentMeans)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R331]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1104
+
1105
+ <!--ASSERT -->
1106
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:TaxTotal/cbc:RoundingAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:TaxTotal/cbc:RoundingAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R332]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1107
+
1108
+ <!--ASSERT -->
1109
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:TaxTotal/cbc:TaxEvidenceIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:TaxTotal/cbc:TaxEvidenceIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R333]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1110
+
1111
+ <!--ASSERT -->
1112
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:TaxTotal/cac:TaxSubtotal)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:TaxTotal/cac:TaxSubtotal)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R334]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1113
+
1114
+ <!--ASSERT -->
1115
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:PackQuantity)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:PackQuantity)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R335]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1116
+
1117
+ <!--ASSERT -->
1118
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:PackSizeNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:PackSizeNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R336]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1119
+
1120
+ <!--ASSERT -->
1121
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:CatalogueIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:CatalogueIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R337]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1122
+
1123
+ <!--ASSERT -->
1124
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:HazardousRiskIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:HazardousRiskIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R338]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1125
+
1126
+ <!--ASSERT -->
1127
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:AdditionalInformation)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:AdditionalInformation)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R339]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1128
+
1129
+ <!--ASSERT -->
1130
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:Keyword)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:Keyword)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R340]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1131
+
1132
+ <!--ASSERT -->
1133
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:BrandName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:BrandName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R341]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1134
+
1135
+ <!--ASSERT -->
1136
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cbc:ModelName)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cbc:ModelName)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R342]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1137
+
1138
+ <!--ASSERT -->
1139
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:ExtendedID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:ExtendedID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R343]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1140
+
1141
+ <!--ASSERT -->
1142
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:PhysycalAttribute)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:PhysycalAttribute)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R344]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1143
+
1144
+ <!--ASSERT -->
1145
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:MeasurementDimension)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:MeasurementDimension)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R345]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1146
+
1147
+ <!--ASSERT -->
1148
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:IssuerParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:SellersItemIdentification/cbc:IssuerParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R346]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1149
+
1150
+ <!--ASSERT -->
1151
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:ExtendedID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:ExtendedID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R347]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1152
+
1153
+ <!--ASSERT -->
1154
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:PhysycalAttribute)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:PhysycalAttribute)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R348]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1155
+
1156
+ <!--ASSERT -->
1157
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:MeasurementDimension)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:MeasurementDimension)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R349]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1158
+
1159
+ <!--ASSERT -->
1160
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:IssuerParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:IssuerParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R350]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1161
+
1162
+ <!--ASSERT -->
1163
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:ExtendedID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:ExtendedID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R352]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1164
+
1165
+ <!--ASSERT -->
1166
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:PhysycalAttribute)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:PhysycalAttribute)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R353]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1167
+
1168
+ <!--ASSERT -->
1169
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:MeasurementDimension)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:MeasurementDimension)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R354]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1170
+
1171
+ <!--ASSERT -->
1172
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:IssuerParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:BuyersItemIdentification/cbc:IssuerParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R355]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1173
+
1174
+ <!--ASSERT -->
1175
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:NatureCargo)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:NatureCargo)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R356]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1176
+
1177
+ <!--ASSERT -->
1178
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:CargoTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:CargoTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R357]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1179
+
1180
+ <!--ASSERT -->
1181
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:CommodityCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:CommodityCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R358]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1182
+
1183
+ <!--ASSERT -->
1184
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:ManufacturersItemIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:ManufacturersItemIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R359]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1185
+
1186
+ <!--ASSERT -->
1187
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:CatalogueItemIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:CatalogueItemIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R360]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1188
+
1189
+ <!--ASSERT -->
1190
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:AdditionalItemIdentification)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:AdditionalItemIdentification)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R361]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1191
+
1192
+ <!--ASSERT -->
1193
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:CatalogueDocumentReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:CatalogueDocumentReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R362]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1194
+
1195
+ <!--ASSERT -->
1196
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:ItemSpecificationDocumentReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:ItemSpecificationDocumentReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R363]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1197
+
1198
+ <!--ASSERT -->
1199
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:OriginCountry)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:OriginCountry)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R364]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1200
+
1201
+ <!--ASSERT -->
1202
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TransactionConditions)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TransactionConditions)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R365]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1203
+
1204
+ <!--ASSERT -->
1205
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:HazardousItem)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:HazardousItem)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R366]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1206
+
1207
+ <!--ASSERT -->
1208
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:ManufacturerParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:ManufacturerParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R367]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1209
+
1210
+ <!--ASSERT -->
1211
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:InformationContentProviderParty)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:InformationContentProviderParty)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R368]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1212
+
1213
+ <!--ASSERT -->
1214
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:OriginAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:OriginAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R369]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1215
+
1216
+ <!--ASSERT -->
1217
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:ItemInstance)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:ItemInstance)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R370]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1218
+
1219
+ <!--ASSERT -->
1220
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R371]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1221
+
1222
+ <!--ASSERT -->
1223
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:BaseUnitMeasure)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:BaseUnitMeasure)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R372]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1224
+
1225
+ <!--ASSERT -->
1226
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbcPerUnitAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbcPerUnitAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R373]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1227
+
1228
+ <!--ASSERT -->
1229
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TaxExemptionReasonCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TaxExemptionReasonCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R374]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1230
+
1231
+ <!--ASSERT -->
1232
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TaxExemptionReason)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TaxExemptionReason)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R375]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1233
+
1234
+ <!--ASSERT -->
1235
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TierRange)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TierRange)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R376]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1236
+
1237
+ <!--ASSERT -->
1238
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TierRatePercent)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cbc:TierRatePercent)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R377]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1239
+
1240
+ <!--ASSERT -->
1241
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cbc:Name)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cbc:Name)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R378]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1242
+
1243
+ <!--ASSERT -->
1244
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R379]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1245
+
1246
+ <!--ASSERT -->
1247
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R380]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1248
+
1249
+ <!--ASSERT -->
1250
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionAddress)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R381]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1251
+
1252
+ <!--ASSERT -->
1253
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:AdditionalProperty/cac:UsabilityPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:AdditionalProperty/cac:UsabilityPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R382]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1254
+
1255
+ <!--ASSERT -->
1256
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:AdditionalProperty/cac:ItemPropertyGroup)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Item/cac:TaxCategory/cac:AdditionalProperty/cac:ItemPropertyGroup)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R383]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1257
+
1258
+ <!--ASSERT -->
1259
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cbc:PriceChangeReason)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cbc:PriceChangeReason)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R384]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1260
+
1261
+ <!--ASSERT -->
1262
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cbc:PriceTypeCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cbc:PriceTypeCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R385]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1263
+
1264
+ <!--ASSERT -->
1265
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cbc:PriceType)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cbc:PriceType)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R386]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1266
+
1267
+ <!--ASSERT -->
1268
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cbc:OrderableUnitFactorRate)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cbc:OrderableUnitFactorRate)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R387]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1269
+
1270
+ <!--ASSERT -->
1271
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:ValidityPeriod)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:ValidityPeriod)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R388]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1272
+
1273
+ <!--ASSERT -->
1274
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:PriceList)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:PriceList)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R389]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1275
+
1276
+ <!--ASSERT -->
1277
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:ID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:ID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R390]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1278
+
1279
+ <!--ASSERT -->
1280
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R391]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1281
+
1282
+ <!--ASSERT -->
1283
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:PrepaidIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:PrepaidIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R392]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1284
+
1285
+ <!--ASSERT -->
1286
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:SequenceNumeric)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:SequenceNumeric)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R393]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1287
+
1288
+ <!--ASSERT -->
1289
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:AccountingCostCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:AccountingCostCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R394]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1290
+
1291
+ <!--ASSERT -->
1292
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:AccountingCost)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:AccountingCost)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R395]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1293
+
1294
+ <!--ASSERT -->
1295
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:Name) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:BaseUnitMeasure) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:PerUnitAmount) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReasonCode) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReason) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRange) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRatePercent) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:Name) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress) " /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:Name) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:BaseUnitMeasure) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:PerUnitAmount) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReasonCode) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TaxExemptionReason) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRange) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cbc:TierRatePercent) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:Name) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cbc:CurrencyCode) or not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxCategory/cac:TaxScheme/cac:JurisdictionRegionAddress)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R396]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1296
+
1297
+ <!--ASSERT -->
1298
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxTotal/cbc:RoundingAmount)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxTotal/cbc:RoundingAmount)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R398]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1299
+
1300
+ <!--ASSERT -->
1301
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxEvidenceIndicator)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxEvidenceIndicator)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R399]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1302
+
1303
+ <!--ASSERT -->
1304
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxSubtotal)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:TaxTotal/cbc:TaxSubtotal)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R400]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1305
+
1306
+ <!--ASSERT -->
1307
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:PaymentMeans)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cac:PaymentMeans)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R401]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1308
+
1309
+ <!--ASSERT -->
1310
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:OrderLineReference/cbc:UUID)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:OrderLineReference/cbc:UUID)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R402]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1311
+
1312
+ <!--ASSERT -->
1313
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:OrderLineReference/cbc:LineStatusCode)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:OrderLineReference/cbc:LineStatusCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R403]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1314
+
1315
+ <!--ASSERT -->
1316
+ <xsl:choose><xsl:when test="not(cac:InvoiceLine/cac:OrderLineReference/cac:OrderReference)" /><xsl:otherwise><svrl:failed-assert test="not(cac:InvoiceLine/cac:OrderLineReference/cac:OrderReference)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R404]-A conformant SI-UBL invoice core data model SHOULD not have data elements not in the core.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1317
+
1318
+ <!--RULE -->
1319
+ <xsl:template match="cac:AccountingCustomerParty/cac:Party" priority="1016" mode="M6"><svrl:fired-rule context="cac:AccountingCustomerParty/cac:Party" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1320
+
1321
+ <!--ASSERT -->
1322
+ <xsl:choose><xsl:when test="count(cac:PartyIdentification)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyIdentification)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R405]-Element 'PartyIdentification' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1323
+
1324
+ <!--ASSERT -->
1325
+ <xsl:choose><xsl:when test="count(cac:PartyName)=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyName)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R406]-Element 'PartyName' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1326
+
1327
+ <!--ASSERT -->
1328
+ <xsl:choose><xsl:when test="count(cac:PartyTaxScheme)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyTaxScheme)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R407]-Element 'PartyTaxScheme' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1329
+
1330
+ <!--RULE -->
1331
+ <xsl:template match="cac:AccountingCustomerParty/cac:Party/cac:PostalAddress" priority="1015" mode="M6"><svrl:fired-rule context="cac:AccountingCustomerParty/cac:Party/cac:PostalAddress" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1332
+
1333
+ <!--ASSERT -->
1334
+ <xsl:choose><xsl:when test="(cbc:StreetName and cbc:CityName and cbc:PostalZone and cac:Country/cbc:IdentificationCode)" /><xsl:otherwise><svrl:failed-assert test="(cbc:StreetName and cbc:CityName and cbc:PostalZone and cac:Country/cbc:IdentificationCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R424]-A customer postal address in an invoice SHOULD contain at least, Street name and number, city name, zip code and country code.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1335
+
1336
+ <!--RULE -->
1337
+ <xsl:template match="cac:AccountingSupplierParty/cac:Party" priority="1014" mode="M6"><svrl:fired-rule context="cac:AccountingSupplierParty/cac:Party" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1338
+
1339
+ <!--ASSERT -->
1340
+ <xsl:choose><xsl:when test="count(cac:PartyIdentification)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyIdentification)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R408]-Element 'PartyIdentification' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1341
+
1342
+ <!--ASSERT -->
1343
+ <xsl:choose><xsl:when test="count(cac:PartyName)=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyName)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R409]-Element 'PartyName' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1344
+
1345
+ <!--ASSERT -->
1346
+ <xsl:choose><xsl:when test="count(cac:PostalAddress)=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PostalAddress)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R410]-Element 'PostalAddress' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1347
+
1348
+ <!--ASSERT -->
1349
+ <xsl:choose><xsl:when test="count(cac:PartyTaxScheme)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyTaxScheme)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R411]-Element 'PartyTaxScheme' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1350
+
1351
+ <!--ASSERT -->
1352
+ <xsl:choose><xsl:when test="(cac:PostalAddress/cbc:StreetName and cac:PostalAddress/cbc:CityName and cac:PostalAddress/cbc:PostalZone and cac:PostalAddress/cac:Country/cbc:IdentificationCode)" /><xsl:otherwise><svrl:failed-assert test="(cac:PostalAddress/cbc:StreetName and cac:PostalAddress/cbc:CityName and cac:PostalAddress/cbc:PostalZone and cac:PostalAddress/cac:Country/cbc:IdentificationCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R423]-A supplier postal address in an invoice SHOULD contain at least, Street name and number, city name, zip code and country code.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1353
+
1354
+ <!--RULE -->
1355
+ <xsl:template match="ubl:Invoice/cac:InvoiceLine" priority="1013" mode="M6"><svrl:fired-rule context="ubl:Invoice/cac:InvoiceLine" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1356
+
1357
+ <!--ASSERT -->
1358
+ <xsl:choose><xsl:when test="count(cac:TaxTotal)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:TaxTotal)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R412]-Element 'TaxTotal' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1359
+
1360
+ <!--ASSERT -->
1361
+ <xsl:choose><xsl:when test="count(cac:Price)=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:Price)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R413]-Element 'Price' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1362
+
1363
+ <!--ASSERT -->
1364
+ <xsl:choose><xsl:when test="(cbc:InvoicedQuantity and cbc:InvoicedQuantity/@unitCode)" /><xsl:otherwise><svrl:failed-assert test="(cbc:InvoicedQuantity and cbc:InvoicedQuantity/@unitCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R425]-Each invoice line SHOULD contain the quantity and unit of measure</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1365
+
1366
+ <!--RULE -->
1367
+ <xsl:template match="ubl:Invoice/cac:InvoiceLine/cac:Item" priority="1012" mode="M6"><svrl:fired-rule context="ubl:Invoice/cac:InvoiceLine/cac:Item" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1368
+
1369
+ <!--ASSERT -->
1370
+ <xsl:choose><xsl:when test="count(cbc:Description)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cbc:Description)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R414]-Element 'Description' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1371
+
1372
+ <!--ASSERT -->
1373
+ <xsl:choose><xsl:when test="count(cbc:Name)=1" /><xsl:otherwise><svrl:failed-assert test="count(cbc:Name)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R415]-Element 'Name' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1374
+
1375
+ <!--ASSERT -->
1376
+ <xsl:choose><xsl:when test="count(cac:ClassifiedTaxCategory)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:ClassifiedTaxCategory)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R416]-Element 'ClassifiedTaxCategory' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1377
+
1378
+ <!--RULE -->
1379
+ <xsl:template match="ubl:Invoice/cac:InvoiceLine/cac:Price" priority="1011" mode="M6"><svrl:fired-rule context="ubl:Invoice/cac:InvoiceLine/cac:Price" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1380
+
1381
+ <!--ASSERT -->
1382
+ <xsl:choose><xsl:when test="count(cac:AllowanceCharge)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:AllowanceCharge)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R417]-Element 'AllowanceCharge' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1383
+
1384
+ <!--RULE -->
1385
+ <xsl:template match="ubl:Invoice/cac:LegalMonetaryTotal" priority="1010" mode="M6"><svrl:fired-rule context="ubl:Invoice/cac:LegalMonetaryTotal" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1386
+
1387
+ <!--ASSERT -->
1388
+ <xsl:choose><xsl:when test="count(cbc:TaxExclusiveAmount)=1" /><xsl:otherwise><svrl:failed-assert test="count(cbc:TaxExclusiveAmount)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R418]-Element 'TaxExclusiveAmount' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1389
+
1390
+ <!--ASSERT -->
1391
+ <xsl:choose><xsl:when test="count(cbc:TaxInclusiveAmount)=1" /><xsl:otherwise><svrl:failed-assert test="count(cbc:TaxInclusiveAmount)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R419]-Element 'TaxInclusiveAmount' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1392
+
1393
+ <!--ASSERT -->
1394
+ <xsl:choose><xsl:when test="count(cbc:LineExtensionAmount)=1" /><xsl:otherwise><svrl:failed-assert test="count(cbc:LineExtensionAmount)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R453]-Element 'LineExtensionAmount' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1395
+
1396
+ <!--RULE -->
1397
+ <xsl:template match="ubl:Invoice/cac:PayeeParty" priority="1009" mode="M6"><svrl:fired-rule context="ubl:Invoice/cac:PayeeParty" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1398
+
1399
+ <!--ASSERT -->
1400
+ <xsl:choose><xsl:when test="count(cac:PartyIdentification)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyIdentification)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R420]-Element 'PartyIdentification' may occur at maximum 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose>
1401
+
1402
+ <!--ASSERT -->
1403
+ <xsl:choose><xsl:when test="count(cac:PartyName)&lt;=1" /><xsl:otherwise><svrl:failed-assert test="count(cac:PartyName)&lt;=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R421]-Element 'PartyName' may occur at maximum 1 times</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1404
+
1405
+ <!--RULE -->
1406
+ <xsl:template match="ubl:Invoice/cac:PaymentMeans/cac:PayeeFinancialAccount" priority="1008" mode="M6"><svrl:fired-rule context="ubl:Invoice/cac:PaymentMeans/cac:PayeeFinancialAccount" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1407
+
1408
+ <!--ASSERT -->
1409
+ <xsl:choose><xsl:when test="count(cbc:ID)=1" /><xsl:otherwise><svrl:failed-assert test="count(cbc:ID)=1" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R422]-Element 'ID' must occur exactly 1 times.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1410
+
1411
+ <!--RULE -->
1412
+ <xsl:template match="cac:PaymentMeans" priority="1007" mode="M6"><svrl:fired-rule context="cac:PaymentMeans" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1413
+
1414
+ <!--ASSERT -->
1415
+ <xsl:choose><xsl:when test="((cbc:PaymentMeansCode = '31') and (cac:PayeeFinancialAccount/cbc:ID/@schemeID and cac:PayeeFinancialAccount/cbc:ID/@schemeID = 'IBAN') and (cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID/@schemeID and cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID/@schemeID = 'BIC')) or (cbc:PaymentMeansCode != '31') or ((cbc:PaymentMeansCode = '31') and (not(cac:PayeeFinancialAccount/cbc:ID/@schemeID) or (cac:PayeeFinancialAccount/cbc:ID/@schemeID != 'IBAN')))" /><xsl:otherwise><svrl:failed-assert test="((cbc:PaymentMeansCode = '31') and (cac:PayeeFinancialAccount/cbc:ID/@schemeID and cac:PayeeFinancialAccount/cbc:ID/@schemeID = 'IBAN') and (cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID/@schemeID and cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID/@schemeID = 'BIC')) or (cbc:PaymentMeansCode != '31') or ((cbc:PaymentMeansCode = '31') and (not(cac:PayeeFinancialAccount/cbc:ID/@schemeID) or (cac:PayeeFinancialAccount/cbc:ID/@schemeID != 'IBAN')))" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R426]-If the payment means are international account transfer and the account id is IBAN then the financial institution should be identified by using the BIC id.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1416
+
1417
+ <!--RULE -->
1418
+ <xsl:template match="cac:Delivery/cac:DeliveryLocation/cac:Address" priority="1006" mode="M6"><svrl:fired-rule context="cac:Delivery/cac:DeliveryLocation/cac:Address" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1419
+
1420
+ <!--ASSERT -->
1421
+ <xsl:choose><xsl:when test="(cbc:CityName and cbc:PostalZone and cac:Country/cbc:IdentificationCode)" /><xsl:otherwise><svrl:failed-assert test="(cbc:CityName and cbc:PostalZone and cac:Country/cbc:IdentificationCode)" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R427]-A Delivery address in an invoice SHOULD contain at least, city, zip code and country code.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1422
+
1423
+ <!--RULE -->
1424
+ <xsl:template match="cac:TaxSubtotal" priority="1005" mode="M6"><svrl:fired-rule context="cac:TaxSubtotal" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1425
+
1426
+ <!--ASSERT -->
1427
+ <xsl:choose><xsl:when test="((cac:TaxCategory/cbc:ID = 'E') and (cac:TaxCategory/cbc:TaxExemptionReason or cac:TaxCategory/cbc:TaxExemptionReasonCode)) or (cac:TaxCategory/cbc:ID != 'E')" /><xsl:otherwise><svrl:failed-assert test="((cac:TaxCategory/cbc:ID = 'E') and (cac:TaxCategory/cbc:TaxExemptionReason or cac:TaxCategory/cbc:TaxExemptionReasonCode)) or (cac:TaxCategory/cbc:ID != 'E')" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R431]-If the category for VAT is exempt (E) then an exemption reason SHOULD be provided.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1428
+
1429
+ <!--RULE -->
1430
+ <xsl:template match="cac:FinancialInstitution/cbc:ID//@schemeID" priority="1004" mode="M6"><svrl:fired-rule context="cac:FinancialInstitution/cbc:ID//@schemeID" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1431
+
1432
+ <!--ASSERT -->
1433
+ <xsl:choose><xsl:when test="( ( not(contains(normalize-space(.),' ')) and contains( ' BIC ',concat(' ',normalize-space(.),' ') ) ) )" /><xsl:otherwise><svrl:failed-assert test="( ( not(contains(normalize-space(.),' ')) and contains( ' BIC ',concat(' ',normalize-space(.),' ') ) ) )" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R446]-If FinancialAccountID is IBAN then Financial InstitutionID SHOULD be BIC code.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1434
+
1435
+ <!--RULE -->
1436
+ <xsl:template match="cac:PostalAddress/cbc:ID//@schemeID" priority="1003" mode="M6"><svrl:fired-rule context="cac:PostalAddress/cbc:ID//@schemeID" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1437
+
1438
+ <!--ASSERT -->
1439
+ <xsl:choose><xsl:when test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN ',concat(' ',normalize-space(.),' ') ) ) )" /><xsl:otherwise><svrl:failed-assert test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN ',concat(' ',normalize-space(.),' ') ) ) )" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R447]-Postal address identifiers SHOULD be GLN.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1440
+
1441
+ <!--RULE -->
1442
+ <xsl:template match="cac:Delivery/cac:DeliveryLocation/cbc:ID//@schemeID" priority="1002" mode="M6"><svrl:fired-rule context="cac:Delivery/cac:DeliveryLocation/cbc:ID//@schemeID" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1443
+
1444
+ <!--ASSERT -->
1445
+ <xsl:choose><xsl:when test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN ',concat(' ',normalize-space(.),' ') ) ) )" /><xsl:otherwise><svrl:failed-assert test="( ( not(contains(normalize-space(.),' ')) and contains( ' GLN ',concat(' ',normalize-space(.),' ') ) ) )" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R448]-Location identifiers SHOULD be GLN</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1446
+
1447
+ <!--RULE -->
1448
+ <xsl:template match="cac:Item/cac:StandardItemIdentification/cbc:ID//@schemeID" priority="1001" mode="M6"><svrl:fired-rule context="cac:Item/cac:StandardItemIdentification/cbc:ID//@schemeID" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1449
+
1450
+ <!--ASSERT -->
1451
+ <xsl:choose><xsl:when test="( ( not(contains(normalize-space(.),' ')) and contains( ' GTIN ',concat(' ',normalize-space(.),' ') ) ) )" /><xsl:otherwise><svrl:failed-assert test="( ( not(contains(normalize-space(.),' ')) and contains( ' GTIN ',concat(' ',normalize-space(.),' ') ) ) )" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R449]-Standard item identifiers SHOULD be GTIN.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template>
1452
+
1453
+ <!--RULE -->
1454
+ <xsl:template match="cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode//@listID" priority="1000" mode="M6"><svrl:fired-rule context="cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode//@listID" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron" />
1455
+
1456
+ <!--ASSERT -->
1457
+ <xsl:choose><xsl:when test="( ( not(contains(normalize-space(.),' ')) and contains( ' UNSPSC eCLASS CPV ',concat(' ',normalize-space(.),' ') ) ) )" /><xsl:otherwise><svrl:failed-assert test="( ( not(contains(normalize-space(.),' ')) and contains( ' UNSPSC eCLASS CPV ',concat(' ',normalize-space(.),' ') ) ) )" xmlns:svrl="http://purl.oclc.org/dsdl/svrl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schold="http://www.ascc.net/xml/schematron"><xsl:attribute name="flag">warning</xsl:attribute><xsl:attribute name="location"><xsl:apply-templates select="." mode="schematron-get-full-path" /></xsl:attribute><svrl:text>[SI-UBL-INV-R450]-Commodity classification SHOULD be one of UNSPSC, eClass or CPV.</svrl:text></svrl:failed-assert></xsl:otherwise></xsl:choose><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template><xsl:template match="text()" priority="-1" mode="M6" /><xsl:template match="@*|node()" priority="-2" mode="M6"><xsl:apply-templates select="@*|*|comment()|processing-instruction()" mode="M6" /></xsl:template></xsl:stylesheet>