{"id":5249,"date":"2021-10-23T15:32:58","date_gmt":"2021-10-23T06:32:58","guid":{"rendered":"https:\/\/www.sambuichi.jp\/?p=5249"},"modified":"2021-10-24T10:20:14","modified_gmt":"2021-10-24T01:20:14","slug":"open-peppol%e8%a6%81%e7%b4%a0%e3%81%ae%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%97%e5%9b%9e%e6%95%b0%e3%81%a8ubl%e5%ae%9a%e7%be%a9%e3%81%8c%e9%81%95%e3%81%86%e3%81%a8%e3%81%8d%e3%81%ae%e8%aa%bf%e6%95%b4","status":"publish","type":"post","link":"https:\/\/www.sambuichi.jp\/?p=5249","title":{"rendered":"Open Peppol\u3068UBL\u3067\u7e70\u8fd4\u3057\u304c\u9055\u3046\u3068\u304d"},"content":{"rendered":"<p>Views: 43<\/p><p>Open Peppol\u306e\u30b3\u30a2\u30a4\u30f3\u30dc\u30a4\u30b9\u30e2\u30c7\u30eb\u306f\u3001UBL 2.1\u3078\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u308b\u304c\u3001\u5bfe\u5fdc\u3059\u308bXML\u8981\u7d20\u306e\u7e70\u308a\u8fd4\u3057\u56de\u6570\u306eUBL\u3067\u306e\u5b9a\u7fa9\u304c\u5fc5\u305a\u3057\u3082\u30e2\u30c7\u30eb\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u4fdd\u8a3c\u306f\u7121\u304f\u3001\u4e0d\u4e00\u81f4\u306e\u5834\u5408\u306e\u5bfe\u5fdc\u304c\u5fc5\u8981\u3068\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n<h2>\u7e70\u8fd4\u3057\u56de\u6570\u5236\u9650\u306e\u9055\u3044\u306e\u56de\u907f\u7b56<\/h2>\n<p><strong>CEN\/TS 16931-3-1<\/strong>\u306f\u3001\u7e70\u8fd4\u3057\u56de\u6570\u5236\u9650\u306e\u9055\u3044\u306e\u56de\u907f\u7b56\u3092\u898f\u5b9a\u3057\u3066\u3044\u308b\u3002<br \/>\n\u7e70\u8fd4\u3057\u56de\u6570\u5236\u9650\u306e\u554f\u984c\u3092\u56de\u907f\u3059\u308b\u306b\u306f\u3001\u7e70\u8fd4\u3057\u56de\u6570\u5236\u9650\u306e\u554f\u984c\u306b\u57fa\u3065\u304f\u30eb\u30fc\u30eb\u304c\u5fc5\u8981\u3002<\/p>\n<table>\n<tr>\n<td>ID<\/td>\n<td>Peppol<br \/>UBL<\/td>\n<td>\u554f\u984c<\/td>\n<td>\u5bfe\u7b56<\/td>\n<\/tr>\n<tr>\n<td>CAR1<\/td>\n<td>\u4efb\u610f\uff080..x\uff09\u5fc5\u9808\uff081..x\uff09<\/td>\n<td>\u5024\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3001UBL\u30b9\u30ad\u30fc\u30de\u691c\u8a3c\u3067\u30a8\u30e9\u30fc<\/td>\n<td>\u300c\u6b20\u843d\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u300d\uff08\u4f8b\uff1a0\u30011-1-1970\u3001AAA\uff09<\/td>\n<\/tr>\n<tr>\n<td>CAR2<\/td>\n<td>\u5fc5\u9808\uff081..x\uff09\u4efb\u610f\uff080..x\uff09<\/td>\n<td>\u306a\u3057<\/td>\n<td>\u8981\u7d20\u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3079\u306a\u3089\u306a\u3044\u3068\u3044\u3046\u30eb\u30fc\u30eb\u3092\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u306b\u8ffd\u52a0<\/td>\n<\/tr>\n<tr>\n<td>CAR3<\/td>\n<td>\u5358\u6570\uff08x..1\uff09\u8907\u6570\uff08x..n\uff09<\/td>\n<td>\u306a\u3057<\/td>\n<td>\u8981\u7d20\u304c\u7e70\u308a\u8fd4\u3055\u308c\u306a\u3044\u3068\u3044\u3046\u30eb\u30fc\u30eb\u3092\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u306b\u8ffd\u52a0<\/td>\n<\/tr>\n<tr>\n<td>CAR4<\/td>\n<td>\u8907\u6570\uff08x..n\uff09\u5358\u6570\uff08x..1\uff09<\/td>\n<td>\u7e70\u8fd4\u3059\u8981\u7d20\u306f\u51e6\u7406\u3067\u304d\u306a\u3044<\/td>\n<td>1\uff09\u53ef\u80fd\u3067\u3042\u308c\u3070\u3001\u89aa\u8981\u7d20\u3092\u7e70\u308a\u8fd4\u3059\u3002<br \/>\n2\uff09\u30c6\u30ad\u30b9\u30c8\u8981\u7d20\u306e\u5834\u5408\u3001\u7e70\u308a\u8fd4\u3057\u8981\u7d20\u3092\u9023\u7d50\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>CAR5<\/td>\n<td>\u672a\u5b9a\u7fa9<br \/>\u5fc5\u9808<\/td>\n<td>\u554f\u984c<\/td>\n<td>\u300c\u6b20\u843d\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u300d\u306b\u540c\u610f\u3059\u308b\uff08\u4f8b\uff1a0\u30011-1-1970\u3001AAA\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u30fc<\/td>\n<td>\u672a\u5b9a\u7fa9<br \/>\u4efb\u610f<\/td>\n<td>\u8b66\u544a<\/td>\n<td>\u51e6\u7406\u3055\u308c\u306a\u3044<\/td>\n<\/tr>\n<\/table>\n<p>CAR1\u304a\u3088\u3073CAR5\u306e\u5834\u5408\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u6c7a\u3081\u3066\u304a\u304f\u3002 CAR2\u304a\u3088\u3073CAR\uff13\u306e\u5834\u5408\u3001\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u3067\u30eb\u30fc\u30eb\u3092\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002 CAR4\u3067\u306f\u3001\u3044\u305a\u308c\u304b\u306e\u53ef\u80fd\u306a\u89e3\u6c7a\u7b56\u3092\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u307e\u305f\u3001CEN\/TS 16931-3-1\u3067\u306f\u898f\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u304c\u3001Open Peppol\u306e\u30b3\u30a2\u30a4\u30f3\u30dc\u30a4\u30b9\u30e2\u30c7\u30eb\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001UBL\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u8981\u7d20\u304c\u4f7f\u7528\u3055\u308c\u308b\u3068\u304d\u306b\u306f\u3001\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u306f\u3001\u8b66\u544a(warning)\u3092\u5831\u544a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<h2>\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u5b9a\u7fa9\u4f8b<\/h2>\n<p>Open Peppol\u306e<strong><a href=\"https:\/\/docs.peppol.eu\/poacc\/billing\/3.0\/rules\/ubl-tc434\/\">BIS Billing 3.0<\/a><\/strong>\u306e\u5b9a\u7fa9\u4f8b\u3092\u7d39\u4ecb\u3059\u308b\u3002<br \/>\nrule\u8981\u7d20\u306econtext\u5c5e\u6027\u3067XPath\u3092\u7528\u3044\u3066\u5bfe\u8c61\u3068\u3059\u308b\u8981\u7d20\u3092\u7279\u5b9a\u3057\u3001assert\u8981\u7d20\u306etest\u5c5e\u6027\u306b\u691c\u8a3c\u30eb\u30fc\u30eb\u3092\u8a18\u8ff0\u3059\u308b\u3002text\u5c5e\u6027\u3067\u306e\u691c\u8a3c\u306e\u969b\u306b\u7528\u3044\u308bXPath\u306f\u3001rule\u8981\u7d20\u306econtext\u5c5e\u6027\u3067\u6307\u5b9a\u3057\u305fXPath\u304b\u3089\u306e\u76f8\u5bfe\u6307\u5b9a\u3002<\/p>\n<h3>CAR2<\/h3>\n<p>\u30a4\u30f3\u30dc\u30a4\u30b9\u306b\u306f\u4ed5\u69d8ID(Specification identifier)\u304c\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<\/p>\n<pre class=\"width-set:true width:1000 lang:xhtml decode:true \" title=\"CAR2\" >&lt;rule context=\"\/ubl:Invoice | \/cn:CreditNote\"&gt;\r\n\u3000\u3000\u3000\u3000&lt;assert id=\"BR-01\" flag=\"fatal\" \r\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000test=\"(cbc:CustomizationID) != ''\"&gt;\r\n\u3000\u3000\u3000\u3000[BR-01]-An Invoice shall have a Specification identifier (BT-24).\r\n\u3000\u3000\u3000\u3000&lt;\/assert&gt;\r\n&lt;\/rule&gt;<\/pre>\n<h3>CAR3<\/h3>\n<p>\u30a4\u30f3\u30dc\u30a4\u30b9\u306e\u652f\u6255\u3044\u9280\u884c\u53e3\u5ea7\u306f\u6700\u5927\uff11\u4ef6<\/p>\n<pre class=\"width-set:true width:1000 lang:xhtml decode:true \" title=\"CAR3\" >&lt;rule context=\"\/ubl:Invoice | \/cn:CreditNote\"&gt;\r\n    &lt;assert id=\"BR-66\" flag=\"fatal\"\r\n        test=\"count(cac:PaymentMeans\/cac:CardAccount) &amp;lt;= 1\"&gt;\r\n    [BR-66]-An Invoice shall contain maximum one Payment Card account (BG-18).\r\n    &lt;\/assert&gt;\r\n&lt;\/rule&gt;<\/pre>\n<p>BIS Billing 1.0 \u3067\u306f\u3001\u6b21\u306e\u8868\u73fe\u3082\u691c\u8a0e\u3055\u308c\u3066\u3044\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true \" title=\"BIS 1.0\" >&lt;rule context=\"ubl:Invoice\/cac:PaymentMeans\"&gt;\r\n    &lt;assert flag=\"fatal\" id=\"BASIC-00175\" test=\"not(cac:CardAccount[2])\"&gt;\r\n    No more than a single instance of cac:CardAccount are allowed.\r\n    &lt;\/assert&gt;\r\n&lt;\/rule&gt;<\/pre>\n<p>\u3053\u3053\u3067\u306f\u3001\uff12\u3064\u76ee\u306e&lt;cac:CardAccount&gt;\u304c\u7121\u3044\u3053\u3068\u3092\u6761\u4ef6\u3068\u3057\u3066\u3044\u308b\u3002<\/p>\n<h3>CAR4<\/h3>\n<table>\n<tr>\n<td>ID<\/td>\n<td>Level<\/td>\n<td>Business Term<\/td>\n<td>Card<\/td>\n<td>&nbsp;XPath<\/td>\n<td>Card<\/td>\n<\/tr>\n<tr>\n<td>BG-4<\/td>\n<td>1<\/td>\n<td>SELLER<\/td>\n<td>1..1<\/td>\n<td>\u7565\/ cac:Party<\/td>\n<td>1..1<\/td>\n<\/tr>\n<tr>\n<td>TB-34<\/td>\n<td>2<\/td>\n<td>Seller electronic address<\/td>\n<td>0..1<\/td>\n<td>\u7565\/ cac:Party\/ cbc:EndpointID<\/td>\n<td>0..1<\/td>\n<\/tr>\n<tr>\n<td>TB-29<\/td>\n<td>2<\/td>\n<td>Seller identifier<\/td>\n<td>0..n<\/td>\n<td>\u7565\/ cac:Party\/ cac:PartyIdentification\/ cbc:ID<\/td>\n<td>1..1<\/td>\n<\/tr>\n<\/table>\n<p>Seller identifier (BT-29)\u306f\u3001\u30e2\u30c7\u30eb\u5b9a\u7fa9\u3067\u306f\u8907\u6570\u6307\u5b9a\u306a\u4efb\u610f\u8981\u7d20\u3068\u3055\u308c\u3066\u3044\u308b\u304c\u3001UBL\u3067\u5bfe\u5fdc\u3059\u308b\u8981\u7d20<cbc:ID>\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u7e70\u8fd4\u3057\u306f\u30011..1\u3068\u306a\u3063\u3066\u304a\u308aCAR4\u554f\u984c\u3067\u3042\u308b\u304c\u3001\u3053\u306e\u5834\u5408\u3001\u89aa\u8981\u7d20\u306e<cac:PartyIdentification>\u304c0..n\u3068\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u554f\u984c\u3068\u306a\u3089\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open Peppol\u306e\u30b3\u30a2\u30a4\u30f3\u30dc\u30a4\u30b9\u30e2\u30c7\u30eb\u306f\u3001UBL 2.1\u3078\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u308b\u304c\u3001\u5bfe\u5fdc\u3059\u308bXML\u8981\u7d20\u306e\u7e70\u308a\u8fd4\u3057\u56de\u6570\u306eUBL\u3067\u306e\u5b9a\u7fa9\u304c\u5fc5\u305a\u3057\u3082\u30e2\u30c7\u30eb\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u4fdd\u8a3c\u306f\u7121\u304f\u3001\u4e0d\u4e00\u81f4\u306e\u5834\u5408\u306e\u5bfe\u5fdc\u304c\u5fc5\u8981\u3068\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n","protected":false},"author":2,"featured_media":5264,"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\/5249"}],"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=5249"}],"version-history":[{"count":31,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/5249\/revisions"}],"predecessor-version":[{"id":5282,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/5249\/revisions\/5282"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/media\/5264"}],"wp:attachment":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}