{"id":5851,"date":"2022-01-29T14:57:48","date_gmt":"2022-01-29T05:57:48","guid":{"rendered":"https:\/\/www.sambuichi.jp\/?p=5851"},"modified":"2022-01-31T12:37:11","modified_gmt":"2022-01-31T03:37:11","slug":"jp-pint%e3%82%b9%e3%82%ad%e3%83%bc%e3%83%9e%e3%83%88%e3%83%ad%e3%83%b3%e7%92%b0%e5%a2%83%e6%a7%8b%e7%af%89","status":"publish","type":"post","link":"https:\/\/www.sambuichi.jp\/?p=5851","title":{"rendered":"JP-PINT0.9\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u74b0\u5883\u69cb\u7bc9\u3068\u30c6\u30b9\u30c8"},"content":{"rendered":"<p>Views: 105<\/p><p>CEF\u306eGitHub\uff08ConnectingEurope\/eInvoicing-EN16931\uff09\u306b\u306f\u3001Helger\u3055\u3093\u305f\u3061\u304c\u958b\u767a\u3055\u308c\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u78ba\u8a8d\u3057\u3066JP-PINT0.9\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3<a href=\"https:\/\/test-docs.peppol.eu\/japan\/master\/billing-1.0\/resources.zip\"><i class=\"fa fa-external-link\" aria-hidden=\"true\"><\/i><\/a>\u3092\u30c6\u30b9\u30c8\u3059\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u305f\u3002<br \/>\n\u30c6\u30b9\u30c8\u306b\u306f\u3001java\u306e\u74b0\u5883\u3068mvn\u306e\u74b0\u5883\u304c\u5fc5\u8981\u3002<\/p>\n<h2>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020<\/h2>\n<p>GiyHub\u4e0a\u306e\u74b0\u5883\u304b\u3089UBL2.1\u306b\u95a2\u9023\u3059\u308b\u7b87\u6240\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u3002<br \/>\nubl\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306bUBL2.1\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u3002<\/p>\n<p>1. examples\u4e0b\u306f\u3001CEN\u306eeInvoice\u30b5\u30f3\u30d7\u30eb\u30d5\u30a1\u30a4\u30eb<\/p>\n<p>2. schema\u4e0b\u306b\u306f\u3001UBL2.1\u306e\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u306e\u5165\u624b\u5148\u60c5\u5831\u3092\u8a18\u3057\u305fREADME.md<\/p>\n<p>3. schematron\u4e0b\u304c\u3001\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u7fa4<br \/>\nEN16931-UBL-validation.sch\u304c\u8d77\u70b9\u3068\u306a\u308b\u3002<br \/>\n3.1 schematron\/abstract\u4e0b\u306b\u306f\u3001\u6b21\u306e\uff12\u7a2e\u985e\u306eabstract\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u3002<br \/>\n\u30fb\u3000EN16931-1\u306e\u30b3\u30a2\u30a4\u30f3\u30dc\u30a4\u30b9\u3092UBL2.1\u306b\u5bfe\u5fdc\u3065\u3051\u308b\u969b\u306b\u5fc5\u8981\u306a\u7e70\u308a\u8fd4\u3057\u56de\u6570\u306e\u5236\u9650\u8ffd\u52a0\u3084\u4f7f\u7528\u7981\u6b62\u8981\u7d20\u306e\u5ba3\u8a00\u306a\u3069\u3092\u542b\u3080 syntax \u30eb\u30fc\u30eb<br \/>\n\u30fb\u3000\u696d\u52d9\u30eb\u30fc\u30eb\u3092\u5b9a\u7fa9\u3059\u308b model\u30eb\u30fc\u30eb<br \/>\n3.2 schematron\/UBL\u4e0b\u306b\u306f\u3001\u4e0a\u8a18\u306eabstract\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u5fdc\u3057\u305f\uff12\u7a2e\u985e\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u3002<br \/>\n3.3 schematron\/codelist\u4e0b\u306b\u306f\u3001\u901a\u8ca8\u30b3\u30fc\u30c9\u3001\u56fd\u30b3\u30fc\u30c9\u3001\u8ab2\u7a0e\u5206\u985e\u30b3\u30fc\u30c9\u3001\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u306a\u3069\u5404\u7a2e\u306e\u30b3\u30fc\u30c9\u30ea\u30b9\u30c8\u306b\u95a2\u3059\u308b\u30eb\u30fc\u30eb\u30d5\u30a1\u30a4\u30eb<br \/>\n3.1\u301c3.3\u306e\u30d5\u30a1\u30a4\u30eb\u3092EN16931-UBL-validation.sch\u306e\u5b9a\u7fa9\u306b\u5f93\u3063\u3066\u5c55\u958b\u3057\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u304c<br \/>\n3.4 schematron\/preprocessed\u4e0b\u306e EN16931-UBL-validation-preprocessed.sch<\/p>\n<p>4. \u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8<br \/>\nEN16931-UBL-validation-preprocessed.sch\u3092XSLT\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db\u3057\u3001\u691c\u8a3c\u5bfe\u8c61\u306eUBL2.1\u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u51e6\u7406\u3059\u308b\u3053\u3068\u3067\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u3067\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u8868\u793a\u3059\u308b\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >.\r\n\u251c\u2500\u2500 LICENSE.txt\r\n\u251c\u2500\u2500 README.md\r\n\u251c\u2500\u2500 ubl\r\n\u2502   \u251c\u2500\u2500 examples\r\n\u2502   \u2502   \u251c\u2500\u2500 FT\\ G2G_TD01\\ con\\ Allegato,\\ Bonifico\\ e\\ Split\\ Payment.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-creditnote1.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example1.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example2.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example3.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example4.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example5.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example6.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example7.xml\r\n\u2502   \u2502   \u251c\u2500\u2500 ubl-tc434-example8.xml\r\n\u2502   \u2502   \u2514\u2500\u2500 ubl-tc434-example9.xml\r\n\u2502   \u251c\u2500\u2500 schema\r\n\u2502   \u2502   \u2514\u2500\u2500 README.md\r\n\u2502   \u251c\u2500\u2500 schematron\r\n\u2502   \u2502   \u251c\u2500\u2500 EN16931-UBL-validation.sch\r\n\u2502   \u2502   \u251c\u2500\u2500 UBL\r\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 EN16931-UBL-model.sch\r\n\u2502   \u2502   \u2502   \u2514\u2500\u2500 EN16931-UBL-syntax.sch\r\n\u2502   \u2502   \u251c\u2500\u2500 abstract\r\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 EN16931-model.sch\r\n\u2502   \u2502   \u2502   \u2514\u2500\u2500 EN16931-syntax.sch\r\n\u2502   \u2502   \u251c\u2500\u2500 codelist\r\n\u2502   \u2502   \u2502   \u2514\u2500\u2500 EN16931-UBL-codes.sch\r\n\u2502   \u2502   \u2514\u2500\u2500 preprocessed\r\n\u2502   \u2502       \u2514\u2500\u2500 EN16931-UBL-validation-preprocessed.sch\r\n\u2502   \u2514\u2500\u2500 xslt\r\n\u2502       \u2514\u2500\u2500 EN16931-UBL-validation.xslt\r\n\u251c\u2500\u2500 update-xslt-and-validate.cmd\r\n\u2514\u2500\u2500 update-xslt-and-validate.sh<\/pre>\n<h2>\u30c6\u30b9\u30c8\u30b9\u30af\u30ea\u30d7\u30c8<\/h2>\n<p>\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8update-xslt-and-validate.sh\u304c\u3001\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u3001\u305d\u308c\u3092\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u306b\u5909\u63db\u3057\u3001\u30c6\u30b9\u30c8\u5bfe\u8c61\u306eUBL2.1\u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u5909\u63db\u3057\u3066\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u306e\u30eb\u30fc\u30eb\u3092\u691c\u8a3c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3002<br \/>\n<code\u3000style=\"background=#ffffff\"><br \/>\n# 1. preprocess first &#8211; catches errors quicker<br \/>\nmvn -f pom-preprocess.xml generate-resources || exit 1<\/p>\n<p># 2. convert to XSLT &#8211; takes forever<br \/>\nmvn -f pom-xslt.xml process-resources || exit 1<\/p>\n<p># 3. Add license headers to all relevant files<br \/>\nmvn -f pom-license.xml license:format || exit 1<\/p>\n<p># 4. validate afterwards<br \/>\nmvn -f pom-validate.xml validate || exit 1<br \/>\n<\/code><\/p>\n<p>1. 3.1\u301c3.3\u306e\u30d5\u30a1\u30a4\u30eb\u3092EN16931-UBL-validation.sch\u306e\u5b9a\u7fa9\u306b\u5f93\u3063\u3066\u5c55\u958b\u3059\u308b\u524d\u51e6\u7406<\/p>\n<p>2. \u524d\u51e6\u7406\u3057\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db\u3059\u308b\u51e6\u7406<\/p>\n<p>3. \u751f\u6210\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u5ba3\u8a00\u3092\u8ffd\u52a0\u3059\u308b\u51e6\u7406<\/p>\n<p>4. \u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u306e\u691c\u8a3c\u7d50\u679c\u3092\u8868\u793a\u3059\u308b\u51e6\u7406<\/p>\n<h2>JP-PINT 0.9\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u63db<\/h2>\n<p>JP-PINT 0.9\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u4e0a\u8a181. preprocess first \u3067\u751f\u6210\u3055\u308c\u305f *-validation-preprocessed.sch\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001\u30b9\u30c6\u30c3\u30d7<br \/>\n\uff12\u304b\u3089\u5b9f\u884c\u3059\u308b\u3002<br \/>\npom-xslt.xml\u4e2d\u306e *-validation-preprocessed.sch\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u6b21\u306e\u7b87\u6240\u3002<br \/>\nubl\/schematron\/preprocessed\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u5bfe\u8c61\u3068\u3057\u3066\u5909\u63db\u3057\u305fxslt\u30d5\u30a1\u30a4\u30eb\u3092ubl\/xslt\u306b\u767b\u9332\u3059\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u305f\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >&lt;execution&gt;\r\n  &lt;id&gt;ubl&lt;\/id&gt;\r\n  &lt;goals&gt;\r\n    &lt;goal&gt;convert&lt;\/goal&gt;\r\n  &lt;\/goals&gt;\r\n  &lt;configuration&gt;\r\n    &lt;schematronDirectory&gt;${basedir}\/ubl\/schematron\/preprocessed&lt;\/schematronDirectory&gt;\r\n    &lt;xsltDirectory&gt;${basedir}\/ubl\/xslt&lt;\/xsltDirectory&gt;\r\n  &lt;\/configuration&gt;\r\n&lt;\/execution&gt;<\/pre>\n<p><code\u3000style=\"background=#ffffff\">mvn -f pom-xslt.xml process-resources<\/code><br \/>\n\u3092\u5b9f\u884c\u3057\u3066xslt\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u304c\u3053\u306e\u51e6\u7406\u304c\u3068\u3066\u3082\u9577\u304f\u304b\u304b\u308b\u3002\u9014\u4e2d\u7d4c\u904e\u306e\u5831\u544a\u3082\u306a\u304f\u753b\u9762\u304c\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u3044\u308b\u306e\u3067\u5fc3\u914d\u306b\u306a\u3063\u3066Ctrl+C\u3067\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u305f\u308a\u3057\u305f\u304c\u3001\u7d42\u308f\u308b\u307e\u3067\u5f85\u3063\u3066\u307f\u3088\u3046\u3068\u653e\u7f6e\u3057\u3066\u304a\u3044\u305f\u3068\u3053\u308d\u6570\u5206\u304b\u304b\u3063\u3066\u6b63\u5e38\u7d42\u4e86\u3057\u305f\u3002<\/p>\n<h2>XSLT\u30d5\u30a1\u30a4\u30eb\u3067\u30eb\u30fc\u30eb\u691c\u8a3c<\/h2>\n<p><code\u3000style=\"background=#ffffff\">mvn -f pom-validate.xml validate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30a8\u30e9\u30fc\u691c\u8a3c\u3059\u308b\u3002<br \/>\npom-validate.xml\u30d5\u30a1\u30a4\u30eb\u3067\u3001\u691c\u8a3c\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u6b21\u306e\u7b87\u6240\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >&lt;execution>\r\n\u3000\u3000\u3000\u3000&lt;id>ubl&lt;\/id>\r\n\u3000\u3000\u3000\u3000&lt;phase>validate&lt;\/phase>\r\n\u3000\u3000\u3000\u3000&lt;goals>\r\n\u3000\u3000\u3000\u3000\u3000\u3000&lt;goal>validate&lt;\/goal>\r\n\u3000\u3000\u3000\u3000&lt;\/goals>\r\n\u3000\u3000\u3000\u3000&lt;configuration>\r\n\u3000\u3000\u3000\u3000\u3000\u3000&lt;xmlDirectory>ubl\/examples&lt;\/xmlDirectory>\r\n\u3000\u3000\u3000\u3000\u3000\u3000&lt;schematronProcessingEngine>XSLT&lt;\/schematronProcessingEngine>\r\n\u3000\u3000\u3000\u3000\u3000\u3000&lt;schematronFile>ubl\/xslt\/EN16931-UBL-validation.xslt&lt;\/schematronFile>\r\n\u3000\u3000\u3000\u3000&lt;\/configuration>\r\n\u3000\u3000&lt;\/execution>\r\n<\/pre>\n<p>xmlDirectory\u306b\u30c6\u30b9\u30c8\u5bfe\u8c61\u306eUBL2.1\u30d5\u30a1\u30a4\u30eb\u306e\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u3001schematronFile\u306b\u691c\u8a3c\u5185\u5bb9\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308bXSLT\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u3002<\/p>\n<h2>\u30c6\u30b9\u30c8\u72b6\u6cc1<\/h2>\n<p>JP-PINT\u304b\u3089\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb<a href=\"https:\/\/test-docs.peppol.eu\/japan\/master\/billing-1.0\/resources.zip\"><i class=\"fa fa-external-link\" aria-hidden=\"true\"><\/i><\/a>\u306b\u306f\u3001BASIC\u30eb\u30fc\u30eb\u306b\u5bfe\u5fdc\u3057\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3002\u691c\u8a3c\u306e\u305f\u3081\u306b\u3001EN 16931\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u306esyntax\u30eb\u30fc\u30eb\u306e\u307f\u3092\u53d6\u308a\u51fa\u3057\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u3068\u3057\u305f\u3002\u5177\u4f53\u7684\u306a\u5185\u5bb9\u306f\u3001\u5f8c\u8ff0\u3059\u308b\u3002<\/p>\n<p>Open Peppol\u306e\u5b9a\u7fa9\u306b\u5f93\u3063\u3066\u3001<a href=\"https:\/\/www.sambuichi.jp\/?p=5618\">EN 16931-1 Annnex A \u96fb\u5b50\u30a4\u30f3\u30dc\u30a4\u30b9\u306e\u4f8b<\/a>\u3067\u7d39\u4ecb\u3057\u305f\u5b9a\u7fa9\u65b9\u6cd5\u3092\u53c2\u8003\u306b\u3057\u3066\u30b5\u30f3\u30d7\u30eb\u3092\u5b9a\u7fa9\u3057\u3001\u305d\u308c\u3092\u5bfe\u8c61\u306b\u30c6\u30b9\u30c8\u3092\u884c\u3063\u305f\u3068\u3053\u308d\u3001\u6b21\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3001Mac\u3067\u52d5\u4f5c\u3059\u308bXML\u30bd\u30d5\u30c8 Oxygen XML Editor\u304b\u3089\u8fd4\u3055\u308c\u305f\u3002<\/p>\n<p><code\u3000style=\"background=#ffffff\"><br \/>\n\u30b7\u30b9\u30c6\u30e0 ID: \/Users\/pontsoleil\/Documents\/GitHub\/EIPA\/pint_ja\/data\/out\/discount.xml<br \/>\n\u30e1\u30a4\u30f3\u306e\u691c\u8a3c\u30d5\u30a1\u30a4\u30eb: \/Users\/pontsoleil\/Documents\/GitHub\/EIPA\/pint_ja\/data\/out\/discount.xml<br \/>\n\u30b9\u30ad\u30fc\u30de: \/Users\/pontsoleil\/Documents\/GitHub\/EIPA\/pint_ja\/data\/billing-1.0-resources-dev 3\/invoice-1.0\/schematron\/PINT-UBL-validation-preprocessed.sch<br \/>\n\u30a8\u30f3\u30b8\u30f3\u540d: ISO Schematron<br \/>\n\u91cd\u8981\u5ea6: error<br \/>\n\u554f\u984c ID: PINT-UBL-validation-preprocessed.sch:ibr-cl-25<br \/>\n\u6982\u8981: [ibr-cl-25]-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list<br \/>\n<\/code><br \/>\n\u3053\u308c\u306f\u3001\u56fd\u7a0e\u5e81\u306e\u767a\u756a\u6a5f\u95a2\u3068\u3057\u3066\u306e\u756a\u53f70188\u304cCEF\u306e\u30b3\u30fc\u30c9\u8868\u306b\u672a\u767b\u9332\u3067\u3042\u308b\u3053\u3068\u304c\u539f\u56e0\u3002Open Peppol\u306b\u306f\u3001\u8ffd\u52a0\u767b\u9332\u3092\u6628\u5e74\u306e\u590f\u6642\u70b9\u3067\u7533\u8acb\u6e08\u307f\u306a\u306e\u3067\u3057\u3070\u3089\u304f\u5f85\u3066\u3070\u5bfe\u5fdc\u3055\u308c\u308b\u3068\u601d\u3046\u3002\u53c2\u8003:\u6cd5\u4eba\u756a\u53f7\u306b\u3064\u3044\u3066(\u56fd\u7a0e\u5e81)<a href=\"https:\/\/www.houjin-bangou.nta.go.jp\/setsumei\/pamphlet\/images\/houjinbangou_gaiyou.pdf\"><i class=\"fa fa-external-link\" aria-hidden=\"true\"><\/i><\/a><\/p>\n<p><code\u3000style=\"background=#ffffff\"><br \/>\n\u30b7\u30b9\u30c6\u30e0 ID: Japan-UBL-validation-preprocessed.sch<br \/>\n\u30e1\u30a4\u30f3\u306e\u691c\u8a3c\u30d5\u30a1\u30a4\u30eb: discount.xml<br \/>\n\u30b9\u30ad\u30fc\u30de: Japan-UBL-validation-preprocessed.sch<br \/>\n\u30a8\u30f3\u30b8\u30f3\u540d: ISO Schematron<br \/>\n\u91cd\u8981\u5ea6: fatal<br \/>\n\u6982\u8981: A sequence of more than one item is not allowed as the first argument of fn:round() (10, 8)<br \/>\n<\/code><\/p>\n<p>\u30a8\u30e9\u30fc\u306e\u5143\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u6b21\u306e\u7b87\u6240\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >\r\n&lt;rule context=\"\/ubl:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = 'JP' ]\">\r\n  &lt;assert id=\"jp-br-co-01\" flag=\"fatal\" test=\"(     round(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent)) != 0      and (     xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxAmount) &gt;= floor(xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxableAmount) * (cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent) div 100)))     and (     xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxAmount) &lt;= ceiling(xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxableAmount) * (cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent) div 100)))     )\">[jp-br-co-01]-Tax category tax amount (ibt-117) = Tax category taxable amount (ibt-116) X Tax category rate (ibt-119) \u00f7 100, rounded to integer. The rounded result amount shall be between the floor and the ceiling.&lt;\/assert>\r\n&lt;\/rule>\r\n<\/pre>\n<p>\u3053\u3061\u3089\u306f\u3001round()\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u30a8\u30e9\u30fc\u3002\u7a0e\u7387\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u306e\u6761\u4ef6\u3067\u3001<br \/>\n<code\u3000style=\"background=#ffffff\">round(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent)) != 0<\/code><br \/>\n\u3068round()\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u304c\u3001\u7a0e\u7387\u3092\u4e38\u3081\u308b\u5fc5\u8981\u306f\u306a\u3044\u306e\u3067\u3001\u95a2\u6570\u3092\u5916\u3057\u305f\u3002<\/p>\n<p><code\u3000style=\"background=#ffffff\"><br \/>\n\u30b7\u30b9\u30c6\u30e0 ID: Japan-UBL-validation-preprocessed.sch<br \/>\n\u30e1\u30a4\u30f3\u306e\u691c\u8a3c\u30d5\u30a1\u30a4\u30eb: discount.xml<br \/>\n\u30b9\u30ad\u30fc\u30de: Japan-UBL-validation-preprocessed.sch<br \/>\n\u30a8\u30f3\u30b8\u30f3\u540d: ISO Schematron<br \/>\n\u91cd\u8981\u5ea6: fatal<br \/>\n\u6982\u8981: A sequence of more than one item is not allowed as the value in &#8216;cast as&#8217; expression (<cbc:TaxAmount>, <cbc:TaxAmount>)<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u306f\u3001xs:decimal(\uff09\u3067\u6570\u5024\u306b\u5909\u63db\u4f7f\u7528\u3068\u3057\u3066\u3044\u308b\u304c\u3001\u5909\u63db\u5bfe\u8c61\u304c\u8907\u6570\u5f15\u6570\u306b\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u30a8\u30e9\u30fc\u3002&lt;context>\u6587\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u304c\u3001\u58f2\u308a\u624b\u306e\u56fd\u30b3\u30fc\u30c9\u304cJP(\u65e5\u672c)\u3067\u3042\u308b\/ubl:Invoice\u306a\u306e\u3067\u3001\u305d\u306e\u4e0b\u306b\u8907\u6570\u306ecbc:TaxAmount\u304c\u3042\u308b\u3053\u3068\u304c\u539f\u56e0\u3002\u305d\u3053\u3067\u3001<br \/>\n<code\u3000style=\"background=#ffffff\">context=&#8221;cac:TaxTotal[cbc:TaxAmount\/@currencyID=..\/cbc:DocumentCurrencyCode]\/cac:TaxSubtotal&#8221;<\/code>\u3068\u305d\u308c\u305e\u308c\u306ecac:TaxSubtotal\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u308b\u7b87\u6240\u306b\u79fb\u52d5\u3057\u305f\u3002<\/p>\n<p><code\u3000style=\"background=#ffffff\"><br \/>\n\u30b7\u30b9\u30c6\u30e0 ID: discount.xml<br \/>\n\u30e1\u30a4\u30f3\u306e\u691c\u8a3c\u30d5\u30a1\u30a4\u30eb: discount.xml<br \/>\n\u30b9\u30ad\u30fc\u30de: Japan-UBL-validation-preprocessed-R1.sch<br \/>\n\u30a8\u30f3\u30b8\u30f3\u540d: ISO Schematron<br \/>\n\u91cd\u8981\u5ea6: error<br \/>\n\u554f\u984c ID: Japan-UBL-validation-preprocessed-R1.sch:jp-br-11<br \/>\n\u6982\u8981: [jp-br-11]-Business process MUST be in the format &#8216;urn:peppol:bis:billing&#8217;.<br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u6761\u4ef6\u306e\u30eb\u30fc\u30eb\u8a18\u8ff0\u304c\u9593\u9055\u3063\u3066\u3044\u3066\u3001JP-PINT 0.9\u306eProfileID\u306f\u3001&#8217;urn:fdc:peppol.eu:2017:poacc:billing:01:1.0&#8217;\u3002<br \/>\n\u307e\u305f\u3001matches\u95a2\u6570\u306e\u6307\u5b9a\u65b9\u6cd5\u3082\u3000<code\u3000style=\"background=#ffffff\">matches(normalize-space(\/*\/cbc:ProfileID), &#8216;urn:peppol:bis:billing&#8217;)<\/code> \u3068\u7b2c\uff12\u5f15\u6570\u306b\u6b63\u898f\u8868\u73fe\u3067\u6b63\u78ba\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u3002<br \/>\n<code\u3000style=\"background=#ffffff\">&lt;pattern id=&#8221;PeppolReused&#8221;><\/code>\u306b\u3042\u308b\u6b21\u306e\u5b9a\u7fa9\u3068\u540c\u69d8\u306e\u6b63\u898f\u8868\u73fe&#8217;urn:fdc:peppol.eu:2017:poacc:billing:([0-9]{2}):1.0&#8217;\u304c\u671b\u307e\u3057\u3044\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >&lt;let name=\"profile\" value=\"\r\nif (\/*\/cbc:ProfileID and \r\n\u3000\u3000matches(normalize-space(\/*\/cbc:ProfileID), 'urn:fdc:peppol.eu:2017:poacc:billing:([0-9]{2}):1.0')) \r\nthen\r\n  tokenize(normalize-space(\/*\/cbc:ProfileID), ':')[7]\u3000\r\nelse\r\n\u3000\u3000'Unknown'\"\/&gt;\r\n<\/pre>\n<h2>BASIC\u30eb\u30fc\u30eb\u306b\u5bfe\u5fdc\u3057\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u88dc\u5b8c<\/h2>\n<p>\u5177\u4f53\u7684\u5185\u5bb9\u306f\u3001\u5f8c\u65e5\u8a18\u8f09\u3002<\/p>\n<h2>\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u6b63\u53ca\u3073\u88dc\u5b8c<\/h2>\n<p>\u3053\u308c\u3089\u306e\u4fee\u6b63\u3092\u304a\u3053\u306a\u3063\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u6b21\u306b\u793a\u3059\u3002<\/p>\n<h3>\u4fee\u6b63\u5f8cJapan\u30eb\u30fc\u30eb<\/h3>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;&lt;schema xmlns=\"http:\/\/purl.oclc.org\/dsdl\/schematron\" queryBinding=\"xslt2\"&gt;\r\n  &lt;xsl:function xmlns:xsl=\"http:\/\/www.w3.org\/1999\/XSL\/Transform\" name=\"u:gln\" as=\"xs:boolean\"&gt;\r\n    &lt;xsl:param name=\"val\"\/&gt;\r\n    &lt;xsl:variable name=\"length\" select=\"string-length($val) - 1\"\/&gt;\r\n    &lt;xsl:variable name=\"digits\" select=\"reverse(for $i in string-to-codepoints(substring($val, 0, $length + 1)) return $i - 48)\"\/&gt;\r\n    &lt;xsl:variable name=\"weightedSum\" select=\"sum(for $i in (0 to $length - 1) return $digits[$i + 1] * (1 + ((($i + 1) mod 2) * 2)))\"\/&gt;\r\n    &lt;xsl:value-of select=\"(10 - ($weightedSum mod 10)) mod 10 = number(substring($val, $length + 1, 1))\"\/&gt;\r\n  &lt;\/xsl:function&gt;\r\n  &lt;ns prefix=\"ext\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2\"\/&gt;\r\n  &lt;ns prefix=\"cbc\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\/&gt;\r\n  &lt;ns prefix=\"cac\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\/&gt;\r\n  &lt;ns prefix=\"qdt\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2\"\/&gt;\r\n  &lt;ns prefix=\"udt\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2\"\/&gt;\r\n  &lt;ns prefix=\"cn\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2\"\/&gt;\r\n  &lt;ns prefix=\"ubl\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\"\/&gt;\r\n  &lt;ns prefix=\"u\" uri=\"utils\"\/&gt;\r\n  &lt;ns prefix=\"xs\" uri=\"http:\/\/www.w3.org\/2001\/XMLSchema\"\/&gt;\r\n  &lt;phase id=\"Japanmodel_phase\"&gt;\r\n    &lt;active pattern=\"UBL-model\"\/&gt;\r\n  &lt;\/phase&gt;\r\n  &lt;phase id=\"codelist_phase\"&gt;\r\n    &lt;active pattern=\"Codesmodel\"\/&gt;\r\n  &lt;\/phase&gt;\r\n  &lt;phase id=\"peppol_phase\"&gt;\r\n    &lt;active pattern=\"PeppolReused\"\/&gt;\r\n  &lt;\/phase&gt;\r\n  &lt;pattern id=\"UBL-model\"&gt;\r\n    &lt;rule context=\"\/ubl:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = 'JP' ]\/cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-br-01\" flag=\"fatal\" test=\"matches(normalize-space(cbc:CompanyID),'^T[0-9]{13}$')\"&gt;[jp-br-01]-From October 1st2023, Seller Tax identifier (ibt-031) shall be coded by using a Registration number for Qualified Invoice in Japan, which consists of 14 digits that starts with T.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:TaxCategory\/cac:TaxScheme\/cbc:ID | cac:ClassifiedTaxCategory\/cac:TaxScheme\/cbc:ID\"&gt;\r\n      &lt;assert id=\"jp-br-03\" flag=\"fatal\" test=\"matches(normalize-space(.),'VAT')\"&gt;[jp-br-03]-Tax scheme (ibt-118-1) shall use VAT from UNECE 5153 code list. VAT means Consumption Tax in Japan.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"ubl:Invoice\/cac:InvoicePeriod\"&gt;\r\n      &lt;assert id=\"jp-br-06\" flag=\"fatal\" test=\"exists(cbc:StartDate) and exists(cbc:EndDate)\"&gt;[jp-br-06]-Invoice period (ibg-14) shall have both Invoice period start date (ibt-073) and Invoice period end date (ibt-074).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:InvoiceLine\/cac:InvoicePeriod\"&gt;\r\n      &lt;assert id=\"jp-br-07\" flag=\"fatal\" test=\"exists(cbc:StartDate) and exists(cbc:EndDate)\"&gt;[jp-br-07]-Invoice line period (ibg-26) shall have both Invoice line period start date (ibt-134) and Invoice line period end date (ibt-135).&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-08\" flag=\"fatal\" test=\"xs:date(cbc:StartDate) &amp;gt;= xs:date(..\/..\/cac:InvoicePeriod\/cbc:StartDate) and xs:date(cbc:EndDate) &amp;lt;= xs:date(..\/..\/cac:InvoicePeriod\/cbc:EndDate)\"&gt;[jp-br-08]-Both start date and end date of line period must be within invoice period.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/ubl:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = 'JP' ]\/cac:InvoiceLine\"&gt;\r\n      &lt;assert id=\"jp-br-09\" flag=\"fatal\" test=\"(\r\n        exists(cac:Price\/cbc:BaseQuantity) and\r\n        (\r\n          (\r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()]) and \r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()]) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount div cac:Price\/cbc:BaseQuantity) + \r\n              cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cbc:Amount - \r\n              cac:AllowanceCharge[cbc:ChargeIndicator=false()]\/cbc:Amount\r\n            )\r\n          ) or (\r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()])) and \r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()]) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount div cac:Price\/cbc:BaseQuantity) + \r\n              cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cbc:Amount\r\n            )\r\n          ) or (\r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()]) and \r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()])) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount div cac:Price\/cbc:BaseQuantity) - \r\n              cac:AllowanceCharge[cbc:ChargeIndicator=false()]\/cbc:Amount\r\n            )\r\n          ) or (\r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()])) and \r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()])) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount div cac:Price\/cbc:BaseQuantity)\r\n            )\r\n          )\r\n        )\r\n      ) or (\r\n        not(exists(cac:Price\/cbc:BaseQuantity)) and\r\n        (\r\n          (\r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()]) and \r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()]) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * cac:Price\/cbc:PriceAmount + \r\n              cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cbc:Amount - \r\n              cac:AllowanceCharge[cbc:ChargeIndicator=false()]\/cbc:Amount \r\n            )\r\n          ) or (\r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()])) and \r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()]) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount  + cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cbc:Amount)\r\n            )\r\n          ) or (\r\n            exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()]) and \r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()])) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount - cac:AllowanceCharge[cbc:ChargeIndicator=false()]\/cbc:Amount)\r\n            )\r\n          ) or (\r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()])) and \r\n            not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()])) and \r\n            (\r\n              cbc:LineExtensionAmount = \r\n              cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount)\r\n            )\r\n          )\r\n        )\r\n      )\"&gt;[jp-br-09]-Invoice line net amount (ibt-131) = Item net price (ibt-146) X Invoiced quantity (ibt-129) \u00f7 Item price base quantity (ibt-149) + Invoice line charge amount (ibt-141) \u2013 Invoice line allowance amount (ibt-136).&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-co-04\" flag=\"fatal\" test=\"(\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/(normalize-space(upper-case(cbc:ID))='VAT')]\/cbc:ID) and (\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/(normalize-space(upper-case(cbc:ID))='VAT')]\/cbc:Percent)\"&gt;[jp-br-co-04]-Invoice line (ibg-25), Invoice line charge (ibg-28) and Invoice line allowance (ibg-27) shall be categorized by both Invoiced item tax category code (ibt-151) and Invoiced item tax rate (ibt-152).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/ubl:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = 'JP' ]\"&gt;\r\n      &lt;assert id=\"jp-br-04\" flag=\"fatal\" test=\"exists(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cbc:CompanyID)\"&gt;[jp-br-04]-An Invoice shall have the Seller tax identifier (ibt-031).&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-05\" flag=\"fatal\" test=\"exists(cac:InvoicePeriod) or exists(cac:InvoiceLine\/cac:InvoicePeriod)\"&gt;[jp-br-05]-An Invoice shall have an Invoice period (ibg-14) or an Invoice line period (ibg-26).&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-10\" flag=\"fatal\" test=\"starts-with(normalize-space(cbc:CustomizationID\/text()), 'urn:peppol:pint:billing-3.0@jp:peppol-1')\"&gt;[jp-br-10]-Specification identifier MUST start with the value 'urn:peppol:pint:billing-3.0@jp:peppol-1'.&lt;\/assert&gt;\r\n      &lt;!-- ProfileID is urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 for JP-PINT 0.9\r\n      &lt;assert id=\"jp-br-11\" flag=\"fatal\" test=\"\/*\/cbc:ProfileID and matches(normalize-space(\/*\/cbc:ProfileID), 'urn:peppol:bis:billing')\"&gt;[jp-br-11]-Business process MUST be in the format 'urn:peppol:bis:billing'.&lt;\/assert&gt;\r\n      --&gt;\r\n      &lt;assert id=\"jp-br-11\" flag=\"fatal\" test=\"\/*\/cbc:ProfileID and matches(normalize-space(\/*\/cbc:ProfileID), '^urn:fdc:peppol.eu:2017:poacc:billing:[0-9]{2}:1.0$')\"&gt;[jp-br-11]-Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing'.&lt;\/assert&gt;\r\n      &lt;!-- Syntax error: A sequence of more than one item is not allowed as the first argument of fn:round() (10, 8)\r\n        moved this assert under context=\"cac:TaxTotal[cbc:TaxAmount\/@currencyID=..\/cbc:DocumentCurrencyCode]\/cac:TaxSubtotal\"\r\n      &lt;assert id=\"jp-br-co-01\" flag=\"fatal\" test=\"(     round(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent)) != 0      and (     xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxAmount) &amp;gt;= floor(xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxableAmount) * (cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent) div 100)))     and (     xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxAmount) &amp;lt;= ceiling(xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxableAmount) * (cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent) div 100)))     )\"&gt;[jp-br-co-01]-Tax category tax amount (ibt-117) = Tax category taxable amount (ibt-116) X Tax category rate (ibt-119) \u00f7 100, rounded to integer. The rounded result amount shall be between the floor and the ceiling.&lt;\/assert&gt;\r\n      --&gt;\r\n      &lt;assert id=\"jp-br-co-03\" flag=\"fatal\" test=\"not(exists(cbc:TaxCurrencyCode)) or cbc:TaxCurrencyCode\/@schemeID = 'JPY'\"&gt;[jp-br-co-03]-If Tax accounting currency (ibt-006) is present, it shall be coded using JPY in ISO code list of 4217 a-3.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/cac:AllowanceCharge[cbc:ChargeIndicator=true()]\"&gt;\r\n      &lt;assert id=\"jp-br-32\" flag=\"fatal\" test=\"exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID) and exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:Percent)\"&gt;[jp-br-32]-Each Document level allowance (ibg-20) shall be categorized by Document level allowance tax category code\uff08ibt-095\uff09and Document level allowance tax rate\uff08ibt-096).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/cac:AllowanceCharge[cbc:ChargeIndicator=false()]\"&gt;\r\n      &lt;assert id=\"jp-br-37\" flag=\"fatal\" test=\"exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID) and exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:Percent)\"&gt;[jp-br-37]-Each Document level charge (ibg-21) shall be categorized by Document level charge tax category code\uff08ibt-102\uff09and Document level charge tax rate (ibt-103).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:TaxTotal[cbc:TaxAmount\/@currencyID=..\/cbc:DocumentCurrencyCode]\/cac:TaxSubtotal\"&gt;\r\n      &lt;assert id=\"jp-br-45\" flag=\"fatal\" test=\"exists(cbc:TaxableAmount)\"&gt;[jp-br-45]-Each Tax breakdown (ibg-23) shall have a Tax category taxable amount (ibt-116).&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-46\" flag=\"fatal\" test=\"exists(cbc:TaxAmount)\"&gt;[jp-br-46]-Each Tax breakdown (ibg-23) shall have a Tax category tax amount (ibt-117).&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-47\" flag=\"fatal\" test=\"exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID) and exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:Percent)\"&gt;[jp-br-47]-Tax breakdown (ibg-23) shall be categorized by Tax category code (ibt-118).&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-48\" flag=\"fatal\" test=\"(exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID) and exists(cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:Percent)) or (cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/normalize-space(cbc:ID)='O')\"&gt;[jp-br-48]-Tax breakdown (ibg-23) shall be categorized by Tax category rate (ibt-119), except if the Invoice is not subject to tax.&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-co-01\" flag=\"fatal\" test=\"(\r\n        cac:TaxCategory\/xs:decimal(cbc:Percent) != 0 and \r\n        (\r\n          xs:decimal(cbc:TaxAmount) &amp;gt;= \r\n          floor(xs:decimal(cbc:TaxableAmount) * (cac:TaxCategory\/xs:decimal(cbc:Percent) div 100))\r\n        ) and (\r\n          xs:decimal(cbc:TaxAmount) &amp;lt;= \r\n          ceiling(xs:decimal(cbc:TaxableAmount) * (cac:TaxCategory\/xs:decimal(cbc:Percent) div 100))\r\n        )\r\n      )\"&gt;[jp-br-co-01]-Tax category tax amount (ibt-117) = Tax category taxable amount (ibt-116) X Tax category rate (ibt-119) \u00f7 100, rounded to integer. The rounded result amount shall be between the floor and the ceiling.&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-br-co-05\" flag=\"fatal\" test=\"every $category in cac:TaxCategory\/cbc:ID satisfies (\r\n        (\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=true()][cac:TaxCategory\/cbc:ID = $category]) &amp;gt; 0 and\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=false()][cac:TaxCategory\/cbc:ID = $category]) &amp;gt; 0 and\r\n          (\r\n            cbc:TaxableAmount = \r\n            sum(\/\/cbc:LineExtensionAmount[..\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:ID = $category]) +\r\n            sum(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=true()][cac:TaxCategory\/cbc:ID = $category]\/cbc:Amount) -\r\n            sum(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=false()][cac:TaxCategory\/cbc:ID = $category]\/cbc:Amount)\r\n          )\r\n        ) or (\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=true()][cac:TaxCategory\/cbc:ID = $category]) &amp;gt; 0 and\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=false()][cac:TaxCategory\/cbc:ID = $category]) = 0 and\r\n          (\r\n            cbc:TaxableAmount =\r\n            sum(\/\/cbc:LineExtensionAmount[..\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:ID = $category]) +\r\n            sum(\/\/cac:AllowanceCharge[cbc:ChargeIndicator=true()][cac:TaxCategory\/cbc:ID = $category]\/cbc:Amount)\r\n          )\r\n        ) or (\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=true()][cac:TaxCategory\/cbc:ID = $category]) = 0 and\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=false()][cac:TaxCategory\/cbc:ID = $category]) &amp;gt; 0 and\r\n          (\r\n            cbc:TaxableAmount =\r\n            sum(\/\/cbc:LineExtensionAmount[..\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:ID = $category]) -\r\n            sum(\/\/cac:AllowanceCharge[cbc:ChargeIndicator=false()][cac:TaxCategory\/cbc:ID = $category]\/cbc:Amount)\r\n          )\r\n        ) or (\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=true()][cac:TaxCategory\/cbc:ID = $category]) = 0 and\r\n          count(..\/..\/cac:AllowanceCharge[cbc:ChargeIndicator=false()][cac:TaxCategory\/cbc:ID = $category]) = 0 and\r\n          (\r\n            cbc:TaxableAmount =\r\n            sum(\/\/cbc:LineExtensionAmount[..\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:ID = $category])\r\n          )\r\n        )\r\n      )\"&gt;[jp-br-co-05]-Tax category taxable amount (ibt-116) = \u03a3 Invoice line net amount (ibt-131) \u2013 Document level allowance amount (ibt-092) + Document level charge amount (ibt-099).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/*\/cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory[normalize-space(cbc:ID) = 'G'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-e-01\" flag=\"fatal\" test=\"((exists(\/\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'E']) or exists(\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'E'])) and (count(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'E']) = 1)) or (not(\/\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'E']) and not(\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'E']))\"&gt;[jp-e-01]-An Invoice that contains an Invoice line (ibg-25), a Document level allowance (ibg-20) or a Document level charge (ibg-21) where the Tax category code (ibt-151, ibt-095, ibt-102) is \u201cE (Exempt from tax)\u201d shall contain exactly one Tax breakdown (ibg-23) with Tax category code (ibt-118) equal to \u201cE\u201d.&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-e-09\" flag=\"fatal\" test=\"(xs:decimal(..\/cbc:TaxAmount) = 0)\"&gt;[jp-e-09]-Tax category tax amount (ibt-117) shall be 0 (zero) if Tax category code (ibt-118) equals to E (Exempt from tax).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:InvoiceLine\/cac:Item\/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'E'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT'] | cac:CreditNoteLine\/cac:Item\/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'E'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-e-05\" flag=\"fatal\" test=\"(xs:decimal(cbc:Percent) = 0)\"&gt;[jp-e-05]-In an Invoice line (ibg-25) where the Invoiced item tax category code (ibt-151) is Exempt from tax, the Invoiced item tax rate (ibt-152) shall be 0 (zero).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator=false()]\/cac:TaxCategory[normalize-space(cbc:ID)='E'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-e-06\" flag=\"fatal\" test=\"(xs:decimal(cbc:Percent) = 0)\"&gt;[jp-e-06]-In a Document level allowance (ibg-20) where the Document level allowance tax category code (ibt-95) is Exempt from tax, the Document level allowance tax rate (ibt-96) shall be 0 (zero).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cac:TaxCategory[normalize-space(cbc:ID)='E'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-e-07\" flag=\"fatal\" test=\"(xs:decimal(cbc:Percent) = 0)\"&gt;[jp-e-07]-In a Document level charge (ibg-21) where the Document level charge tax category code (ibt-102) is Exempt from tax, the Document level charge tax rate (ibt-103) shall be 0 (zero).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/*\/cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory[normalize-space(cbc:ID) = 'G'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-g-01\" flag=\"fatal\" test=\"((exists(\/\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'G']) or exists(\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'G'])) and (count(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'G']) = 1)) or (not(\/\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'G']) and not(\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'G']))\"&gt;[jp-g-01]-An Invoice that contains an Invoice line (ibg-25), a Document level allowance (ibg-20) or a Document level charge (ibg-21)  where the Tax category code (ibt-151) is \u201cG (Free export item, tax not charged)\u201d shall contain exactly one Tax breakdown (ibg-23) with Tax category code (ibt-118) equals to \u201cG\u201d.&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-g-09\" flag=\"fatal\" test=\"(xs:decimal(..\/cbc:TaxAmount) = 0)\"&gt;[jp-g-09]-Tax category tax amount (ibt-117) shall be 0 (zero) if Tax category code (ibt-118) equals to \u201cG (Free export item, tax not charged)\u201d. &lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:InvoiceLine\/cac:Item\/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'G'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT'] | cac:CreditNoteLine\/cac:Item\/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'G'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-g-05\" flag=\"fatal\" test=\"(xs:decimal(cbc:Percent) = 0)\"&gt;[jp-g-05]-In an Invoice line (ibg-25) where the invoiced Item tax category code (ibt-151) is \u201cG (Free export item, tax not charged)\u201d the invoiced Item tax rate (ibt-152) shall be 0 (zero).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator=false()]\/cac:TaxCategory[normalize-space(cbc:ID)='G'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-g-06\" flag=\"fatal\" test=\"(xs:decimal(cbc:Percent) = 0)\"&gt;[jp-g-06]-In a Document level allowance (ibg-20) where the Document level allowance tax category code (ibt-95) is \u201cG (Free export item, tax not charged)\u201d the Document level allowance tax rate (ibt-96) shall be 0 (zero).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cac:TaxCategory[normalize-space(cbc:ID)='G'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-g-07\" flag=\"fatal\" test=\"(xs:decimal(cbc:Percent) = 0)\"&gt;[jp-g-07]-In a Document level charge (ibg-21) where the Document level charge tax category code (ibt-102) is \u201cG (Free export item, tax not charged)\u201d the Document level charge tax rate (ibt-103) shall be 0 (zero).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/*\/cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory[normalize-space(cbc:ID) = 'O'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-o-01\" flag=\"fatal\" test=\"((exists(\/\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'O']) or exists(\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'O'])) and (count(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'O']) = 1)) or (not(\/\/cac:TaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'O']) and not(\/\/cac:ClassifiedTaxCategory[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\/cbc:ID[normalize-space(.) = 'O']))\"&gt;[jp-o-01]-An Invoice that contains an Invoice line (ibg-25), a Document level allowance (ibg-20) or a Document level charge (ibg-21) where the Tax category code (ibt-151, ibt-095, ibt-102) is \u201cO (Outside of scope of tax)\u201d shall contain exactly one Tax breakdown (ibg-23) with Tax category code(ibt-118) equal to \u201cO\u201d.&lt;\/assert&gt;\r\n      &lt;assert id=\"jp-o-09\" flag=\"fatal\" test=\"(xs:decimal(..\/cbc:TaxAmount) = 0)\"&gt;[jp-o-09]-Tax category tax amount (ibt-117) shall be 0 (zero) if Tax category code (ibt-118) equals to \u201cO (Outside of scope of tax)\u201d.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:InvoiceLine\/cac:Item\/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'O'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT'] | cac:CreditNoteLine\/cac:Item\/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'O'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-o-05\" flag=\"fatal\" test=\"(not(cbc:Percent))\"&gt;[jp-o-05]-In an Invoice line (ibg-25) where the Tax category code (ibt-151) is \"O (Outside of scope of tax)\" shall not contain an Invoiced item tax rate (ibt-152).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator=false()]\/cac:TaxCategory[normalize-space(cbc:ID)='O'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-o-06\" flag=\"fatal\" test=\"(not(cbc:Percent))\"&gt;[jp-o-06]-In a Document level allowance (ibg-20) where Tax category code (ibt-95) is \"O (Outside of scope of tax)\" shall not contain a Document level allowance tax rate (ibt-96).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cac:TaxCategory[normalize-space(cbc:ID)='O'][cac:TaxScheme\/normalize-space(upper-case(cbc:ID))='VAT']\"&gt;\r\n      &lt;assert id=\"jp-o-07\" flag=\"fatal\" test=\"(not(cbc:Percent))\"&gt;[jp-o-07]-In a Document level charge (ibg-21) where the Tax category code (ibt-102) is \"O (Outside of scope of tax)\" shall not contain a Document level charge tax rate (ibt-103).&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n  &lt;\/pattern&gt;\r\n  &lt;pattern id=\"Codesmodel\"&gt;\r\n    &lt;rule flag=\"fatal\" context=\"cbc:InvoiceTypeCode | cbc:CreditNoteTypeCode\"&gt;\r\n      &lt;assert id=\"jp-cl-01\" flag=\"fatal\" test=\"(self::cbc:InvoiceTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 80 82 84 380 383 386 393 395 575 623 780 ', concat(' ', normalize-space(.), ' '))))) or (self::cbc:CreditNoteTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 81 83 381 396 532 ', concat(' ', normalize-space(.), ' ')))))\"&gt;[jp-cl-01]-The document type code MUST be coded by the Japanese invoice related code lists of UNTDID 1001.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule flag=\"fatal\" context=\"cac:TaxCategory\/cbc:ID | cac:ClassifiedTaxCategory\/cbc:ID\"&gt;\r\n      &lt;assert id=\"jp-cl-03\" flag=\"fatal\" test=\"( ( not(contains(normalize-space(.),' ')) and contains( ' AA S Z G O E ',concat(' ',normalize-space(.),' ') ) ) )\"&gt;[jp-cl-03]- Japanese invoice tax categories MUST be coded using UNCL5305 code list&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n  &lt;\/pattern&gt;\r\n  &lt;pattern id=\"PeppolReused\"&gt;\r\n    &lt;let name=\"MIMECODE\" value=\"tokenize('application\/pdf image\/png image\/jpeg text\/csv application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet application\/vnd.oasis.opendocument.spreadsheet', '\\s')\"\/&gt;\r\n    &lt;let name=\"UNCL2005\" value=\"tokenize('3 35 432', '\\s')\"\/&gt;\r\n    &lt;let name=\"UNCL5189\" value=\"tokenize('41 42 60 62 63 64 65 66 67 68 70 71 88 95 100 102 103 104 105', '\\s')\"\/&gt;\r\n    &lt;let name=\"eaid\" value=\"tokenize('0188 0002 0007 0009 0037 0060 0088 0096 0097 0106 0130 0135 0142 0151 0183 0184 0190 0191 0192 0193 0195 0196 0198 0199 0200 0201 0202 0204 0208 0209 0210 0211 0212 0213 9901 9906 9907 9910 9913 9914 9915 9918 9919 9920 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9955 9957', '\\s')\"\/&gt;\r\n    &lt;let name=\"profile\" value=\"if (\/*\/cbc:ProfileID and matches(normalize-space(\/*\/cbc:ProfileID), 'urn:fdc:peppol.eu:2017:poacc:billing:([0-9]{2}):1.0')) then         tokenize(normalize-space(\/*\/cbc:ProfileID), ':')[7]         else         'Unknown'\"\/&gt;\r\n    &lt;rule context=\"ubl:Invoice\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R001\" flag=\"fatal\" test=\"cbc:ProfileID\"&gt;Business process MUST be provided.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cbc:TaxCurrencyCode\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R005\" flag=\"fatal\" test=\"not(normalize-space(text()) = normalize-space(..\/cbc:DocumentCurrencyCode\/text()))\"&gt;Tax accounting currency code MUST be different from invoice currency code\r\n            when provided.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cbc:IssueDate | cbc:DueDate | cbc:TaxPointDate | cbc:StartDate | cbc:EndDate | cbc:ActualDeliveryDate\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-F001\" flag=\"fatal\" test=\"string-length(text()) = 10 and (string(.) castable as xs:date)\"&gt;A\r\n            date MUST be formatted YYYY-MM-DD.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:Price\/cac:AllowanceCharge\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R044\" flag=\"fatal\" test=\"normalize-space(cbc:ChargeIndicator) = 'false'\"&gt;Charge on price level is NOT allowed. Only value 'false' allowed.&lt;\/assert&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R046\" flag=\"fatal\" test=\"not(cbc:BaseAmount) or xs:decimal(..\/cbc:PriceAmount) = xs:decimal(cbc:BaseAmount) - xs:decimal(cbc:Amount)\"&gt;Item net price MUST equal (Gross price - item price discount) when gross\r\n            price is provided.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cbc:EndpointID[@schemeID = '0088'] | cac:PartyIdentification\/cbc:ID[@schemeID = '0088'] | cbc:CompanyID[@schemeID = '0088']\"&gt;\r\n      &lt;assert id=\"PEPPOL-COMMON-R040\" flag=\"fatal\" test=\"matches(normalize-space(), '^[0-9]+$') and u:gln(normalize-space())\"&gt;GLN must have a valid format according to GS1 rules.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cbc:EmbeddedDocumentBinaryObject[@mimeCode]\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-CL001\" flag=\"fatal\" test=\"some $code in $MIMECODE                     satisfies @mimeCode = $code\"&gt;Mime code must be according to\r\n            subset of IANA code list.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator = 'false']\/cbc:AllowanceChargeReasonCode\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-CL002\" flag=\"fatal\" test=\"some $code in $UNCL5189                     satisfies normalize-space(text()) = $code\"&gt;Reason code MUST\r\n            be according to subset of UNCL 5189 D.16B.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:InvoicePeriod\/cbc:DescriptionCode\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-CL006\" flag=\"fatal\" test=\"some $code in $UNCL2005                     satisfies normalize-space(text()) = $code\"&gt;Invoice period\r\n            description code must be according to UNCL 2005 D.16B.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cbc:EndpointID[@schemeID]\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-CL008\" flag=\"fatal\" test=\"some $code in $eaid                     satisfies @schemeID = $code\"&gt;Electronic address identifier scheme must be from the codelist \"Electronic Address Identifier Scheme\"&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cbc:InvoiceTypeCode\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-P0100\" flag=\"fatal\" test=\"$profile != '01' or (some $code in tokenize('380 383 386 393 82 80 84 395 575 623 780', '\\s')                     satisfies normalize-space(text()) = $code)\"&gt;Invoice type\r\n            code MUST be set according to the profile.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cbc:CreditNoteTypeCode\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-P0101\" flag=\"fatal\" test=\"$profile != '01' or (some $code in tokenize('381 396 81 83 532', '\\s')                     satisfies normalize-space(text()) = $code)\"&gt;Credit note\r\n            type code MUST be set according to the profile.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AccountingCustomerParty\/cac:Party\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R010\" flag=\"fatal\" test=\"cbc:EndpointID\"&gt;Buyer electronic address MUST be provided&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:InvoiceLine | cac:CreditNoteLine\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R121\" flag=\"fatal\" test=\"not(cac:Price\/cbc:BaseQuantity) or xs:decimal(cac:Price\/cbc:BaseQuantity) &amp;gt; 0\"&gt;Base quantity MUST be a positive number above zero.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AccountingSupplierParty\/cac:Party\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R020\" flag=\"fatal\" test=\"cbc:EndpointID\"&gt;Seller electronic\r\n            address MUST be provided&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"ubl:Invoice\/cac:AllowanceCharge | ubl:Invoice\/cac:InvoiceLine\/cac:AllowanceCharge | cn:CreditNote\/cac:AllowanceCharge | cn:CreditNote\/cac:CreditNoteLine\/cac:AllowanceCharge\"&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R043\" flag=\"fatal\" test=\"normalize-space(cbc:ChargeIndicator\/text()) = 'true' or normalize-space(cbc:ChargeIndicator\/text()) = 'false'\"&gt;Allowance\/charge ChargeIndicator value MUST equal 'true' or\r\n            'false'&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n  &lt;\/pattern&gt;\r\n&lt;\/schema&gt;<\/pre>\n<h3>BASIC\u30eb\u30fc\u30eb<\/h3>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >&lt;schema xmlns=\"http:\/\/purl.oclc.org\/dsdl\/schematron\" queryBinding=\"xslt2\"&gt;\r\n  &lt;ns prefix=\"ext\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2\" \/&gt;\r\n  &lt;ns prefix=\"cbc\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\" \/&gt;\r\n  &lt;ns prefix=\"cac\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" \/&gt;\r\n  &lt;ns prefix=\"qdt\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2\" \/&gt;\r\n  &lt;ns prefix=\"udt\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2\" \/&gt;\r\n  &lt;ns prefix=\"cn\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2\" \/&gt;\r\n  &lt;ns prefix=\"ubl\" uri=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" \/&gt;\r\n  &lt;ns prefix=\"xs\" uri=\"http:\/\/www.w3.org\/2001\/XMLSchema\" \/&gt;\r\n  &lt;phase id=\"EN16931model_phase\"&gt;\r\n    &lt;active pattern=\"UBL-syntax\" \/&gt;\r\n  &lt;\/phase&gt;\r\n  &lt;pattern id=\"UBL-syntax\"&gt;\r\n    &lt;rule context=\"cac:AccountingSupplierParty\/cac:Party\"&gt;\r\n      &lt;assert id=\"UBL-SR-42\" flag=\"warning\" test=\"(count(cac:PartyTaxScheme) &amp;lt;= 2)\"&gt;[UBL-SR-42]-Party tax scheme shall occur maximum twice in accounting supplier party&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AdditionalDocumentReference\"&gt;\r\n      &lt;assert id=\"UBL-SR-33\" flag=\"warning\" test=\"(count(cbc:DocumentDescription) &amp;lt;= 1)\"&gt;[UBL-SR-33]-Supporting document description shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-43\" flag=\"warning\" test=\"((cbc:DocumentTypeCode='130') or ((name(\/*) = 'CreditNote') and (cbc:DocumentTypeCode='50')) or (not(cbc:ID\/@scheme) and not(cbc:DocumentTypeCode)))\"&gt;[UBL-SR-43]-Scheme identifier shall only be used for invoiced object (document type code with value 130)&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/\/*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price\/cac:AllowanceCharge)]\"&gt;\r\n      &lt;assert id=\"UBL-DT-01\" flag=\"fatal\" test=\"string-length(substring-after(.,'.'))&amp;lt;=2\"&gt;[UBL-DT-01]-Amounts shall be decimal up to two fraction digits&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/\/*[ends-with(name(), 'BinaryObject')]\"&gt;\r\n      &lt;assert id=\"UBL-DT-06\" flag=\"fatal\" test=\"(@mimeCode)\"&gt;[UBL-DT-06]-Binary object elements shall contain the mime code attribute&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-07\" flag=\"fatal\" test=\"(@filename)\"&gt;[UBL-DT-07]-Binary object elements shall contain the file name attribute&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:Delivery\"&gt;\r\n      &lt;assert id=\"UBL-SR-25\" flag=\"warning\" test=\"(count(cac:DeliveryParty\/cac:PartyName\/cbc:Name) &amp;lt;= 1)\"&gt;[UBL-SR-25]-Deliver to party name shall occur maximum once&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator = false()]\"&gt;\r\n      &lt;assert id=\"UBL-SR-30\" flag=\"warning\" test=\"(count(cbc:AllowanceChargeReason) &amp;lt;= 1)\"&gt;[UBL-SR-30]-Document level allowance reason shall occur maximum once&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:AllowanceCharge[cbc:ChargeIndicator = true()]\"&gt;\r\n      &lt;assert id=\"UBL-SR-31\" flag=\"warning\" test=\"(count(cbc:AllowanceChargeReason) &amp;lt;= 1)\"&gt;[UBL-SR-31]-Document level charge reason shall occur maximum once&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"\/ubl:Invoice | \/cn:CreditNote\"&gt;\r\n      &lt;assert id=\"UBL-CR-001\" flag=\"warning\" test=\"not(ext:UBLExtensions)\"&gt;[UBL-CR-001]-A UBL invoice should not include extensions&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-002\" flag=\"warning\" test=\"not(cbc:UBLVersionID) or cbc:UBLVersionID = '2.1'\"&gt;[UBL-CR-002]-A UBL invoice should not include the UBLVersionID or it should be 2.1&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-003\" flag=\"warning\" test=\"not(cbc:ProfileExecutionID)\"&gt;[UBL-CR-003]-A UBL invoice should not include the ProfileExecutionID &lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-004\" flag=\"warning\" test=\"not(cbc:CopyIndicator)\"&gt;[UBL-CR-004]-A UBL invoice should not include the CopyIndicator &lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-005\" flag=\"warning\" test=\"not(cbc:UUID)\"&gt;[UBL-CR-005]-A UBL invoice should not include the UUID &lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-006\" flag=\"warning\" test=\"not(cbc:IssueTime)\"&gt;[UBL-CR-006]-A UBL invoice should not include the IssueTime &lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-007\" flag=\"warning\" test=\"not(cbc:PricingCurrencyCode)\"&gt;[UBL-CR-007]-A UBL invoice should not include the PricingCurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-008\" flag=\"warning\" test=\"not(cbc:PaymentCurrencyCode)\"&gt;[UBL-CR-008]-A UBL invoice should not include the PaymentCurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-009\" flag=\"warning\" test=\"not(cbc:PaymentAlternativeCurrencyCode)\"&gt;[UBL-CR-009]-A UBL invoice should not include the PaymentAlternativeCurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-010\" flag=\"warning\" test=\"not(cbc:AccountingCostCode)\"&gt;[UBL-CR-010]-A UBL invoice should not include the AccountingCostCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-011\" flag=\"warning\" test=\"not(cbc:LineCountNumeric)\"&gt;[UBL-CR-011]-A UBL invoice should not include the LineCountNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-012\" flag=\"warning\" test=\"not(cac:InvoicePeriod\/cbc:StartTime)\"&gt;[UBL-CR-012]-A UBL invoice should not include the InvoicePeriod StartTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-013\" flag=\"warning\" test=\"not(cac:InvoicePeriod\/cbc:EndTime)\"&gt;[UBL-CR-013]-A UBL invoice should not include the InvoicePeriod EndTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-014\" flag=\"warning\" test=\"not(cac:InvoicePeriod\/cbc:DurationMeasure)\"&gt;[UBL-CR-014]-A UBL invoice should not include the InvoicePeriod DurationMeasure&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-015\" flag=\"warning\" test=\"not(cac:InvoicePeriod\/cbc:Description)\"&gt;[UBL-CR-015]-A UBL invoice should not include the InvoicePeriod Description&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-016\" flag=\"warning\" test=\"not(cac:OrderReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-016]-A UBL invoice should not include the OrderReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-017\" flag=\"warning\" test=\"not(cac:OrderReference\/cbc:UUID)\"&gt;[UBL-CR-017]-A UBL invoice should not include the OrderReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-018\" flag=\"warning\" test=\"not(cac:OrderReference\/cbc:IssueDate)\"&gt;[UBL-CR-018]-A UBL invoice should not include the OrderReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-019\" flag=\"warning\" test=\"not(cac:OrderReference\/cbc:IssueTime)\"&gt;[UBL-CR-019]-A UBL invoice should not include the OrderReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-020\" flag=\"warning\" test=\"not(cac:OrderReference\/cbc:CustomerReference)\"&gt;[UBL-CR-020]-A UBL invoice should not include the OrderReference CustomerReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-021\" flag=\"warning\" test=\"not(cac:OrderReference\/cbc:OrderTypeCode)\"&gt;[UBL-CR-021]-A UBL invoice should not include the OrderReference OrderTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-022\" flag=\"warning\" test=\"not(cac:OrderReference\/cbc:DocumentReference)\"&gt;[UBL-CR-022]-A UBL invoice should not include the OrderReference DocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-023\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-023]-A UBL invoice should not include the BillingReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-024\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:UUID)\"&gt;[UBL-CR-024]-A UBL invoice should not include the BillingReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-025\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:IssueTime)\"&gt;[UBL-CR-025]-A UBL invoice should not include the BillingReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-026\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:DocumentTypeCode)\"&gt;[UBL-CR-026]-A UBL invoice should not include the BillingReference DocumentTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-027\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:DocumentType)\"&gt;[UBL-CR-027]-A UBL invoice should not include the BillingReference DocumentType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-028\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:Xpath)\"&gt;[UBL-CR-028]-A UBL invoice should not include the BillingReference Xpath&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-029\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:LanguageID)\"&gt;[UBL-CR-029]-A UBL invoice should not include the BillingReference LanguageID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-030\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:LocaleCode)\"&gt;[UBL-CR-030]-A UBL invoice should not include the BillingReference LocaleCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-031\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:VersionID)\"&gt;[UBL-CR-031]-A UBL invoice should not include the BillingReference VersionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-032\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:DocumentStatusCode)\"&gt;[UBL-CR-032]-A UBL invoice should not include the BillingReference DocumentStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-033\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cbc:DocumentDescription)\"&gt;[UBL-CR-033]-A UBL invoice should not include the BillingReference DocumenDescription&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-034\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cac:Attachment)\"&gt;[UBL-CR-034]-A UBL invoice should not include the BillingReference Attachment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-035\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cac:ValidityPeriod)\"&gt;[UBL-CR-035]-A UBL invoice should not include the BillingReference ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-036\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cac:IssuerParty)\"&gt;[UBL-CR-036]-A UBL invoice should not include the BillingReference IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-037\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:InvoiceDocumentReference\/cac:ResultOfVerification)\"&gt;[UBL-CR-037]-A UBL invoice should not include the BillingReference ResultOfVerification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-038\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:SelfBilledInvoiceDocumentReference)\"&gt;[UBL-CR-038]-A UBL invoice should not include the BillingReference SelfBilledInvoiceDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-039\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:CreditNoteDocumentReference)\"&gt;[UBL-CR-039]-A UBL invoice should not include the BillingReference CreditNoteDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-040\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:SelfBilledCreditNoteDocumentReference)\"&gt;[UBL-CR-040]-A UBL invoice should not include the BillingReference SelfBilledCreditNoteDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-041\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:DebitNoteDocumentReference)\"&gt;[UBL-CR-041]-A UBL invoice should not include the BillingReference DebitNoteDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-042\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:ReminderDocumentReference)\"&gt;[UBL-CR-042]-A UBL invoice should not include the BillingReference ReminderDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-043\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:AdditionalDocumentReference)\"&gt;[UBL-CR-043]-A UBL invoice should not include the BillingReference AdditionalDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-044\" flag=\"warning\" test=\"not(cac:BillingReference\/cac:BillingReferenceLine)\"&gt;[UBL-CR-044]-A UBL invoice should not include the BillingReference BillingReferenceLine&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-045\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-045]-A UBL invoice should not include the DespatchDocumentReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-046\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:UUID)\"&gt;[UBL-CR-046]-A UBL invoice should not include the DespatchDocumentReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-047\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:IssueDate)\"&gt;[UBL-CR-047]-A UBL invoice should not include the DespatchDocumentReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-048\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:IssueTime)\"&gt;[UBL-CR-048]-A UBL invoice should not include the DespatchDocumentReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-049\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:DocumentTypeCode)\"&gt;[UBL-CR-049]-A UBL invoice should not include the DespatchDocumentReference DocumentTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-050\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:DocumentType)\"&gt;[UBL-CR-050]-A UBL invoice should not include the DespatchDocumentReference DocumentType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-051\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:Xpath)\"&gt;[UBL-CR-051]-A UBL invoice should not include the DespatchDocumentReference Xpath&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-052\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:LanguageID)\"&gt;[UBL-CR-052]-A UBL invoice should not include the DespatchDocumentReference LanguageID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-053\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:LocaleCode)\"&gt;[UBL-CR-053]-A UBL invoice should not include the DespatchDocumentReference LocaleCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-054\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:VersionID)\"&gt;[UBL-CR-054]-A UBL invoice should not include the DespatchDocumentReference VersionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-055\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:DocumentStatusCode)\"&gt;[UBL-CR-055]-A UBL invoice should not include the DespatchDocumentReference DocumentStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-056\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cbc:DocumentDescription)\"&gt;[UBL-CR-056]-A UBL invoice should not include the DespatchDocumentReference DocumentDescription&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-057\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cac:Attachment)\"&gt;[UBL-CR-057]-A UBL invoice should not include the DespatchDocumentReference Attachment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-058\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cac:ValidityPeriod)\"&gt;[UBL-CR-058]-A UBL invoice should not include the DespatchDocumentReference ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-059\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cac:IssuerParty)\"&gt;[UBL-CR-059]-A UBL invoice should not include the DespatchDocumentReference IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-060\" flag=\"warning\" test=\"not(cac:DespatchDocumentReference\/cac:ResultOfVerification)\"&gt;[UBL-CR-060]-A UBL invoice should not include the DespatchDocumentReference ResultOfVerification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-061\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-061]-A UBL invoice should not include the ReceiptDocumentReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-062\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:UUID)\"&gt;[UBL-CR-062]-A UBL invoice should not include the ReceiptDocumentReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-063\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:IssueDate)\"&gt;[UBL-CR-063]-A UBL invoice should not include the ReceiptDocumentReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-064\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:IssueTime)\"&gt;[UBL-CR-064]-A UBL invoice should not include the ReceiptDocumentReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-065\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:DocumentTypeCode)\"&gt;[UBL-CR-065]-A UBL invoice should not include the ReceiptDocumentReference DocumentTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-066\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:DocumentType)\"&gt;[UBL-CR-066]-A UBL invoice should not include the ReceiptDocumentReference DocumentType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-067\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:Xpath)\"&gt;[UBL-CR-067]-A UBL invoice should not include the ReceiptDocumentReference Xpath&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-068\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:LanguageID)\"&gt;[UBL-CR-068]-A UBL invoice should not include the ReceiptDocumentReference LanguageID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-069\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:LocaleCode)\"&gt;[UBL-CR-069]-A UBL invoice should not include the ReceiptDocumentReference LocaleCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-070\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:VersionID)\"&gt;[UBL-CR-070]-A UBL invoice should not include the ReceiptDocumentReference VersionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-071\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:DocumentStatusCode)\"&gt;[UBL-CR-071]-A UBL invoice should not include the ReceiptDocumentReference DocumentStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-072\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cbc:DocumentDescription)\"&gt;[UBL-CR-072]-A UBL invoice should not include the ReceiptDocumentReference DocumentDescription&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-073\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cac:Attachment)\"&gt;[UBL-CR-073]-A UBL invoice should not include the ReceiptDocumentReference Attachment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-074\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cac:ValidityPeriod)\"&gt;[UBL-CR-074]-A UBL invoice should not include the ReceiptDocumentReference ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-075\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cac:IssuerParty)\"&gt;[UBL-CR-075]-A UBL invoice should not include the ReceiptDocumentReference IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-076\" flag=\"warning\" test=\"not(cac:ReceiptDocumentReference\/cac:ResultOfVerification)\"&gt;[UBL-CR-076]-A UBL invoice should not include the ReceiptDocumentReference ResultOfVerification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-077\" flag=\"warning\" test=\"not(cac:StatementDocumentReference)\"&gt;[UBL-CR-077]-A UBL invoice should not include the StatementDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-078\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-078]-A UBL invoice should not include the OriginatorDocumentReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-079\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:UUID)\"&gt;[UBL-CR-079]-A UBL invoice should not include the OriginatorDocumentReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-080\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:IssueDate)\"&gt;[UBL-CR-080]-A UBL invoice should not include the OriginatorDocumentReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-081\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:IssueTime)\"&gt;[UBL-CR-081]-A UBL invoice should not include the OriginatorDocumentReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-082\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:DocumentTypeCode)\"&gt;[UBL-CR-082]-A UBL invoice should not include the OriginatorDocumentReference DocumentTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-083\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:DocumentType)\"&gt;[UBL-CR-083]-A UBL invoice should not include the OriginatorDocumentReference DocumentType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-084\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:Xpath)\"&gt;[UBL-CR-084]-A UBL invoice should not include the OriginatorDocumentReference Xpath&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-085\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:LanguageID)\"&gt;[UBL-CR-085]-A UBL invoice should not include the OriginatorDocumentReference LanguageID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-086\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:LocaleCode)\"&gt;[UBL-CR-086]-A UBL invoice should not include the OriginatorDocumentReference LocaleCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-087\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:VersionID)\"&gt;[UBL-CR-087]-A UBL invoice should not include the OriginatorDocumentReference VersionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-088\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:DocumentStatusCode)\"&gt;[UBL-CR-088]-A UBL invoice should not include the OriginatorDocumentReference DocumentStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-089\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cbc:DocumentDescription)\"&gt;[UBL-CR-089]-A UBL invoice should not include the OriginatorDocumentReference DocumentDescription&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-090\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cac:Attachment)\"&gt;[UBL-CR-090]-A UBL invoice should not include the OriginatorDocumentReference Attachment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-091\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cac:ValidityPeriod)\"&gt;[UBL-CR-091]-A UBL invoice should not include the OriginatorDocumentReference ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-092\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cac:IssuerParty)\"&gt;[UBL-CR-092]-A UBL invoice should not include the OriginatorDocumentReference IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-093\" flag=\"warning\" test=\"not(cac:OriginatorDocumentReference\/cac:ResultOfVerification)\"&gt;[UBL-CR-093]-A UBL invoice should not include the OriginatorDocumentReference ResultOfVerification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-094\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-094]-A UBL invoice should not include the ContractDocumentReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-095\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:UUID)\"&gt;[UBL-CR-095]-A UBL invoice should not include the ContractDocumentReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-096\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:IssueDate)\"&gt;[UBL-CR-096]-A UBL invoice should not include the ContractDocumentReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-097\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:IssueTime)\"&gt;[UBL-CR-097]-A UBL invoice should not include the ContractDocumentReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-098\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:DocumentTypeCode)\"&gt;[UBL-CR-098]-A UBL invoice should not include the ContractDocumentReference DocumentTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-099\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:DocumentType)\"&gt;[UBL-CR-099]-A UBL invoice should not include the ContractDocumentReference DocumentType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-100\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:Xpath)\"&gt;[UBL-CR-100]-A UBL invoice should not include the ContractDocumentReference Xpath&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-101\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:LanguageID)\"&gt;[UBL-CR-101]-A UBL invoice should not include the ContractDocumentReference LanguageID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-102\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:LocaleCode)\"&gt;[UBL-CR-102]-A UBL invoice should not include the ContractDocumentReference LocaleCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-103\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:VersionID)\"&gt;[UBL-CR-103]-A UBL invoice should not include the ContractDocumentReference VersionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-104\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:DocumentStatusCode)\"&gt;[UBL-CR-104]-A UBL invoice should not include the ContractDocumentReference DocumentStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-105\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cbc:DocumentDescription)\"&gt;[UBL-CR-105]-A UBL invoice should not include the ContractDocumentReference DocumentDescription&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-106\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cac:Attachment)\"&gt;[UBL-CR-106]-A UBL invoice should not include the ContractDocumentReference Attachment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-107\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cac:ValidityPeriod)\"&gt;[UBL-CR-107]-A UBL invoice should not include the ContractDocumentReference ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-108\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cac:IssuerParty)\"&gt;[UBL-CR-108]-A UBL invoice should not include the ContractDocumentReference IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-109\" flag=\"warning\" test=\"not(cac:ContractDocumentReference\/cac:ResultOfVerification)\"&gt;[UBL-CR-109]-A UBL invoice should not include the ContractDocumentReference ResultOfVerification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-110\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-110]-A UBL invoice should not include the AdditionalDocumentReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-111\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:UUID)\"&gt;[UBL-CR-111]-A UBL invoice should not include the AdditionalDocumentReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-112\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:IssueDate)\"&gt;[UBL-CR-112]-A UBL invoice should not include the AdditionalDocumentReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-113\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:IssueTime)\"&gt;[UBL-CR-113]-A UBL invoice should not include the AdditionalDocumentReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-114\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:DocumentType)\"&gt;[UBL-CR-114]-A UBL invoice should not include the AdditionalDocumentReference DocumentType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-115\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:Xpath)\"&gt;[UBL-CR-115]-A UBL invoice should not include the AdditionalDocumentReference Xpath&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-116\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:LanguageID)\"&gt;[UBL-CR-116]-A UBL invoice should not include the AdditionalDocumentReference LanguageID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-117\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:LocaleCode)\"&gt;[UBL-CR-117]-A UBL invoice should not include the AdditionalDocumentReference LocaleCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-118\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:VersionID)\"&gt;[UBL-CR-118]-A UBL invoice should not include the AdditionalDocumentReference VersionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-119\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:DocumentStatusCode)\"&gt;[UBL-CR-119]-A UBL invoice should not include the AdditionalDocumentReference DocumentStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-121\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:DocumentHash)\"&gt;[UBL-CR-121]-A UBL invoice should not include the AdditionalDocumentReference Attachment External DocumentHash&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-122\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:HashAlgorithmMethod)\"&gt;[UBL-CR-122]-A UBL invoice should not include the AdditionalDocumentReference Attachment External HashAlgorithmMethod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-123\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:ExpiryDate)\"&gt;[UBL-CR-123]-A UBL invoice should not include the AdditionalDocumentReference Attachment External ExpiryDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-124\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:ExpiryTime)\"&gt;[UBL-CR-124]-A UBL invoice should not include the AdditionalDocumentReference Attachment External ExpiryTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-125\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:MimeCode)\"&gt;[UBL-CR-125]-A UBL invoice should not include the AdditionalDocumentReference Attachment External MimeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-126\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:FormatCode)\"&gt;[UBL-CR-126]-A UBL invoice should not include the AdditionalDocumentReference Attachment External FormatCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-127\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:EncodingCode)\"&gt;[UBL-CR-127]-A UBL invoice should not include the AdditionalDocumentReference Attachment External EncodingCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-128\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:CharacterSetCode)\"&gt;[UBL-CR-128]-A UBL invoice should not include the AdditionalDocumentReference Attachment External CharacterSetCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-129\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:FileName)\"&gt;[UBL-CR-129]-A UBL invoice should not include the AdditionalDocumentReference Attachment External FileName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-130\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:Attachment\/cac:ExternalReference\/cbc:Description)\"&gt;[UBL-CR-130]-A UBL invoice should not include the AdditionalDocumentReference Attachment External Descriprion&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-131\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:ValidityPeriod)\"&gt;[UBL-CR-131]-A UBL invoice should not include the AdditionalDocumentReference ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-132\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:IssuerParty)\"&gt;[UBL-CR-132]-A UBL invoice should not include the AdditionalDocumentReference IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-133\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cac:ResultOfVerification)\"&gt;[UBL-CR-133]-A UBL invoice should not include the AdditionalDocumentReference ResultOfVerification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-134\" flag=\"warning\" test=\"not(cac:ProjectReference\/cbc:UUID)\"&gt;[UBL-CR-134]-A UBL invoice should not include the ProjectReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-135\" flag=\"warning\" test=\"not(cac:ProjectReference\/cbc:IssueDate)\"&gt;[UBL-CR-135]-A UBL invoice should not include the ProjectReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-136\" flag=\"warning\" test=\"not(cac:ProjectReference\/cac:WorkPhaseReference)\"&gt;[UBL-CR-136]-A UBL invoice should not include the ProjectReference WorkPhaseReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-137\" flag=\"warning\" test=\"not(cac:Signature)\"&gt;[UBL-CR-137]-A UBL invoice should not include the Signature&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-138\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cbc:CustomerAssignedAccountID)\"&gt;[UBL-CR-138]-A UBL invoice should not include the AccountingSupplierParty CustomerAssignedAccountID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-139\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cbc:AdditionalAccountID)\"&gt;[UBL-CR-139]-A UBL invoice should not include the AccountingSupplierParty AdditionalAccountID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-140\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cbc:DataSendingCapability)\"&gt;[UBL-CR-140]-A UBL invoice should not include the AccountingSupplierParty DataSendingCapability&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-141\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cbc:MarkCareIndicator)\"&gt;[UBL-CR-141]-A UBL invoice should not include the AccountingSupplierParty Party MarkCareIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-142\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cbc:MarkAttentionIndicator)\"&gt;[UBL-CR-142]-A UBL invoice should not include the AccountingSupplierParty Party MarkAttentionIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-143\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cbc:WebsiteURI)\"&gt;[UBL-CR-143]-A UBL invoice should not include the AccountingSupplierParty Party WebsiteURI&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-144\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cbc:LogoReferenceID)\"&gt;[UBL-CR-144]-A UBL invoice should not include the AccountingSupplierParty Party LogoReferenceID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-145\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cbc:IndustryClassificationCode)\"&gt;[UBL-CR-145]-A UBL invoice should not include the AccountingSupplierParty Party IndustryClassificationCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-146\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:Language)\"&gt;[UBL-CR-146]-A UBL invoice should not include the AccountingSupplierParty Party Language&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-147\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:ID)\"&gt;[UBL-CR-147]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-148\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:AddressTypeCode)\"&gt;[UBL-CR-148]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress AddressTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-149\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:AddressFormatCode)\"&gt;[UBL-CR-149]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress AddressFormatCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-150\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:Postbox)\"&gt;[UBL-CR-150]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress Postbox&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-151\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:Floor)\"&gt;[UBL-CR-151]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress Floor&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-152\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:Room)\"&gt;[UBL-CR-152]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress Room&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-153\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:BlockName)\"&gt;[UBL-CR-153]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress BlockName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-154\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:BuildingName)\"&gt;[UBL-CR-154]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress BuildingName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-155\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:BuildingNumber)\"&gt;[UBL-CR-155]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress BuildingNumber&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-156\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:InhouseMail)\"&gt;[UBL-CR-156]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress InhouseMail&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-157\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:Department)\"&gt;[UBL-CR-157]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress Department&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-158\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:MarkAttention)\"&gt;[UBL-CR-158]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress MarkAttention&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-159\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:MarkCare)\"&gt;[UBL-CR-159]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress MarkCare&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-160\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:PlotIdentification)\"&gt;[UBL-CR-160]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress PlotIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-161\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:CitySubdivisionName)\"&gt;[UBL-CR-161]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress CitySubdivisionName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-162\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:CountrySubentityCode)\"&gt;[UBL-CR-162]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress CountrySubentityCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-163\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:Region)\"&gt;[UBL-CR-163]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress Region&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-164\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:District)\"&gt;[UBL-CR-164]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress District&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-165\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cbc:TimezoneOffset)\"&gt;[UBL-CR-165]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress TimezoneOffset&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-166\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:Name)\"&gt;[UBL-CR-166]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress Country Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-167\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:LocationCoordinate)\"&gt;[UBL-CR-167]-A UBL invoice should not include the AccountingSupplierParty Party PostalAddress LocationCoordinate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-168\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PhysicalLocation)\"&gt;[UBL-CR-168]-A UBL invoice should not include the AccountingSupplierParty Party PhysicalLocation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-169\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cbc:RegistrationName)\"&gt;[UBL-CR-169]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme RegistrationName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-170\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cbc:TaxLevelCode)\"&gt;[UBL-CR-170]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme TaxLevelCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-171\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cbc:ExemptionReasonCode)\"&gt;[UBL-CR-171]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme ExemptionReasonCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-172\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cbc:ExemptionReason)\"&gt;[UBL-CR-172]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme ExemptionReason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-173\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cac:RegistrationAddress)\"&gt;[UBL-CR-173]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme RegistrationAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-174\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:Name)\"&gt;[UBL-CR-174]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme TaxScheme Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-175\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:TaxTypeCode)\"&gt;[UBL-CR-175]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme TaxScheme TaxTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-176\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:CurrencyCode)\"&gt;[UBL-CR-176]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme TaxScheme CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-177\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cac:JurisdictionRegionAddress)\"&gt;[UBL-CR-177]-A UBL invoice should not include the AccountingSupplierParty Party PartyTaxScheme TaxScheme JurisdictionRegionAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-178\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationDate)\"&gt;[UBL-CR-178]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity RegistrationDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-179\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationExpirationDate)\"&gt;[UBL-CR-179]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity RegistrationExpirationDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-180\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyLegalFormCode)\"&gt;[UBL-CR-180]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLegalFormCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-181\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:SoleProprietorshipIndicator)\"&gt;[UBL-CR-181]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity SoleProprietorshipIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-182\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyLiquidationStatusCode)\"&gt;[UBL-CR-182]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLiquidationStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-183\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CorporationStockAmount)\"&gt;[UBL-CR-183]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporationStockAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-184\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:FullyPaidSharesIndicator)\"&gt;[UBL-CR-184]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity FullyPaidSharesIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-185\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cac:RegistrationAddress)\"&gt;[UBL-CR-185]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity RegistrationAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-186\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cac:CorporateRegistrationScheme)\"&gt;[UBL-CR-186]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CorporateRegistrationScheme&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-187\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cac:HeadOfficeParty)\"&gt;[UBL-CR-187]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity HeadOfficeParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-188\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cac:ShareholderParty)\"&gt;[UBL-CR-188]-A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity ShareholderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-189\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:Contact\/cbc:ID)\"&gt;[UBL-CR-189]-A UBL invoice should not include the AccountingSupplierParty Party Contact ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-190\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:Contact\/cbc:Telefax)\"&gt;[UBL-CR-190]-A UBL invoice should not include the AccountingSupplierParty Party Contact Telefax&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-191\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:Contact\/cbc:Note)\"&gt;[UBL-CR-191]-A UBL invoice should not include the AccountingSupplierParty Party Contact Note&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-192\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:Contact\/cac:OtherCommunication)\"&gt;[UBL-CR-192]-A UBL invoice should not include the AccountingSupplierParty Party Contact OtherCommunication&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-193\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:Person)\"&gt;[UBL-CR-193]-A UBL invoice should not include the AccountingSupplierParty Party Person&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-194\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:AgentParty)\"&gt;[UBL-CR-194]-A UBL invoice should not include the AccountingSupplierParty Party AgentParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-195\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:ServiceProviderParty)\"&gt;[UBL-CR-195]-A UBL invoice should not include the AccountingSupplierParty Party ServiceProviderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-196\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:PowerOfAttorney)\"&gt;[UBL-CR-196]-A UBL invoice should not include the AccountingSupplierParty Party PowerOfAttorney&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-197\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:Party\/cac:FinancialAccount)\"&gt;[UBL-CR-197]-A UBL invoice should not include the AccountingSupplierParty Party FinancialAccount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-198\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:DespatchContact)\"&gt;[UBL-CR-198]-A UBL invoice should not include the AccountingSupplierParty DespatchContact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-199\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:AccountingContact)\"&gt;[UBL-CR-199]-A UBL invoice should not include the AccountingSupplierParty AccountingContact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-200\" flag=\"warning\" test=\"not(cac:AccountingSupplierParty\/cac:SellerContact)\"&gt;[UBL-CR-200]-A UBL invoice should not include the AccountingSupplierParty SellerContact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-201\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cbc:CustomerAssignedAccountID)\"&gt;[UBL-CR-201]-A UBL invoice should not include the AccountingCustomerParty CustomerAssignedAccountID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-202\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cbc:SupplierAssignedAccountID)\"&gt;[UBL-CR-202]-A UBL invoice should not include the AccountingCustomerParty SupplierAssignedAccountID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-203\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cbc:AdditionalAccountID)\"&gt;[UBL-CR-203]-A UBL invoice should not include the AccountingCustomerParty AdditionalAccountID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-204\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cbc:MarkCareIndicator)\"&gt;[UBL-CR-204]-A UBL invoice should not include the AccountingCustomerParty Party MarkCareIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-205\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cbc:MarkAttentionIndicator)\"&gt;[UBL-CR-205]-A UBL invoice should not include the AccountingCustomerParty Party MarkAttentionIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-206\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cbc:WebsiteURI)\"&gt;[UBL-CR-206]-A UBL invoice should not include the AccountingCustomerParty Party WebsiteURI&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-207\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cbc:LogoReferenceID)\"&gt;[UBL-CR-207]-A UBL invoice should not include the AccountingCustomerParty Party LogoReferenceID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-208\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cbc:IndustryClassificationCode)\"&gt;[UBL-CR-208]-A UBL invoice should not include the AccountingCustomerParty Party IndustryClassificationCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-209\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:Language)\"&gt;[UBL-CR-209]-A UBL invoice should not include the AccountingCustomerParty Party Language&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-210\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:ID)\"&gt;[UBL-CR-210]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-211\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:AddressTypeCode)\"&gt;[UBL-CR-211]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress AddressTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-212\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:AddressFormatCode)\"&gt;[UBL-CR-212]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress AddressFormatCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-213\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:Postbox)\"&gt;[UBL-CR-213]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Postbox&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-214\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:Floor)\"&gt;[UBL-CR-214]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Floor&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-215\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:Room)\"&gt;[UBL-CR-215]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Room&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-216\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:BlockName)\"&gt;[UBL-CR-216]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress BlockName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-217\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:BuildingName)\"&gt;[UBL-CR-217]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress BuildingName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-218\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:BuildingNumber)\"&gt;[UBL-CR-218]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress BuildingNumber&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-219\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:InhouseMail)\"&gt;[UBL-CR-219]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress InhouseMail&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-220\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:Department)\"&gt;[UBL-CR-220]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Department&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-221\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:MarkAttention)\"&gt;[UBL-CR-221]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress MarkAttention&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-222\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:MarkCare)\"&gt;[UBL-CR-222]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress MarkCare&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-223\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:PlotIdentification)\"&gt;[UBL-CR-223]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress PlotIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-224\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:CitySubdivisionName)\"&gt;[UBL-CR-224]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress CitySubdivisionName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-225\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:CountrySubentityCode)\"&gt;[UBL-CR-225]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress CountrySubentityCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-226\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:Region)\"&gt;[UBL-CR-226]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Region&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-227\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:District)\"&gt;[UBL-CR-227]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress District&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-228\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cbc:TimezoneOffset)\"&gt;[UBL-CR-228]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress TimezoneOffset&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-229\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:Name)\"&gt;[UBL-CR-229]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress Country Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-230\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PostalAddress\/cac:LocationCoordinate)\"&gt;[UBL-CR-230]-A UBL invoice should not include the AccountingCustomerParty Party PostalAddress LocationCoordinate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-231\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PhysicalLocation)\"&gt;[UBL-CR-231]-A UBL invoice should not include the AccountingCustomerParty Party PhysicalLocation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-232\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cbc:RegistrationName)\"&gt;[UBL-CR-232]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme RegistrationName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-233\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cbc:TaxLevelCode)\"&gt;[UBL-CR-233]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme TaxLevelCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-234\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cbc:ExemptionReasonCode)\"&gt;[UBL-CR-234]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme ExemptionReasonCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-235\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cbc:ExemptionReason)\"&gt;[UBL-CR-235]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme ExemptionReason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-236\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cac:RegistrationAddress)\"&gt;[UBL-CR-236]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme RegistrationAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-237\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:Name)\"&gt;[UBL-CR-237]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme TaxScheme Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-238\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:TaxTypeCode)\"&gt;[UBL-CR-238]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme TaxScheme TaxTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-239\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:CurrencyCode)\"&gt;[UBL-CR-239]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme TaxScheme CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-240\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme\/cac:TaxScheme\/cac:JurisdictionRegionAddress)\"&gt;[UBL-CR-240]-A UBL invoice should not include the AccountingCustomerParty Party PartyTaxScheme TaxScheme JurisdictionRegionAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-241\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationDate)\"&gt;[UBL-CR-241]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity RegistrationDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-242\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationExpirationDate)\"&gt;[UBL-CR-242]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity RegistrationExpirationDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-243\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyLegalFormCode)\"&gt;[UBL-CR-243]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CompanyLegalFormCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-244\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyLegalForm)\"&gt;[UBL-CR-244]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CompanyLegalForm&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-245\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:SoleProprietorshipIndicator)\"&gt;[UBL-CR-245]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity SoleProprietorshipIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-246\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyLiquidationStatusCode)\"&gt;[UBL-CR-246]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CompanyLiquidationStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-247\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CorporationStockAmount)\"&gt;[UBL-CR-247]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporationStockAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-248\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:FullyPaidSharesIndicator)\"&gt;[UBL-CR-248]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity FullyPaidSharesIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-249\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cac:RegistrationAddress)\"&gt;[UBL-CR-249]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity RegistrationAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-250\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cac:CorporateRegistrationScheme)\"&gt;[UBL-CR-250]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity CorporateRegistrationScheme&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-251\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cac:HeadOfficeParty)\"&gt;[UBL-CR-251]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity HeadOfficeParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-252\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cac:ShareholderParty)\"&gt;[UBL-CR-252]-A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity ShareholderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-253\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:Contact\/cbc:ID)\"&gt;[UBL-CR-253]-A UBL invoice should not include the AccountingCustomerParty Party Contact ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-254\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:Contact\/cbc:Telefax)\"&gt;[UBL-CR-254]-A UBL invoice should not include the AccountingCustomerParty Party Contact Telefax&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-255\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:Contact\/cbc:Note)\"&gt;[UBL-CR-255]-A UBL invoice should not include the AccountingCustomerParty Party Contact Note&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-256\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:Contact\/cac:OtherCommunication)\"&gt;[UBL-CR-256]-A UBL invoice should not include the AccountingCustomerParty Party Contact OtherCommunication&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-257\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:Person)\"&gt;[UBL-CR-257]-A UBL invoice should not include the AccountingCustomerParty Party Person&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-258\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:AgentParty)\"&gt;[UBL-CR-258]-A UBL invoice should not include the AccountingCustomerParty Party AgentParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-259\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:ServiceProviderParty)\"&gt;[UBL-CR-259]-A UBL invoice should not include the AccountingCustomerParty Party ServiceProviderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-260\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:PowerOfAttorney)\"&gt;[UBL-CR-260]-A UBL invoice should not include the AccountingCustomerParty Party PowerOfAttorney&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-261\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:Party\/cac:FinancialAccount)\"&gt;[UBL-CR-261]-A UBL invoice should not include the AccountingCustomerParty Party FinancialAccount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-262\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:DeliveryContact)\"&gt;[UBL-CR-262]-A UBL invoice should not include the AccountingCustomerParty DeliveryContact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-263\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:AccountingContact)\"&gt;[UBL-CR-263]-A UBL invoice should not include the AccountingCustomerParty AccountingContact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-264\" flag=\"warning\" test=\"not(cac:AccountingCustomerParty\/cac:BuyerContact)\"&gt;[UBL-CR-264]-A UBL invoice should not include the AccountingCustomerParty BuyerContact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-265\" flag=\"warning\" test=\"not(cac:PayeeParty\/cbc:MarkCareIndicator)\"&gt;[UBL-CR-265]-A UBL invoice should not include the PayeeParty MarkCareIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-266\" flag=\"warning\" test=\"not(cac:PayeeParty\/cbc:MarkAttentionIndicator)\"&gt;[UBL-CR-266]-A UBL invoice should not include the PayeeParty MarkAttentionIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-267\" flag=\"warning\" test=\"not(cac:PayeeParty\/cbc:WebsiteURI)\"&gt;[UBL-CR-267]-A UBL invoice should not include the PayeeParty WebsiteURI&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-268\" flag=\"warning\" test=\"not(cac:PayeeParty\/cbc:LogoReferenceID)\"&gt;[UBL-CR-268]-A UBL invoice should not include the PayeeParty LogoReferenceID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-269\" flag=\"warning\" test=\"not(cac:PayeeParty\/cbc:EndpointID)\"&gt;[UBL-CR-269]-A UBL invoice should not include the PayeeParty EndpointID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-270\" flag=\"warning\" test=\"not(cac:PayeeParty\/cbc:IndustryClassificationCode)\"&gt;[UBL-CR-270]-A UBL invoice should not include the PayeeParty IndustryClassificationCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-271\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:Language)\"&gt;[UBL-CR-271]-A UBL invoice should not include the PayeeParty Language&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-272\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PostalAddress)\"&gt;[UBL-CR-272]-A UBL invoice should not include the PayeeParty PostalAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-273\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PhysicalLocation)\"&gt;[UBL-CR-273]-A UBL invoice should not include the PayeeParty PhysicalLocation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-274\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyTaxScheme)\"&gt;[UBL-CR-274]-A UBL invoice should not include the PayeeParty PartyTaxScheme&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-275\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:RegistrationName)\"&gt;[UBL-CR-275]-A UBL invoice should not include the PayeeParty PartyLegalEntity RegistrationName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-276\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:RegistrationDate)\"&gt;[UBL-CR-276]-A UBL invoice should not include the PayeeParty PartyLegalEntity RegistrationDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-277\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:RegistrationExpirationDate)\"&gt;[UBL-CR-277]-A UBL invoice should not include the PayeeParty PartyLegalEntity RegistrationExpirationDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-278\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:CompanyLegalFormCode)\"&gt;[UBL-CR-278]-A UBL invoice should not include the PayeeParty PartyLegalEntity CompanyLegalFormCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-279\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:CompanyLegalForm)\"&gt;[UBL-CR-279]-A UBL invoice should not include the PayeeParty PartyLegalEntity CompanyLegalForm&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-280\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:SoleProprietorshipIndicator)\"&gt;[UBL-CR-280]-A UBL invoice should not include the PayeeParty PartyLegalEntity SoleProprietorshipIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-281\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:CompanyLiquidationStatusCode)\"&gt;[UBL-CR-281]-A UBL invoice should not include the PayeeParty PartyLegalEntity CompanyLiquidationStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-282\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:CorporationStockAmount)\"&gt;[UBL-CR-282]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporationStockAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-283\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cbc:FullyPaidSharesIndicator)\"&gt;[UBL-CR-283]-A UBL invoice should not include the PayeeParty PartyLegalEntity FullyPaidSharesIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-284\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cac:RegistrationAddress)\"&gt;[UBL-CR-284]-A UBL invoice should not include the PayeeParty PartyLegalEntity RegistrationAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-285\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cac:CorporateRegistrationScheme)\"&gt;[UBL-CR-285]-A UBL invoice should not include the PayeeParty PartyLegalEntity CorporateRegistrationScheme&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-286\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cac:HeadOfficeParty)\"&gt;[UBL-CR-286]-A UBL invoice should not include the PayeeParty PartyLegalEntity HeadOfficeParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-287\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PartyLegalEntity\/cac:ShareholderParty)\"&gt;[UBL-CR-287]-A UBL invoice should not include the PayeeParty PartyLegalEntity ShareholderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-288\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:Contact)\"&gt;[UBL-CR-288]-A UBL invoice should not include the PayeeParty Contact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-289\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:Person)\"&gt;[UBL-CR-289]-A UBL invoice should not include the PayeeParty Person&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-290\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:AgentParty)\"&gt;[UBL-CR-290]-A UBL invoice should not include the PayeeParty AgentParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-291\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:ServiceProviderParty)\"&gt;[UBL-CR-291]-A UBL invoice should not include the PayeeParty ServiceProviderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-292\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:PowerOfAttorney)\"&gt;[UBL-CR-292]-A UBL invoice should not include the PayeeParty PowerOfAttorney&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-293\" flag=\"warning\" test=\"not(cac:PayeeParty\/cac:FinancialAccount)\"&gt;[UBL-CR-293]-A UBL invoice should not include the PayeeParty FinancialAccount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-294\" flag=\"warning\" test=\"not(cac:BuyerCustomerParty)\"&gt;[UBL-CR-294]-A UBL invoice should not include the BuyerCustomerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-295\" flag=\"warning\" test=\"not(cac:SellerCustomerParty)\"&gt;[UBL-CR-295]-A UBL invoice should not include the SellerCustomerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-296\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cbc:MarkCareIndicator)\"&gt;[UBL-CR-296]-A UBL invoice should not include the TaxRepresentativeParty MarkCareIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-297\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cbc:MarkAttentionIndicator)\"&gt;[UBL-CR-297]-A UBL invoice should not include the TaxRepresentativeParty MarkAttentionIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-298\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cbc:WebsiteURI)\"&gt;[UBL-CR-298]-A UBL invoice should not include the TaxRepresentativeParty WebsiteURI&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-299\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cbc:LogoReferenceID)\"&gt;[UBL-CR-299]-A UBL invoice should not include the TaxRepresentativeParty LogoReferenceID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-300\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cbc:EndpointID)\"&gt;[UBL-CR-300]-A UBL invoice should not include the TaxRepresentativeParty EndpointID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-301\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cbc:IndustryClassificationCode)\"&gt;[UBL-CR-301]-A UBL invoice should not include the TaxRepresentativeParty IndustryClassificationCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-302\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyIdentification)\"&gt;[UBL-CR-302]-A UBL invoice should not include the TaxRepresentativeParty PartyIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-303\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:Language)\"&gt;[UBL-CR-303]-A UBL invoice should not include the TaxRepresentativeParty Language&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-304\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:ID)\"&gt;[UBL-CR-304]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-305\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:AddressTypeCode)\"&gt;[UBL-CR-305]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress AddressTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-306\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:AddressFormatCode)\"&gt;[UBL-CR-306]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress AddressFormatCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-307\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:Postbox)\"&gt;[UBL-CR-307]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress Postbox&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-308\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:Floor)\"&gt;[UBL-CR-308]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress Floor&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-309\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:Room)\"&gt;[UBL-CR-309]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress Room&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-310\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:BlockName)\"&gt;[UBL-CR-310]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress BlockName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-311\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:BuildingName)\"&gt;[UBL-CR-311]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress BuildingName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-312\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:BuildingNumber)\"&gt;[UBL-CR-312]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress BuildingNumber&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-313\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:InhouseMail)\"&gt;[UBL-CR-313]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress InhouseMail&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-314\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:Department)\"&gt;[UBL-CR-314]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress Department&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-315\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:MarkAttention)\"&gt;[UBL-CR-315]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress MarkAttention&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-316\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:MarkCare)\"&gt;[UBL-CR-316]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress MarkCare&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-317\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:PlotIdentification)\"&gt;[UBL-CR-317]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress PlotIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-318\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:CitySubdivisionName)\"&gt;[UBL-CR-318]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress CitySubdivisionName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-319\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:CountrySubentityCode)\"&gt;[UBL-CR-319]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress CountrySubentityCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-320\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:Region)\"&gt;[UBL-CR-320]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress Region&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-321\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:District)\"&gt;[UBL-CR-321]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress District&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-322\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cbc:TimezoneOffset)\"&gt;[UBL-CR-322]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress TimezoneOffset&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-323\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cac:Country\/cbc:Name)\"&gt;[UBL-CR-323]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress Country Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-324\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PostalAddress\/cac:LocationCoordinate)\"&gt;[UBL-CR-324]-A UBL invoice should not include the TaxRepresentativeParty PostalAddress LocationCoordinate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-325\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PhysicalLocation)\"&gt;[UBL-CR-325]-A UBL invoice should not include the TaxRepresentativeParty PhysicalLocation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-326\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cbc:RegistrationName)\"&gt;[UBL-CR-326]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme RegistrationName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-327\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cbc:TaxLevelCode)\"&gt;[UBL-CR-327]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme TaxLevelCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-328\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cbc:ExemptionReasonCode)\"&gt;[UBL-CR-328]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme ExemptionReasonCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-329\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cbc:ExemptionReason)\"&gt;[UBL-CR-329]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme ExemptionReason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-330\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cac:RegistrationAddress)\"&gt;[UBL-CR-330]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme RegistrationAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-331\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:Name)\"&gt;[UBL-CR-331]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme TaxScheme Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-332\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:TaxTypeCode)\"&gt;[UBL-CR-332]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme TaxScheme TaxTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-333\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cac:TaxScheme\/cbc:CurrencyCode)\"&gt;[UBL-CR-333]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme TaxScheme CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-334\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyTaxScheme\/cac:TaxScheme\/cac:JurisdictionRegionAddress)\"&gt;[UBL-CR-334]-A UBL invoice should not include the TaxRepresentativeParty PartyTaxScheme TaxScheme JurisdictionRegionAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-335\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PartyLegalEntity)\"&gt;[UBL-CR-335]-A UBL invoice should not include the TaxRepresentativeParty PartyLegalEntity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-336\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:Contact)\"&gt;[UBL-CR-336]-A UBL invoice should not include the TaxRepresentativeParty Contact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-337\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:Person)\"&gt;[UBL-CR-337]-A UBL invoice should not include the TaxRepresentativeParty Person&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-338\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:AgentParty)\"&gt;[UBL-CR-338]-A UBL invoice should not include the TaxRepresentativeParty AgentParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-339\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:ServiceProviderParty)\"&gt;[UBL-CR-339]-A UBL invoice should not include the TaxRepresentativeParty ServiceProviderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-340\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:PowerOfAttorney)\"&gt;[UBL-CR-340]-A UBL invoice should not include the TaxRepresentativeParty PowerOfAttorney&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-341\" flag=\"warning\" test=\"not(cac:TaxRepresentativeParty\/cac:FinancialAccount)\"&gt;[UBL-CR-341]-A UBL invoice should not include the TaxRepresentativeParty FinancialAccount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-342\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:ID)\"&gt;[UBL-CR-342]-A UBL invoice should not include the Delivery ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-343\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:Quantity)\"&gt;[UBL-CR-343]-A UBL invoice should not include the Delivery Quantity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-344\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:MinimumQuantity)\"&gt;[UBL-CR-344]-A UBL invoice should not include the Delivery MinimumQuantity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-345\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:MaximumQuantity)\"&gt;[UBL-CR-345]-A UBL invoice should not include the Delivery MaximumQuantity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-346\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:ActualDeliveryTime)\"&gt;[UBL-CR-346]-A UBL invoice should not include the Delivery ActualDeliveryTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-347\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:LatestDeliveryDate)\"&gt;[UBL-CR-347]-A UBL invoice should not include the Delivery LatestDeliveryDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-348\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:LatestDeliveryTime)\"&gt;[UBL-CR-348]-A UBL invoice should not include the Delivery LatestDeliveryTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-349\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:ReleaseID)\"&gt;[UBL-CR-349]-A UBL invoice should not include the Delivery ReleaseID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-350\" flag=\"warning\" test=\"not(cac:Delivery\/cbc:TrackingID)\"&gt;[UBL-CR-350]-A UBL invoice should not include the Delivery TrackingID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-351\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cbc:Description)\"&gt;[UBL-CR-351]-A UBL invoice should not include the Delivery DeliveryLocation Description&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-352\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cbc:Conditions)\"&gt;[UBL-CR-352]-A UBL invoice should not include the Delivery DeliveryLocation Conditions&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-353\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cbc:CountrySubentity)\"&gt;[UBL-CR-353]-A UBL invoice should not include the Delivery DeliveryLocation CountrySubentity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-354\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cbc:CountrySubentityCode)\"&gt;[UBL-CR-354]-A UBL invoice should not include the Delivery DeliveryLocation CountrySubentityCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-355\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cbc:LocationTypeCode)\"&gt;[UBL-CR-355]-A UBL invoice should not include the Delivery DeliveryLocation LocationTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-356\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cbc:InformationURI)\"&gt;[UBL-CR-356]-A UBL invoice should not include the Delivery DeliveryLocation InformationURI&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-357\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cbc:Name)\"&gt;[UBL-CR-357]-A UBL invoice should not include the Delivery DeliveryLocation Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-358\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:ValidationPeriod)\"&gt;[UBL-CR-358]-A UBL invoice should not include the Delivery DeliveryLocation ValidationPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-359\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:ID)\"&gt;[UBL-CR-359]-A UBL invoice should not include the Delivery DeliveryLocation Address ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-360\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:AddressTypeCode)\"&gt;[UBL-CR-360]-A UBL invoice should not include the Delivery DeliveryLocation Address AddressTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-361\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:AddressFormatCode)\"&gt;[UBL-CR-361]-A UBL invoice should not include the Delivery DeliveryLocation Address AddressFormatCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-362\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:Postbox)\"&gt;[UBL-CR-362]-A UBL invoice should not include the Delivery DeliveryLocation Address Postbox&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-363\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:Floor)\"&gt;[UBL-CR-363]-A UBL invoice should not include the Delivery DeliveryLocation Address Floor&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-364\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:Room)\"&gt;[UBL-CR-364]-A UBL invoice should not include the Delivery DeliveryLocation Address Room&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-365\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:BlockName)\"&gt;[UBL-CR-365]-A UBL invoice should not include the Delivery DeliveryLocation Address BlockName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-366\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:BuildingName)\"&gt;[UBL-CR-366]-A UBL invoice should not include the Delivery DeliveryLocation Address BuildingName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-367\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:BuildingNumber)\"&gt;[UBL-CR-367]-A UBL invoice should not include the Delivery DeliveryLocation Address BuildingNumber&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-368\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:InhouseMail)\"&gt;[UBL-CR-368]-A UBL invoice should not include the Delivery DeliveryLocation Address InhouseMail&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-369\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:Department)\"&gt;[UBL-CR-369]-A UBL invoice should not include the Delivery DeliveryLocation Address Department&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-370\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:MarkAttention)\"&gt;[UBL-CR-370]-A UBL invoice should not include the Delivery DeliveryLocation Address MarkAttention&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-371\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:MarkCare)\"&gt;[UBL-CR-371]-A UBL invoice should not include the Delivery DeliveryLocation Address MarkCare&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-372\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:PlotIdentification)\"&gt;[UBL-CR-372]-A UBL invoice should not include the Delivery DeliveryLocation Address PlotIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-373\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:CitySubdivisionName)\"&gt;[UBL-CR-373]-A UBL invoice should not include the Delivery DeliveryLocation Address CitySubdivisionName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-374\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:CountrySubentityCode)\"&gt;[UBL-CR-374]-A UBL invoice should not include the Delivery DeliveryLocation Address CountrySubentityCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-375\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:Region)\"&gt;[UBL-CR-375]-A UBL invoice should not include the Delivery DeliveryLocation Address Region&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-376\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:District)\"&gt;[UBL-CR-376]-A UBL invoice should not include the Delivery DeliveryLocation Address District&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-377\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cbc:TimezoneOffset)\"&gt;[UBL-CR-377]-A UBL invoice should not include the Delivery DeliveryLocation Address TimezoneOffset&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-378\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cac:Country\/cbc:Name)\"&gt;[UBL-CR-378]-A UBL invoice should not include the Delivery DeliveryLocation Address Country Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-379\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:Address\/cac:LocationCoordinate)\"&gt;[UBL-CR-379]-A UBL invoice should not include the Delivery DeliveryLocation Address LocationCoordinate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-380\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:SubsidiaryLocation)\"&gt;[UBL-CR-380]-A UBL invoice should not include the Delivery DeliveryLocation SubsidiaryLocation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-381\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryLocation\/cac:LocationCoordinate)\"&gt;[UBL-CR-381]-A UBL invoice should not include the Delivery DeliveryLocation LocationCoordinate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-382\" flag=\"warning\" test=\"not(cac:Delivery\/cac:AlternativeDeliveryLocation)\"&gt;[UBL-CR-382]-A UBL invoice should not include the Delivery AlternativeDeliveryLocation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-383\" flag=\"warning\" test=\"not(cac:Delivery\/cac:RequestedDeliveryPeriod)\"&gt;[UBL-CR-383]-A UBL invoice should not include the Delivery RequestedDeliveryPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-384\" flag=\"warning\" test=\"not(cac:Delivery\/cac:PromisedDeliveryPeriod)\"&gt;[UBL-CR-384]-A UBL invoice should not include the Delivery PromisedDeliveryPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-385\" flag=\"warning\" test=\"not(cac:Delivery\/cac:CarrierParty)\"&gt;[UBL-CR-385]-A UBL invoice should not include the Delivery CarrierParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-386\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cbc:MarkCareIndicator)\"&gt;[UBL-CR-386]-A UBL invoice should not include the DeliveryParty MarkCareIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-387\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cbc:MarkAttentionIndicator)\"&gt;[UBL-CR-387]-A UBL invoice should not include the DeliveryParty MarkAttentionIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-388\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cbc:WebsiteURI)\"&gt;[UBL-CR-388]-A UBL invoice should not include the DeliveryParty WebsiteURI&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-389\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cbc:LogoReferenceID)\"&gt;[UBL-CR-389]-A UBL invoice should not include the DeliveryParty LogoReferenceID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-390\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cbc:EndpointID)\"&gt;[UBL-CR-390]-A UBL invoice should not include the DeliveryParty EndpointID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-391\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cbc:IndustryClassificationCode)\"&gt;[UBL-CR-391]-A UBL invoice should not include the DeliveryParty IndustryClassificationCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-392\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:PartyIdentification)\"&gt;[UBL-CR-392]-A UBL invoice should not include the DeliveryParty PartyIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-393\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:Language)\"&gt;[UBL-CR-393]-A UBL invoice should not include the DeliveryParty Language&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-394\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:PostalAddress)\"&gt;[UBL-CR-394]-A UBL invoice should not include the DeliveryParty PostalAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-395\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:PhysicalLocation)\"&gt;[UBL-CR-395]-A UBL invoice should not include the DeliveryParty PhysicalLocation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-396\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:PartyTaxScheme)\"&gt;[UBL-CR-396]-A UBL invoice should not include the DeliveryParty PartyTaxScheme&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-397\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:PartyLegalEntity)\"&gt;[UBL-CR-397]-A UBL invoice should not include the DeliveryParty PartyLegalEntity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-398\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:Contact)\"&gt;[UBL-CR-398]-A UBL invoice should not include the DeliveryParty Contact&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-399\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:Person)\"&gt;[UBL-CR-399]-A UBL invoice should not include the DeliveryParty Person&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-400\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:AgentParty)\"&gt;[UBL-CR-400]-A UBL invoice should not include the DeliveryParty AgentParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-401\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:ServiceProviderParty)\"&gt;[UBL-CR-401]-A UBL invoice should not include the DeliveryParty ServiceProviderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-402\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:PowerOfAttorney)\"&gt;[UBL-CR-402]-A UBL invoice should not include the DeliveryParty PowerOfAttorney&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-403\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryParty\/cac:FinancialAccount)\"&gt;[UBL-CR-403]-A UBL invoice should not include the DeliveryParty FinancialAccount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-404\" flag=\"warning\" test=\"not(cac:Delivery\/cac:NotifyParty)\"&gt;[UBL-CR-404]-A UBL invoice should not include the Delivery NotifyParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-405\" flag=\"warning\" test=\"not(cac:Delivery\/cac:Despatch)\"&gt;[UBL-CR-405]-A UBL invoice should not include the Delivery Despatch&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-406\" flag=\"warning\" test=\"not(cac:Delivery\/cac:DeliveryTerms)\"&gt;[UBL-CR-406]-A UBL invoice should not include the Delivery DeliveryTerms&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-407\" flag=\"warning\" test=\"not(cac:Delivery\/cac:MinimumDeliveryUnit)\"&gt;[UBL-CR-407]-A UBL invoice should not include the Delivery MinimumDeliveryUnit&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-408\" flag=\"warning\" test=\"not(cac:Delivery\/cac:MaximumDeliveryUnit)\"&gt;[UBL-CR-408]-A UBL invoice should not include the Delivery MaximumDeliveryUnit&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-409\" flag=\"warning\" test=\"not(cac:Delivery\/cac:Shipment)\"&gt;[UBL-CR-409]-A UBL invoice should not include the Delivery Shipment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-410\" flag=\"warning\" test=\"not(cac:DeliveryTerms)\"&gt;[UBL-CR-410]-A UBL invoice should not include the DeliveryTerms&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-411\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cbc:ID)\"&gt;[UBL-CR-411]-A UBL invoice should not include the PaymentMeans ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-412\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cbc:PaymentDueDate)\"&gt;[UBL-CR-412]-A UBL invoice should not include the PaymentMeans PaymentDueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-413\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cbc:PaymentChannelCode)\"&gt;[UBL-CR-413]-A UBL invoice should not include the PaymentMeans PaymentChannelCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-414\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cbc:InstructionID)\"&gt;[UBL-CR-414]-A UBL invoice should not include the PaymentMeans InstructionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-415\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:CardTypeCode)\"&gt;[UBL-CR-415]-A UBL invoice should not include the PaymentMeans CardAccount CardTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-416\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:ValidityStartDate)\"&gt;[UBL-CR-416]-A UBL invoice should not include the PaymentMeans CardAccount ValidityStartDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-417\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:ExpiryDate)\"&gt;[UBL-CR-417]-A UBL invoice should not include the PaymentMeans CardAccount ExpiryDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-418\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:IssuerID)\"&gt;[UBL-CR-418]-A UBL invoice should not include the PaymentMeans CardAccount IssuerID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-419\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:IssuerNumberID)\"&gt;[UBL-CR-419]-A UBL invoice should not include the PaymentMeans CardAccount IssuerNumberID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-420\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:CV2ID)\"&gt;[UBL-CR-420]-A UBL invoice should not include the PaymentMeans CardAccount CV2ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-421\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:CardChipCode)\"&gt;[UBL-CR-421]-A UBL invoice should not include the PaymentMeans CardAccount CardChipCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-422\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CardAccount\/cbc:ChipApplicationID)\"&gt;[UBL-CR-422]-A UBL invoice should not include the PaymentMeans CardAccount ChipApplicationID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-424\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cbc:AliasName)\"&gt;[UBL-CR-424]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount AliasName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-425\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cbc:AccountTypeCode)\"&gt;[UBL-CR-425]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount AccountTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-426\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cbc:AccountFormatCode)\"&gt;[UBL-CR-426]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount AccountFormatCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-427\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cbc:CurrencyCode)\"&gt;[UBL-CR-427]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-428\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cbc:PaymentNote)\"&gt;[UBL-CR-428]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount PaymentNote&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-429\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cac:FinancialInstitutionBranch\/cbc:Name)\"&gt;[UBL-CR-429]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount FinancialInstitutionBranch Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-430\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cac:FinancialInstitutionBranch\/cac:FinancialInstitution\/cbc:Name)\"&gt;[UBL-CR-430]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount FinancialInstitutionBranch FinancialInstitution Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-431\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cac:FinancialInstitutionBranch\/cac:FinancialInstitution\/cac:Address)\"&gt;[UBL-CR-431]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount FinancialInstitutionBranch FinancialInstitution Address&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-432\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cac:FinancialInstitutionBranch\/cac:Address)\"&gt;[UBL-CR-432]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount FinancialInstitutionBranch Address&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-433\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cac:Country)\"&gt;[UBL-CR-433]-A UBL invoice should not include the PaymentMeans PayeeFinancialAccount Country&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-434\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:CreditAccount)\"&gt;[UBL-CR-434]-A UBL invoice should not include the PaymentMeans CreditAccount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-435\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cbc:MandateTypeCode)\"&gt;[UBL-CR-435]-A UBL invoice should not include the PaymentMeans PaymentMandate MandateTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-436\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cbc:MaximumPaymentInstructionsNumeric)\"&gt;[UBL-CR-436]-A UBL invoice should not include the PaymentMeans PaymentMandate MaximumPaymentInstructionsNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-437\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cbc:MaximumPaidAmount)\"&gt;[UBL-CR-437]-A UBL invoice should not include the PaymentMeans PaymentMandate MaximumPaidAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-438\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cbc:SignatureID)\"&gt;[UBL-CR-438]-A UBL invoice should not include the PaymentMeans PaymentMandate SignatureID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-439\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerParty)\"&gt;[UBL-CR-439]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-440\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cbc:Name)\"&gt;[UBL-CR-440]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-441\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cbc:AliasName)\"&gt;[UBL-CR-441]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount AliasName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-442\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cbc:AccountTypeCode)\"&gt;[UBL-CR-442]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount AccountTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-443\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cbc:AccountFormatCode)\"&gt;[UBL-CR-443]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount AccountFormatCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-444\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cbc:CurrencyCode)\"&gt;[UBL-CR-444]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-445\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cbc:PaymentNote)\"&gt;[UBL-CR-445]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount PaymentNote&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-446\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cac:FinancialInstitutionBranch)\"&gt;[UBL-CR-446]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount FinancialInstitutionBranch&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-447\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cac:Country)\"&gt;[UBL-CR-447]-A UBL invoice should not include the PaymentMeans PaymentMandate PayerFinancialAccount Country&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-448\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:ValidityPeriod)\"&gt;[UBL-CR-448]-A UBL invoice should not include the PaymentMeans PaymentMandate ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-449\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:PaymentReversalPeriod)\"&gt;[UBL-CR-449]-A UBL invoice should not include the PaymentMeans PaymentMandate PaymentReversalPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-450\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PaymentMandate\/cac:Clause)\"&gt;[UBL-CR-450]-A UBL invoice should not include the PaymentMeans PaymentMandate Clause&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-451\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:TradeFinancing)\"&gt;[UBL-CR-451]-A UBL invoice should not include the PaymentMeans TradeFinancing&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-452\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:ID)\"&gt;[UBL-CR-452]-A UBL invoice should not include the PaymentTerms ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-453\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:PaymentMeansID)\"&gt;[UBL-CR-453]-A UBL invoice should not include the PaymentTerms PaymentMeansID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-454\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:PrepaidPaymentReferenceID)\"&gt;[UBL-CR-454]-A UBL invoice should not include the PaymentTerms PrepaidPaymentReferenceID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-455\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:ReferenceEventCode)\"&gt;[UBL-CR-455]-A UBL invoice should not include the PaymentTerms ReferenceEventCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-456\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:SettlementDiscountPercent)\"&gt;[UBL-CR-456]-A UBL invoice should not include the PaymentTerms SettlementDiscountPercent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-457\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:PenaltySurchargePercent)\"&gt;[UBL-CR-457]-A UBL invoice should not include the PaymentTerms PenaltySurchargePercent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-458\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:PaymentPercent)\"&gt;[UBL-CR-458]-A UBL invoice should not include the PaymentTerms PaymentPercent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-459\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:Amount)\"&gt;[UBL-CR-459]-A UBL invoice should not include the PaymentTerms Amount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-460\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:SettlementDiscountAmount)\"&gt;[UBL-CR-460]-A UBL invoice should not include the PaymentTerms SettlementDiscountAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-461\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:PenaltyAmount)\"&gt;[UBL-CR-461]-A UBL invoice should not include the PaymentTerms PenaltyAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-462\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:PaymentTermsDetailsURI)\"&gt;[UBL-CR-462]-A UBL invoice should not include the PaymentTerms PaymentTermsDetailsURI&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-463\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:PaymentDueDate)\"&gt;[UBL-CR-463]-A UBL invoice should not include the PaymentTerms PaymentDueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-464\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:InstallmentDueDate)\"&gt;[UBL-CR-464]-A UBL invoice should not include the PaymentTerms InstallmentDueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-465\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cbc:InvoicingPartyReference)\"&gt;[UBL-CR-465]-A UBL invoice should not include the PaymentTerms InvoicingPartyReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-466\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cac:SettlementPeriod)\"&gt;[UBL-CR-466]-A UBL invoice should not include the PaymentTerms SettlementPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-467\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cac:PenaltyPeriod)\"&gt;[UBL-CR-467]-A UBL invoice should not include the PaymentTerms PenaltyPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-468\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cac:ExchangeRate)\"&gt;[UBL-CR-468]-A UBL invoice should not include the PaymentTerms ExchangeRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-469\" flag=\"warning\" test=\"not(cac:PaymentTerms\/cac:ValidityPeriod)\"&gt;[UBL-CR-469]-A UBL invoice should not include the PaymentTerms ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-470\" flag=\"warning\" test=\"not(cac:PrepaidPayment)\"&gt;[UBL-CR-470]-A UBL invoice should not include the PrepaidPayment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-471\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cbc:ID)\"&gt;[UBL-CR-471]-A UBL invoice should not include the AllowanceCharge ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-472\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cbc:PrepaidIndicator)\"&gt;[UBL-CR-472]-A UBL invoice should not include the AllowanceCharge PrepaidIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-473\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cbc:SequenceNumeric)\"&gt;[UBL-CR-473]-A UBL invoice should not include the AllowanceCharge SequenceNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-474\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cbc:AccountingCostCode)\"&gt;[UBL-CR-474]-A UBL invoice should not include the AllowanceCharge AccountingCostCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-475\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cbc:AccountingCost)\"&gt;[UBL-CR-475]-A UBL invoice should not include the AllowanceCharge AccountingCost&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-476\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cbc:PerUnitAmount)\"&gt;[UBL-CR-476]-A UBL invoice should not include the AllowanceCharge PerUnitAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-477\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cbc:Name)\"&gt;[UBL-CR-477]-A UBL invoice should not include the AllowanceCharge TaxCategory Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-478\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cbc:BaseUnitMeasure)\"&gt;[UBL-CR-478]-A UBL invoice should not include the AllowanceCharge TaxCategory BaseUnitMeasure&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-479\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cbc:PerUnitAmount)\"&gt;[UBL-CR-479]-A UBL invoice should not include the AllowanceCharge TaxCategory PerUnitAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-480\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cbc:TaxExemptionReasonCode)\"&gt;[UBL-CR-480]-A UBL invoice should not include the AllowanceCharge TaxCategory TaxExemptionReasonCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-481\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cbc:TaxExemptionReason)\"&gt;[UBL-CR-481]-A UBL invoice should not include the AllowanceCharge TaxCategory TaxExemptionReason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-482\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cbc:TierRange)\"&gt;[UBL-CR-482]-A UBL invoice should not include the AllowanceCharge TaxCategory TierRange&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-483\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cbc:TierRatePercent)\"&gt;[UBL-CR-483]-A UBL invoice should not include the AllowanceCharge TaxCategory TierRatePercent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-484\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cac:TaxScheme\/cbc:Name)\"&gt;[UBL-CR-484]-A UBL invoice should not include the AllowanceCharge TaxCategory TaxScheme Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-485\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cac:TaxScheme\/cbc:TaxTypeCode)\"&gt;[UBL-CR-485]-A UBL invoice should not include the AllowanceCharge TaxCategory TaxScheme TaxTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-486\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cac:TaxScheme\/cbc:CurrencyCode)\"&gt;[UBL-CR-486]-A UBL invoice should not include the AllowanceCharge TaxCategory TaxScheme CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-487\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxCategory\/cac:TaxScheme\/cac:JurisdiccionRegionAddress)\"&gt;[UBL-CR-487]-A UBL invoice should not include the AllowanceCharge TaxCategory TaxScheme JurisdiccionRegionAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-488\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:TaxTotal)\"&gt;[UBL-CR-488]-A UBL invoice should not include the AllowanceCharge TaxTotal&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-489\" flag=\"warning\" test=\"not(cac:AllowanceCharge\/cac:PaymentMeans)\"&gt;[UBL-CR-489]-A UBL invoice should not include the AllowanceCharge PaymentMeans&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-490\" flag=\"warning\" test=\"not(cac:TaxExchangeRate)\"&gt;[UBL-CR-490]-A UBL invoice should not include the TaxExchangeRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-491\" flag=\"warning\" test=\"not(cac:PricingExchangeRate)\"&gt;[UBL-CR-491]-A UBL invoice should not include the PricingExchangeRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-492\" flag=\"warning\" test=\"not(cac:PaymentExchangeRate)\"&gt;[UBL-CR-492]-A UBL invoice should not include the PaymentExchangeRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-493\" flag=\"warning\" test=\"not(cac:PaymentAlternativeExchangeRate)\"&gt;[UBL-CR-493]-A UBL invoice should not include the PaymentAlternativeExchangeRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-494\" flag=\"warning\" test=\"not(cac:TaxTotal\/cbc:RoundingAmount)\"&gt;[UBL-CR-494]-A UBL invoice should not include the TaxTotal RoundingAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-495\" flag=\"warning\" test=\"not(cac:TaxTotal\/cbc:TaxEvidenceIndicator)\"&gt;[UBL-CR-495]-A UBL invoice should not include the TaxTotal TaxEvidenceIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-496\" flag=\"warning\" test=\"not(cac:TaxTotal\/cbc:TaxIncludedIndicator)\"&gt;[UBL-CR-496]-A UBL invoice should not include the TaxTotal TaxIncludedIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-497\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cbc:CalculationSequenceNumeric)\"&gt;[UBL-CR-497]-A UBL invoice should not include the TaxTotal TaxSubtotal CalulationSequenceNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-498\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TransactionCurrencyTaxAmount)\"&gt;[UBL-CR-498]-A UBL invoice should not include the TaxTotal TaxSubtotal TransactionCurrencyTaxAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-499\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cbc:Percent)\"&gt;[UBL-CR-499]-A UBL invoice should not include the TaxTotal TaxSubtotal Percent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-500\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cbc:BaseUnitMeasure)\"&gt;[UBL-CR-500]-A UBL invoice should not include the TaxTotal TaxSubtotal BaseUnitMeasure&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-501\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cbc:PerUnitAmount)\"&gt;[UBL-CR-501]-A UBL invoice should not include the TaxTotal TaxSubtotal PerUnitAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-502\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TierRange)\"&gt;[UBL-CR-502]-A UBL invoice should not include the TaxTotal TaxSubtotal TierRange&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-503\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TierRatePercent)\"&gt;[UBL-CR-503]-A UBL invoice should not include the TaxTotal TaxSubtotal TierRatePercent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-504\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cbc:Name)\"&gt;[UBL-CR-504]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-505\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cbc:BaseUnitMeasure)\"&gt;[UBL-CR-505]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory BaseUnitMeasure&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-506\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cbc:PerUnitAmount)\"&gt;[UBL-CR-506]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory PerUnitAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-507\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cbc:TierRange)\"&gt;[UBL-CR-507]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory TierRange&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-508\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cbc:TierRatePercent)\"&gt;[UBL-CR-508]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory TierRatePercent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-509\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cac:TaxScheme\/cbc:Name)\"&gt;[UBL-CR-509]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory TaxScheme Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-510\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cac:TaxScheme\/cbc:TaxTypeCode)\"&gt;[UBL-CR-510]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory TaxScheme TaxTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-511\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cac:TaxScheme\/cbc:CurrencyCode)\"&gt;[UBL-CR-511]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory TaxScheme CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-512\" flag=\"warning\" test=\"not(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/cac:TaxScheme\/cac:JurisdiccionRegionAddress)\"&gt;[UBL-CR-512]-A UBL invoice should not include the TaxTotal TaxSubtotal TaxCategory TaxScheme JurisdiccionRegionAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-513\" flag=\"warning\" test=\"not(cac:WithholdingTaxTotal)\"&gt;[UBL-CR-513]-A UBL invoice should not include the WithholdingTaxTotal&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-514\" flag=\"warning\" test=\"not(cac:LegalMonetaryTotal\/cbc:PayableAlternativeAmount)\"&gt;[UBL-CR-514]-A UBL invoice should not include the LegalMonetaryTotal PayableAlternativeAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-515\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cbc:UUID)\"&gt;[UBL-CR-515]-A UBL invoice should not include the InvoiceLine UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-516\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cbc:TaxPointDate)\"&gt;[UBL-CR-516]-A UBL invoice should not include the InvoiceLine TaxPointDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-517\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cbc:AccountingCostCode)\"&gt;[UBL-CR-517]-A UBL invoice should not include the InvoiceLine AccountingCostCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-518\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cbc:PaymentPurposeCode)\"&gt;[UBL-CR-518]-A UBL invoice should not include the InvoiceLine PaymentPurposeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-519\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cbc:FreeOfChargeIndicator)\"&gt;[UBL-CR-519]-A UBL invoice should not include the InvoiceLine FreeOfChargeIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-520\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:InvoicePeriod\/cbc:StartTime)\"&gt;[UBL-CR-520]-A UBL invoice should not include the InvoiceLine InvoicePeriod StartTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-521\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:InvoicePeriod\/cbc:EndTime)\"&gt;[UBL-CR-521]-A UBL invoice should not include the InvoiceLine InvoicePeriod EndTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-522\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:InvoicePeriod\/cbc:DurationMeasure)\"&gt;[UBL-CR-522]-A UBL invoice should not include the InvoiceLine InvoicePeriod DurationMeasure&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-523\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:InvoicePeriod\/cbc:DescriptionCode)\"&gt;[UBL-CR-523]-A UBL invoice should not include the InvoiceLine InvoicePeriod DescriptionCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-524\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:InvoicePeriod\/cbc:Description)\"&gt;[UBL-CR-524]-A UBL invoice should not include the InvoiceLine InvoicePeriod Description&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-525\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:OrderLineReference\/cbc:SalesOrderLineID)\"&gt;[UBL-CR-525]-A UBL invoice should not include the InvoiceLine OrderLineReference SalesOrderLineID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-526\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:OrderLineReference\/cbc:UUID)\"&gt;[UBL-CR-526]-A UBL invoice should not include the InvoiceLine OrderLineReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-527\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:OrderLineReference\/cbc:LineStatusCode)\"&gt;[UBL-CR-527]-A UBL invoice should not include the InvoiceLine OrderLineReference LineStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-528\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:OrderLineReference\/cbc:OrderReference)\"&gt;[UBL-CR-528]-A UBL invoice should not include the InvoiceLine OrderLineReference OrderReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-529\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DespatchLineReference)\"&gt;[UBL-CR-529]-A UBL invoice should not include the InvoiceLine DespatchLineReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-530\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:ReceiptLineReference)\"&gt;[UBL-CR-530]-A UBL invoice should not include the InvoiceLine ReceiptLineReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-531\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:BillingReference)\"&gt;[UBL-CR-531]-A UBL invoice should not include the InvoiceLine BillingReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-532\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:CopyIndicator)\"&gt;[UBL-CR-532]-A UBL invoice should not include the InvoiceLine DocumentReference CopyIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-533\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:UUID)\"&gt;[UBL-CR-533]-A UBL invoice should not include the InvoiceLine DocumentReference UUID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-534\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:IssueDate)\"&gt;[UBL-CR-534]-A UBL invoice should not include the InvoiceLine DocumentReference IssueDate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-535\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:IssueTime)\"&gt;[UBL-CR-535]-A UBL invoice should not include the InvoiceLine DocumentReference IssueTime&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-537\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:DocumentType)\"&gt;[UBL-CR-537]-A UBL invoice should not include the InvoiceLine DocumentReference DocumentType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-538\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:Xpath)\"&gt;[UBL-CR-538]-A UBL invoice should not include the InvoiceLine DocumentReference Xpath&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-539\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:LanguageID)\"&gt;[UBL-CR-539]-A UBL invoice should not include the InvoiceLine DocumentReference LanguageID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-540\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:LocaleCode)\"&gt;[UBL-CR-540]-A UBL invoice should not include the InvoiceLine DocumentReference LocaleCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-541\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:VersionID)\"&gt;[UBL-CR-541]-A UBL invoice should not include the InvoiceLine DocumentReference VersionID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-542\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:DocumentStatusCode)\"&gt;[UBL-CR-542]-A UBL invoice should not include the InvoiceLine DocumentReference DocumentStatusCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-543\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cbc:DocumentDescription)\"&gt;[UBL-CR-543]-A UBL invoice should not include the InvoiceLine DocumentReference DocumentDescription&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-544\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cac:Attachment)\"&gt;[UBL-CR-544]-A UBL invoice should not include the InvoiceLine DocumentReference Attachment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-545\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cac:ValidityPeriod)\"&gt;[UBL-CR-545]-A UBL invoice should not include the InvoiceLine DocumentReference ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-546\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cac:IssuerParty)\"&gt;[UBL-CR-546]-A UBL invoice should not include the InvoiceLine DocumentReference IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-547\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DocumentReference\/cac:ResultOfVerification)\"&gt;[UBL-CR-547]-A UBL invoice should not include the InvoiceLine DocumentReference ResultOfVerification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-548\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:PricingReference)\"&gt;[UBL-CR-548]-A UBL invoice should not include the InvoiceLine PricingReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-549\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:OriginatorParty)\"&gt;[UBL-CR-549]-A UBL invoice should not include the InvoiceLine OriginatorParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-550\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Delivery)\"&gt;[UBL-CR-550]-A UBL invoice should not include the InvoiceLine Delivery&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-551\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:PaymentTerms)\"&gt;[UBL-CR-551]-A UBL invoice should not include the InvoiceLine PaymentTerms&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-552\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cbc:ID)\"&gt;[UBL-CR-552]-A UBL invoice should not include the InvoiceLine AllowanceCharge ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-553\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cbc:PrepaidIndicator)\"&gt;[UBL-CR-553]-A UBL invoice should not include the InvoiceLine AllowanceCharge PrepaidIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-554\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cbc:SequenceNumeric)\"&gt;[UBL-CR-554]-A UBL invoice should not include the InvoiceLine AllowanceCharge SequenceNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-555\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cbc:AccountingCostCode)\"&gt;[UBL-CR-555]-A UBL invoice should not include the InvoiceLine AllowanceCharge AccountingCostCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-556\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cbc:AccountingCost)\"&gt;[UBL-CR-556]-A UBL invoice should not include the InvoiceLine AllowanceCharge AccountingCost&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-557\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cbc:PerUnitAmount)\"&gt;[UBL-CR-557]-A UBL invoice should not include the InvoiceLine AllowanceCharge PerUnitAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-558\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cac:TaxCategory)\"&gt;[UBL-CR-558]-A UBL invoice should not include the InvoiceLine AllowanceCharge TaxCategory&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-559\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cac:TaxTotal)\"&gt;[UBL-CR-559]-A UBL invoice should not include the InvoiceLine AllowanceCharge TaxTotal&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-560\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:AllowanceCharge\/cac:PaymentMeans)\"&gt;[UBL-CR-560]-A UBL invoice should not include the InvoiceLine AllowanceCharge PaymentMeans&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-561\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:TaxTotal)\"&gt;[UBL-CR-561]-A UBL invoice should not include the InvoiceLine TaxTotal&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-562\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:WithholdingTaxTotal)\"&gt;[UBL-CR-562]-A UBL invoice should not include the InvoiceLine WithholdingTaxTotal&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-563\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:PackQuantity)\"&gt;[UBL-CR-563]-A UBL invoice should not include the InvoiceLine Item PackQuantity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-564\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:PackSizeNumeric)\"&gt;[UBL-CR-564]-A UBL invoice should not include the InvoiceLine Item PackSizeNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-565\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:CatalogueIndicator)\"&gt;[UBL-CR-565]-A UBL invoice should not include the InvoiceLine Item CatalogueIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-566\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:HazardousRiskIndicator)\"&gt;[UBL-CR-566]-A UBL invoice should not include the InvoiceLine Item HazardousRiskIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-567\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:AdditionalInformation)\"&gt;[UBL-CR-567]-A UBL invoice should not include the InvoiceLine Item AdditionalInformation&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-568\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:Keyword)\"&gt;[UBL-CR-568]-A UBL invoice should not include the InvoiceLine Item Keyword&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-569\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:BrandName)\"&gt;[UBL-CR-569]-A UBL invoice should not include the InvoiceLine Item BrandName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-570\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cbc:ModelName)\"&gt;[UBL-CR-570]-A UBL invoice should not include the InvoiceLine Item ModelName&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-571\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:BuyersItemIdentification\/cbc:ExtendedID)\"&gt;[UBL-CR-571]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification ExtendedID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-572\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:BuyersItemIdentification\/cbc:BareCodeSymbologyID)\"&gt;[UBL-CR-572]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification BareCodeSymbologyID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-573\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:BuyersItemIdentification\/cac:PhysicalAttribute)\"&gt;[UBL-CR-573]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification PhysicalAttribute&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-574\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:BuyersItemIdentification\/cac:MeasurementDimension)\"&gt;[UBL-CR-574]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification MeasurementDimension&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-575\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:BuyersItemIdentification\/cac:IssuerParty)\"&gt;[UBL-CR-575]-A UBL invoice should not include the InvoiceLine Item BuyersItemIdentification IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-576\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:SellersItemIdentification\/cbc:ExtendedID)\"&gt;[UBL-CR-576]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification ExtendedID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-577\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:SellersItemIdentification\/cbc:BareCodeSymbologyID)\"&gt;[UBL-CR-577]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification BareCodeSymbologyID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-578\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:SellersItemIdentification\/cac:PhysicalAttribute)\"&gt;[UBL-CR-578]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification PhysicalAttribute&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-579\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:SellersItemIdentification\/cac:MeasurementDimension)\"&gt;[UBL-CR-579]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification MeasurementDimension&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-580\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:SellersItemIdentification\/cac:IssuerParty)\"&gt;[UBL-CR-580]-A UBL invoice should not include the InvoiceLine Item SellersItemIdentification IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-581\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ManufacturersItemIdentification)\"&gt;[UBL-CR-581]-A UBL invoice should not include the InvoiceLine Item ManufacturersItemIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-582\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:StandardItemIdentification\/cbc:ExtendedID)\"&gt;[UBL-CR-582]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification ExtendedID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-583\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:StandardItemIdentification\/cbc:BareCodeSymbologyID)\"&gt;[UBL-CR-583]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification BareCodeSymbologyID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-584\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:StandardItemIdentification\/cac:PhysicalAttribute)\"&gt;[UBL-CR-584]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification PhysicalAttribute&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-585\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:StandardItemIdentification\/cac:MeasurementDimension)\"&gt;[UBL-CR-585]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification MeasurementDimension&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-586\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:StandardItemIdentification\/cac:IssuerParty)\"&gt;[UBL-CR-586]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification IssuerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-587\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:CatalogueItemIdentification)\"&gt;[UBL-CR-587]-A UBL invoice should not include the InvoiceLine Item CatalogueItemIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-588\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemIdentification)\"&gt;[UBL-CR-588]-A UBL invoice should not include the InvoiceLine Item AdditionalItemIdentification&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-589\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:CatalogueDocumentReference)\"&gt;[UBL-CR-589]-A UBL invoice should not include the InvoiceLine Item CatalogueDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-590\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ItemSpecificationDocumentReference)\"&gt;[UBL-CR-590]-A UBL invoice should not include the InvoiceLine Item ItemSpecificationDocumentReference&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-591\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:OriginCountry\/cbc:Name)\"&gt;[UBL-CR-591]-A UBL invoice should not include the InvoiceLine Item OriginCountry Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-592\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:CommodityClassification\/cbc:NatureCode)\"&gt;[UBL-CR-592]-A UBL invoice should not include the InvoiceLine Item CommodityClassification NatureCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-593\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:CommodityClassification\/cbc:CargoTypeCode)\"&gt;[UBL-CR-593]-A UBL invoice should not include the InvoiceLine Item CommodityClassification CargoTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-594\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:CommodityClassification\/cbc:CommodityCode)\"&gt;[UBL-CR-594]-A UBL invoice should not include the InvoiceLine Item CommodityClassification CommodityCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-595\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:TransactionConditions)\"&gt;[UBL-CR-595]-A UBL invoice should not include the InvoiceLine Item TransactionConditions&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-596\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:HazardousItem)\"&gt;[UBL-CR-596]-A UBL invoice should not include the InvoiceLine Item HazardousItem&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-597\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:Name)\"&gt;[UBL-CR-597]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-598\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:BaseUnitMeasure)\"&gt;[UBL-CR-598]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory BaseUnitMeasure&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-599\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:PerUnitAmount)\"&gt;[UBL-CR-599]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory PerUnitAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-600\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:TaxExemptionReasonCode)\"&gt;[UBL-CR-600]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TaxExemptionReasonCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-601\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:TaxExemptionReason)\"&gt;[UBL-CR-601]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TaxExemptionReason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-602\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:TierRange)\"&gt;[UBL-CR-602]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TierRange&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-603\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cbc:TierRatePercent)\"&gt;[UBL-CR-603]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TierRatePercent&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-604\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cac:TaxScheme\/cbc:Name)\"&gt;[UBL-CR-604]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TaxScheme Name&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-605\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cac:TaxScheme\/cbc:TaxTypeCode)\"&gt;[UBL-CR-605]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TaxScheme TaxTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-606\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cac:TaxScheme\/cbc:CurrencyCode)\"&gt;[UBL-CR-606]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TaxScheme CurrencyCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-607\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ClassifiedTaxCategory\/cac:TaxScheme\/cac:JurisdiccionRegionAddress)\"&gt;[UBL-CR-607]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory TaxScheme JurisdiccionRegionAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-608\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cbc:ID)\"&gt;[UBL-CR-608]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-609\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cbc:NameCode)\"&gt;[UBL-CR-609]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty NameCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-610\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cbc:TestMethod)\"&gt;[UBL-CR-610]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty TestMethod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-611\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cbc:ValueQuantity)\"&gt;[UBL-CR-611]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty ValueQuantity&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-612\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cbc:ValueQualifier)\"&gt;[UBL-CR-612]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty ValueQualifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-613\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cbc:ImportanceCode)\"&gt;[UBL-CR-613]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty ImportanceCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-614\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cbc:ListValue)\"&gt;[UBL-CR-614]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty ListValue&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-615\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cac:UsabilityPeriod)\"&gt;[UBL-CR-615]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty UsabilityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-616\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cac:ItemPropertyGroup)\"&gt;[UBL-CR-616]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty ItemPropertyGroup&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-617\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cac:RangeDimension)\"&gt;[UBL-CR-617]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty RangeDimension&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-618\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:AdditionalItemProperty\/cac:ItemPropertyRange)\"&gt;[UBL-CR-618]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty ItemPropertyRange&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-619\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ManufacturerParty)\"&gt;[UBL-CR-619]-A UBL invoice should not include the InvoiceLine Item ManufacturerParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-620\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:InformationContentProviderParty)\"&gt;[UBL-CR-620]-A UBL invoice should not include the InvoiceLine Item InformationContentProviderParty&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-621\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:OriginAddress)\"&gt;[UBL-CR-621]-A UBL invoice should not include the InvoiceLine Item OriginAddress&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-622\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:ItemInstance)\"&gt;[UBL-CR-622]-A UBL invoice should not include the InvoiceLine Item ItemInstance&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-623\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Certificate)\"&gt;[UBL-CR-623]-A UBL invoice should not include the InvoiceLine Item Certificate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-624\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Dimension)\"&gt;[UBL-CR-624]-A UBL invoice should not include the InvoiceLine Item Dimension&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-625\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cbc:PriceChangeReason)\"&gt;[UBL-CR-625]-A UBL invoice should not include the InvoiceLine Item Price PriceChangeReason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-626\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cbc:PriceTypeCode)\"&gt;[UBL-CR-626]-A UBL invoice should not include the InvoiceLine Item Price PriceTypeCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-627\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cbc:PriceType)\"&gt;[UBL-CR-627]-A UBL invoice should not include the InvoiceLine Item Price PriceType&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-628\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cbc:OrderableUnitFactorRate)\"&gt;[UBL-CR-628]-A UBL invoice should not include the InvoiceLine Item Price OrderableUnitFactorRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-629\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cbc:ValidityPeriod)\"&gt;[UBL-CR-629]-A UBL invoice should not include the InvoiceLine Item Price ValidityPeriod&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-630\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cbc:PriceList)\"&gt;[UBL-CR-630]-A UBL invoice should not include the InvoiceLine Item Price PriceList&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-631\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cbc:OrderableUnitFactorRate)\"&gt;[UBL-CR-631]-A UBL invoice should not include the InvoiceLine Item Price OrderableUnitFactorRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-632\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:ID)\"&gt;[UBL-CR-632]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge ID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-633\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:AllowanceChargeReasonCode)\"&gt;[UBL-CR-633]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge AllowanceChargeReasonCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-634\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:AllowanceChargeReason)\"&gt;[UBL-CR-634]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge AllowanceChargeReason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-635\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:MultiplierFactorNumeric)\"&gt;[UBL-CR-635]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge MultiplierFactorNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-636\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:PrepaidIndicator)\"&gt;[UBL-CR-636]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge PrepaidIndicator&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-637\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:SequenceNumeric)\"&gt;[UBL-CR-637]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge SequenceNumeric&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-638\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:AccountingCostCode)\"&gt;[UBL-CR-638]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge AccountingCostCode&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-639\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:AccountingCost)\"&gt;[UBL-CR-639]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge AccountingCost&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-640\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cbc:PerUnitAmount)\"&gt;[UBL-CR-640]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge PerUnitAmount&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-641\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cac:TaxCategory)\"&gt;[UBL-CR-641]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge TaxCategory&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-642\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cac:TaxTotal)\"&gt;[UBL-CR-642]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge TaxTotal&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-643\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:AllowanceCharge\/cac:PaymentMeans)\"&gt;[UBL-CR-643]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge PaymentMeans&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-644\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:Item\/cac:Price\/cac:PricingExchangeRate)\"&gt;[UBL-CR-644]-A UBL invoice should not include the InvoiceLine Item Price PricingExchangeRate&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-645\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:DeliveryTerms)\"&gt;[UBL-CR-645]-A UBL invoice should not include the InvoiceLine DeliveryTerms&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-646\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:SubInvoiceLine)\"&gt;[UBL-CR-646]-A UBL invoice should not include the InvoiceLine SubInvoiceLine&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-647\" flag=\"warning\" test=\"not((cac:InvoiceLine|cac:CreditNoteLine)\/cac:ItemPriceExtension)\"&gt;[UBL-CR-647]-A UBL invoice should not include the InvoiceLine ItemPriceExtension&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-648\" flag=\"warning\" test=\"not(cbc:CustomizationID\/@schemeID)\"&gt;[UBL-CR-648]-A UBL invoice should not include the CustomizationID scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-649\" flag=\"warning\" test=\"not(cbc:ProfileID\/@schemeID)\"&gt;[UBL-CR-649]-A UBL invoice should not include the ProfileID scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-650\" flag=\"warning\" test=\"not(cbc:ID\/@schemeID)\"&gt;[UBL-CR-650]-A UBL invoice shall not include the Invoice ID scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-651\" flag=\"warning\" test=\"not(cbc:SalesOrderID\/@schemeID)\"&gt;[UBL-CR-651]-A UBL invoice should not include the SalesOrderID scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-652\" flag=\"warning\" test=\"not(\/\/cac:PartyTaxScheme\/cbc:CompanyID\/@schemeID)\"&gt;[UBL-CR-652]-A UBL invoice should not include the PartyTaxScheme CompanyID scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-653\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cbc:PaymentID\/@schemeID)\"&gt;[UBL-CR-653]-A UBL invoice should not include the PaymentID scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-654\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-654]-A UBL invoice should not include the PayeeFinancialAccount scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-655\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cac:PayeeFinancialAccount\/cac:FinancialInstitutionBranch\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-655]-A UBL invoice shall not include the FinancialInstitutionBranch ID scheme identifier&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-656\" flag=\"warning\" test=\"not(cbc:InvoiceTypeCode\/@listID)\"&gt;[UBL-CR-656]-A UBL invoice should not include the InvoiceTypeCode listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-657\" flag=\"warning\" test=\"not(cbc:DocumentCurrencyCode\/@listID)\"&gt;[UBL-CR-657]-A UBL invoice should not include the DocumentCurrencyCode listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-658\" flag=\"warning\" test=\"not(cbc:TaxCurrencyCode\/@listID)\"&gt;[UBL-CR-658]-A UBL invoice should not include the TaxCurrencyCode listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-659\" flag=\"warning\" test=\"not(cac:AdditionalDocumentReference\/cbc:DocumentTypeCode\/@listID)\"&gt;[UBL-CR-659]-A UBL invoice shall not include the AdditionalDocumentReference DocumentTypeCode listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-660\" flag=\"warning\" test=\"not(\/\/cac:Country\/cbc:IdentificationCode\/@listID)\"&gt;[UBL-CR-660]-A UBL invoice should not include the Country Identification code listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-661\" flag=\"warning\" test=\"not(cac:PaymentMeans\/cbc:PaymentMeansCode\/@listID)\"&gt;[UBL-CR-661]-A UBL invoice should not include the PaymentMeansCode listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-662\" flag=\"warning\" test=\"not(\/\/cbc:AllowanceChargeReasonCode\/@listID)\"&gt;[UBL-CR-662]-A UBL invoice should not include the AllowanceChargeReasonCode listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-663\" flag=\"warning\" test=\"not(\/\/@unitCodeListID)\"&gt;[UBL-CR-663]-A UBL invoice should not include the unitCodeListID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-664\" flag=\"warning\" test=\"not(\/\/cac:FinancialInstitution)\"&gt;[UBL-CR-664]-A UBL invoice should not include the FinancialInstitutionBranch FinancialInstitution&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-665\" flag=\"warning\" test=\"not(\/\/cac:AdditionalDocumentReference[cbc:DocumentTypeCode  != '130' or not(cbc:DocumentTypeCode)]\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-665]-A UBL invoice should not include the AdditionalDocumentReference ID schemeID unless the ID equals '130'&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-666\" flag=\"fatal\" test=\"not(\/\/cac:AdditionalDocumentReference[cbc:DocumentTypeCode  = '130']\/cac:Attachment)\"&gt;[UBL-CR-666]-A UBL invoice should not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-667\" flag=\"warning\" test=\"not(\/\/cac:BuyersItemIdentification\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-667]-A UBL invoice should not include a Buyer Item Identification schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-668\" flag=\"warning\" test=\"not(\/\/cac:SellersItemIdentification\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-668]-A UBL invoice should not include a Sellers Item Identification schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-669\" flag=\"warning\" test=\"not(\/\/cac:Price\/cac:AllowanceCharge\/cbc:AllowanceChargeReasonCode)\"&gt;[UBL-CR-669]-A UBL invoice should not include a Price Allowance Reason Code&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-670\" flag=\"warning\" test=\"not(\/\/cac:Price\/cac:AllowanceCharge\/cbc:AllowanceChargeReason)\"&gt;[UBL-CR-670]-A UBL invoice should not include a Price Allowance Reason&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-671\" flag=\"warning\" test=\"not(\/\/cac:Price\/cac:AllowanceCharge\/cbc:MultiplierFactorNumeric)\"&gt;[UBL-CR-671]-A UBL invoice should not include a Price Allowance Multiplier Factor&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-672\" flag=\"warning\" test=\"not(cbc:CreditNoteTypeCode\/@listID)\"&gt;[UBL-CR-672]-A UBL credit note should not include the CreditNoteTypeCode listID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-673\" flag=\"fatal\" test=\"not(\/\/cac:AdditionalDocumentReference[cbc:DocumentTypeCode  = '130']\/cbc:DocumentDescription)\"&gt;[UBL-CR-673]-A UBL invoice should not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Document Description&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-674\" flag=\"warning\" test=\"not(\/\/cbc:PrimaryAccountNumber\/@schemeID)\"&gt;[UBL-CR-674]-A UBL invoice should not include the PrimaryAccountNumber schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-675\" flag=\"warning\" test=\"not(\/\/cac:CardAccount\/cbc:NetworkID\/@schemeID)\"&gt;[UBL-CR-675]-A UBL invoice should not include the NetworkID schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-676\" flag=\"warning\" test=\"not(\/\/cac:PaymentMandate\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-676]-A UBL invoice should not include the PaymentMandate\/ID schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-677\" flag=\"warning\" test=\"not(\/\/cac:PaymentMandate\/cac:PayerFinancialAccount\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-677]-A UBL invoice should not include the PayerFinancialAccount\/ID schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-678\" flag=\"warning\" test=\"not(\/\/cac:TaxCategory\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-678]-A UBL invoice should not include the TaxCategory\/ID schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-CR-679\" flag=\"warning\" test=\"not(\/\/cac:ClassifiedTaxCategory\/cbc:ID\/@schemeID)\"&gt;[UBL-CR-679]-A UBL invoice should not include the ClassifiedTaxCategory\/ID schemeID&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-08\" flag=\"warning\" test=\"not(\/\/@schemeName)\"&gt;[UBL-DT-08]-Scheme name attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-09\" flag=\"warning\" test=\"not(\/\/@schemeAgencyName)\"&gt;[UBL-DT-09]-Scheme agency name attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-10\" flag=\"warning\" test=\"not(\/\/@schemeDataURI)\"&gt;[UBL-DT-10]-Scheme data uri attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-11\" flag=\"warning\" test=\"not(\/\/@schemeURI)\"&gt;[UBL-DT-11]-Scheme uri attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-12\" flag=\"warning\" test=\"not(\/\/@format)\"&gt;[UBL-DT-12]-Format attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-13\" flag=\"warning\" test=\"not(\/\/@unitCodeListIdentifier)\"&gt;[UBL-DT-13]-Unit code list identifier attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-14\" flag=\"warning\" test=\"not(\/\/@unitCodeListAgencyIdentifier)\"&gt;[UBL-DT-14]-Unit code list agency identifier attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-15\" flag=\"warning\" test=\"not(\/\/@unitCodeListAgencyName)\"&gt;[UBL-DT-15]-Unit code list agency name attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-16\" flag=\"warning\" test=\"not(\/\/@listAgencyName)\"&gt;[UBL-DT-16]-List agency name attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-17\" flag=\"warning\" test=\"not(\/\/@listName)\"&gt;[UBL-DT-17]-List name attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-18\" flag=\"warning\" test=\"count(\/\/@name) - count(\/\/cbc:PaymentMeansCode\/@name) &amp;lt;= 0\"&gt;[UBL-DT-18]-Name attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-19\" flag=\"warning\" test=\"not(\/\/@languageID)\"&gt;[UBL-DT-19]-Language identifier attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-20\" flag=\"warning\" test=\"not(\/\/@listURI)\"&gt;[UBL-DT-20]-List uri attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-21\" flag=\"warning\" test=\"not(\/\/@listSchemeURI)\"&gt;[UBL-DT-21]-List scheme uri attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-22\" flag=\"warning\" test=\"not(\/\/@languageLocaleID)\"&gt;[UBL-DT-22]-Language local identifier attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-23\" flag=\"warning\" test=\"not(\/\/@uri)\"&gt;[UBL-DT-23]-Uri attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-24\" flag=\"warning\" test=\"not(\/\/@currencyCodeListVersionID)\"&gt;[UBL-DT-24]-Currency code list version id should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-25\" flag=\"warning\" test=\"not(\/\/@characterSetCode)\"&gt;[UBL-DT-25]-CharacterSetCode attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-26\" flag=\"warning\" test=\"not(\/\/@encodingCode)\"&gt;[UBL-DT-26]-EncodingCode attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-27\" flag=\"warning\" test=\"not(\/\/@schemeAgencyID)\"&gt;[UBL-DT-27]-Scheme Agency ID attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-DT-28\" flag=\"warning\" test=\"not(\/\/@listAgencyID)\"&gt;[UBL-DT-28]-List Agency ID attribute should not be present&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-01\" flag=\"warning\" test=\"(count(cac:ContractDocumentReference\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-01]-Contract identifier shall occur maximum once.&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-02\" flag=\"warning\" test=\"(count(cac:ReceiptDocumentReference\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-02]-Receive advice identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-03\" flag=\"warning\" test=\"(count(cac:DespatchDocumentReference\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-03]-Despatch advice identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-04\" flag=\"warning\" test=\"(count(cac:AdditionalDocumentReference[cbc:DocumentTypeCode='130']\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-04]-Invoice object identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-05\" flag=\"warning\" test=\"(count(cac:PaymentTerms\/cbc:Note) &amp;lt;= 1)\"&gt;[UBL-SR-05]-Payment terms shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-06\" flag=\"warning\" test=\"(count(cac:InvoiceDocumentReference) &amp;lt;= 1)\"&gt;[UBL-SR-06]-Preceding invoice reference shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-08\" flag=\"warning\" test=\"(count(cac:InvoicePeriod) &amp;lt;= 1)\"&gt;[UBL-SR-08]-Invoice period shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-09\" flag=\"warning\" test=\"(count(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationName) &amp;lt;= 1)\"&gt;[UBL-SR-09]-Seller name shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-10\" flag=\"warning\" test=\"(count(cac:AccountingSupplierParty\/cac:Party\/cac:PartyName\/cbc:Name) &amp;lt;= 1)\"&gt;[UBL-SR-10]-Seller trader name shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-11\" flag=\"warning\" test=\"(count(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyID) &amp;lt;= 1)\"&gt;[UBL-SR-11]-Seller legal registration identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-12\" flag=\"warning\" test=\"(count(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme[cac:TaxScheme\/upper-case(cbc:ID)='VAT']\/cbc:CompanyID) &amp;lt;= 1)\"&gt;[UBL-SR-12]-Seller VAT identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-13\" flag=\"warning\" test=\"(count(cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme[cac:TaxScheme\/upper-case(cbc:ID)!='VAT']\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-13]-Seller tax registration shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-14\" flag=\"warning\" test=\"(count(cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyLegalForm) &amp;lt;= 1)\"&gt;[UBL-SR-14]-Seller additional legal information shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-15\" flag=\"warning\" test=\"(count(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationName) &amp;lt;= 1)\"&gt;[UBL-SR-15]-Buyer name shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-16\" flag=\"warning\" test=\"(count(cac:AccountingCustomerParty\/cac:Party\/cac:PartyIdentification\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-16]-Buyer identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-17\" flag=\"warning\" test=\"(count(cac:AccountingCustomerParty\/cac:Party\/cac:PartyLegalEntity\/cbc:CompanyID) &amp;lt;= 1)\"&gt;[UBL-SR-17]-Buyer legal registration identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-18\" flag=\"warning\" test=\"(count(cac:AccountingCustomerParty\/cac:Party\/cac:PartyTaxScheme[cac:TaxScheme\/upper-case(cbc:ID)='VAT']\/cbc:CompanyID) &amp;lt;= 1)\"&gt;[UBL-SR-18]-Buyer VAT identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-24\" flag=\"warning\" test=\"(count(cac:Delivery) &amp;lt;= 1)\"&gt;[UBL-SR-24]-Deliver to information shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-29\" flag=\"warning\" test=\"(count(\/\/cac:PartyIdentification\/cbc:ID[upper-case(@schemeID) = 'SEPA']) &amp;lt;= 1)\"&gt;[UBL-SR-29]-Bank creditor reference shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-39\" flag=\"warning\" test=\"(count(cac:ProjectReference\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-39]-Project reference shall occur maximum once.&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-40\" flag=\"warning\" test=\"(count(cac:AccountingCustomerParty\/cac:Party\/cac:PartyName\/cbc:Name) &amp;lt;= 1)\"&gt;[UBL-SR-40]-Buyer trade name shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-44\" flag=\"warning\" test=\"count(\/\/cbc:PaymentID[not(preceding::cbc:PaymentID\/. = .)]) &amp;lt;= 1\"&gt;[UBL-SR-44]-Payment ID shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-45\" flag=\"warning\" test=\"(count(cac:PaymentMeans\/cbc:PaymentDueDate) &amp;lt;=1)\"&gt;[UBL-SR-45]-Due Date shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-46\" flag=\"warning\" test=\"(count(cac:PaymentMeans\/cbc:PaymentMeansCode\/@name) &amp;lt;=1)\"&gt;[UBL-SR-46]-Payment means text shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-47\" flag=\"warning\" test=\"count(\/\/cbc:PaymentMeansCode[not(preceding::cbc:PaymentMeansCode\/. = .)]) &amp;lt;= 1\"&gt;[UBL-SR-47]-When there are more than one payment means code, they shall be equal&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-49\" flag=\"warning\" test=\"(count(cac:InvoicePeriod\/cbc:DescriptionCode) &amp;lt;=1)\"&gt;[UBL-SR-49]-Value tax point date shall occur maximum once&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:InvoiceLine | cac:CreditNoteLine\"&gt;\r\n      &lt;assert id=\"UBL-SR-34\" flag=\"warning\" test=\"(count(cbc:Note) &amp;lt;= 1)\"&gt;[UBL-SR-34]-Invoice line note shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-35\" flag=\"warning\" test=\"(count(cac:OrderLineReference\/cbc:LineID) &amp;lt;= 1)\"&gt;[UBL-SR-35]-Referenced purchase order line identifier shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-36\" flag=\"warning\" test=\"(count(cac:InvoicePeriod) &amp;lt;= 1)\"&gt;[UBL-SR-36]-Invoice line period shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-37\" flag=\"warning\" test=\"(count(cac:Price\/cac:AllowanceCharge\/cbc:Amount) &amp;lt;= 1)\"&gt;[UBL-SR-37]-Item price discount shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-38\" flag=\"warning\" test=\"(count(cac:Item\/cac:ClassifiedTaxCategory\/cbc:TaxExemptionReason) &amp;lt;= 1)\"&gt;[UBL-SR-38]-Invoiced item VAT exemption reason text shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-48\" flag=\"warning\" test=\"count(cac:Item\/cac:ClassifiedTaxCategory) = 1\"&gt;[UBL-SR-48]-Invoice lines shall have one and only one classified tax category.&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-50\" flag=\"warning\" test=\"count(cac:Item\/cbc:Description) &amp;lt;= 1\"&gt;[UBL-SR-50]-Item description shall occur maximum once&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:PayeeParty\"&gt;\r\n      &lt;assert id=\"UBL-SR-19\" flag=\"warning\" test=\"(count(cac:PartyName\/cbc:Name) &amp;lt;= 1) and ((cac:PartyName\/cbc:Name) != (..\/cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationName))\"&gt;[UBL-SR-19]-Payee name shall occur maximum once, if the Payee is different from the Seller&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-20\" flag=\"warning\" test=\"(count(cac:PartyIdentification\/cbc:ID[upper-case(@schemeID) != 'SEPA']) &amp;lt;= 1) and ((cac:PartyName\/cbc:Name) != (..\/cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationName))\"&gt;[UBL-SR-20]-Payee identifier shall occur maximum once, if the Payee is different from the Seller&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-21\" flag=\"warning\" test=\"(count(cac:PartyLegalEntity\/cbc:CompanyID) &amp;lt;= 1) and ((cac:PartyName\/cbc:Name) != (..\/cac:AccountingSupplierParty\/cac:Party\/cac:PartyLegalEntity\/cbc:RegistrationName))\"&gt;[UBL-SR-21]-Payee legal registration identifier shall occur maximum once, if the Payee is different from the Seller&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:PaymentMeans\"&gt;\r\n      &lt;assert id=\"UBL-SR-26\" flag=\"warning\" test=\"(count(cbc:PaymentID) &amp;lt;= 1)\"&gt;[UBL-SR-26]-Payment reference shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-27\" flag=\"warning\" test=\"(count(cbc:InstructionNote) &amp;lt;= 1)\"&gt;[UBL-SR-27]-Payment means text shall occur maximum once&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-28\" flag=\"warning\" test=\"(count(cac:PaymentMandate\/cbc:ID) &amp;lt;= 1)\"&gt;[UBL-SR-28]-Mandate reference identifier shall occur maximum once&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:BillingReference\"&gt;\r\n      &lt;assert id=\"UBL-SR-07\" flag=\"warning\" test=\"(cac:InvoiceDocumentReference\/cbc:ID)\"&gt;[UBL-SR-07]-If there is a preceding invoice reference, the preceding invoice number shall be present&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:TaxRepresentativeParty\"&gt;\r\n      &lt;assert id=\"UBL-SR-22\" flag=\"warning\" test=\"(count(cac:Party\/cac:PartyName\/cbc:Name) &amp;lt;= 1)\"&gt;[UBL-SR-22]-Seller tax representative name shall occur maximum once, if the Seller has a tax representative&lt;\/assert&gt;\r\n      &lt;assert id=\"UBL-SR-23\" flag=\"warning\" test=\"(count(cac:Party\/cac:PartyTaxScheme\/cbc:CompanyID) &amp;lt;= 1)\"&gt;[UBL-SR-23]-Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representative&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n    &lt;rule context=\"cac:TaxSubtotal\"&gt;\r\n      &lt;assert id=\"UBL-SR-32\" flag=\"warning\" test=\"(count(cac:TaxCategory\/cbc:TaxExemptionReason) &amp;lt;= 1)\"&gt;[UBL-SR-32]-VAT exemption reason text shall occur maximum once&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n  &lt;\/pattern&gt;\r\n&lt;\/schema&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Views: 105CEF\u306eGitHub\uff08ConnectingEurope\/eInvoicing-EN16931\uff09\u306b\u306f\u3001Helger\u3055\u3093\u305f\u3061\u304c\u958b\u767a\u3055\u308c\u305f\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u78ba\u8a8d\u3057\u3066JP- [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5859,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[45,49],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/5851"}],"collection":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5851"}],"version-history":[{"count":24,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/5851\/revisions"}],"predecessor-version":[{"id":5878,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/5851\/revisions\/5878"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/media\/5859"}],"wp:attachment":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}