{"id":4977,"date":"2021-06-27T15:19:48","date_gmt":"2021-06-27T06:19:48","guid":{"rendered":"https:\/\/www.sambuichi.jp\/?p=4977"},"modified":"2021-09-10T05:53:50","modified_gmt":"2021-09-09T20:53:50","slug":"%e6%97%a5%e6%9c%ac%e7%89%88%e3%82%b3%e3%82%a2%e3%82%a4%e3%83%b3%e3%83%9c%e3%82%a4%e3%82%b9%e5%90%91%e3%81%91%e3%82%b9%e3%82%ad%e3%83%bc%e3%83%9e%e3%83%88%e3%83%ad%e3%83%b3%e3%81%ae%e6%a4%9c%e8%a8%8e","status":"publish","type":"post","link":"https:\/\/www.sambuichi.jp\/?p=4977","title":{"rendered":"Open Peppol\u30a4\u30f3\u30dc\u30a4\u30b9\u306e\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u691c\u8a3c \u305d\u306e\uff11"},"content":{"rendered":"<p>Views: 127<\/p><h1>\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u7de8\u96c6\u30bd\u30d5\u30c8<\/h1>\n<p>Open Pepol\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u308boXygen\u306e\u8a66\u884c\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u8a55\u4fa1<del datetime=\"2021-06-29T09:43:15+00:00\">\u3057\u305f\u304c\u3001\u601d\u3063\u305f\u3088\u3046\u306b\u4f7f\u3048\u306a\u304b\u3063\u305f<\/del>\u3002Schematorn\u30c1\u30a7\u30c3\u30af\u65b9\u6cd5\u5224\u660e\u3002\u3053\u3061\u3089\u3082\u8cfc\u5165\u3057\u305f\u3002Mac\u3067\u3082\u4f7f\u3048\u308b\u306e\u3067\u91cd\u5b9d\u3057\u3066\u3044\u308b\u3002<br \/>\n\u304b\u3063\u3066XML Spy\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u63d0\u4f9b\u3057\u3066\u3044\u305fXML ValidatorBudy\u306e\u975e\u5546\u7528\uff08\u500b\u4eba\u7528\uff09\u30e9\u30a4\u30bb\u30f3\u30b9\u304c\u3001\u7a0e\u8fbcJPY 2,673\u3060\u3063\u305f\u306e\u3067\u3001PayPal\u7d4c\u7531\u3067\u8cfc\u5165\u3057\u305f\u3002<\/p>\n<h1>Open Peppol BIS Biling 3.0\u306e\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3<\/h1>\n<p>Peppol BIS Billing 3.0\u306e<a href=\"https:\/\/docs.peppol.eu\/poacc\/billing\/3.0\/\">Home<\/a>\u304b\u3089\u6b21\u306e\uff12\u3064\u306e\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3002<br \/>\n<a href=\"https:\/\/docs.peppol.eu\/poacc\/billing\/3.0\/files\/PEPPOL-EN16931-UBL.sch\">Schematron for PEPPOL rules (UBL)<\/a><br \/>\nSchematron file containing rules according to ISO Schematron.<br \/>\n<a href=\"https:\/\/docs.peppol.eu\/poacc\/billing\/3.0\/files\/CEN-EN16931-UBL.sch\">Schematron for TC434 rules (UBL)<\/a><br \/>\nSchematron file containing rules according to ISO Schematron.<br \/>\n\u30c6\u30b9\u30c8\u7528\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001<a href=\"https:\/\/docs.peppol.eu\/poacc\/billing\/3.0\/bis\/\">PEPPOL BIS Billing<\/a>\u30da\u30fc\u30b8\u306e\u4e00\u756a\u4e0b\u306b\u3042\u308b<a href=\"https:\/\/github.com\/OpenPEPPOL\/peppol-bis-invoice-3\/tree\/master\/rules\/examples\">\u30b5\u30f3\u30d7\u30eb<\/a>\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<h1>\u65e5\u672c\u5411\u3051\u306b\u30b5\u30f3\u30d7\u30ebXML\u6587\u66f8\u3092\u4fee\u6b63\u3057\u3001\u691c\u8a3c\u7528\u306e\u65e5\u672c\u5411\u3051\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u3082\u4e0a\u8a18\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304b\u3089\u4fee\u6b63\u3057\u3066\u4f5c\u6210<\/h1>\n<h2>\u4e3b\u306a\u5909\u66f4\u70b9<\/h2>\n<ul>\n<li>\u4f01\u696d\u30b3\u30fc\u30c9\u306b\u56fd\u7a0e\u5e81(0188)\u304c\u767a\u884c\u3059\u308b\u6cd5\u4eba\u756a\u53f7\u3092\u4f7f\u7528\u3059\u308b\u3002<\/li>\n<li>\u91d1\u984d\u8868\u793a\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u4f7f\u7528\u3057\u306a\u3044\u3002<\/li>\n<li>1\u5186\u5358\u4f4d\u306b\u4e38\u3081\u308b\u8a08\u7b97\u306f\u3001\u5207\u308a\u6368\u3066\u3001\u56db\u6368\u4e94\u5165\u3001\u5207\u308a\u4e0a\u3052\u306e\u3044\u305a\u308c\u3067\u3082\u826f\u3044\u306e\u3067\u3001\u4e38\u3081\u305f\u5024\u304c\u305d\u306e\u7bc4\u56f2\u5185\u3067\u3042\u308b\u304b\u691c\u8a3c\u3059\u308b\u3002<\/li>\n<\/ul>\n<h2>\u30b5\u30f3\u30d7\u30eb\u96fb\u5b50\u30a4\u30f3\u30dc\u30a4\u30b9<\/h2>\n<p>peppol-bis-invoice-3-master\/rules\/examples\/base-example.xml\u3000\u3092\u57fa\u306b\u4fee\u6b63\u3092\u884c\u3044\u3001peppol-bis-invoice-3-master\/rules\/national-examples\/JP\/JP-base-example.xml\u3092\u4f5c\u6210\u3057\u305f\u3002\uff12\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u9055\u3044\u306f\u3001\u6b21\u306e\u3068\u304a\u308a\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"diff\" >&lt; \t&lt;cbc:DocumentCurrencyCode&gt;EUR&lt;\/cbc:DocumentCurrencyCode&gt;\r\n---\r\n&gt; \t&lt;cbc:DocumentCurrencyCode&gt;JPY&lt;\/cbc:DocumentCurrencyCode&gt;\r\n15c17\r\n&lt; \t\t\t&lt;cbc:EndpointID schemeID=\"0088\"&gt;9482348239847239874&lt;\/cbc:EndpointID&gt;\r\n---\r\n&gt; \t\t\t&lt;cbc:EndpointID schemeID=\"0188\"&gt;9482348239847&lt;\/cbc:EndpointID&gt;\r\n26c28\r\n&lt; \t\t\t\t&lt;cbc:PostalZone&gt;GB 123 EW&lt;\/cbc:PostalZone&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:PostalZone&gt;123 4567&lt;\/cbc:PostalZone&gt;\r\n28c30\r\n&lt; \t\t\t\t\t&lt;cbc:IdentificationCode&gt;GB&lt;\/cbc:IdentificationCode&gt;\r\n---\r\n&gt; \t\t\t\t\t&lt;cbc:IdentificationCode&gt;JP&lt;\/cbc:IdentificationCode&gt;\r\n32c34\r\n&lt; \t\t\t\t&lt;cbc:CompanyID&gt;GB1232434&lt;\/cbc:CompanyID&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:CompanyID&gt;T1234567890123&lt;\/cbc:CompanyID&gt;\r\n39c41\r\n&lt; \t\t\t\t&lt;cbc:CompanyID&gt;GB983294&lt;\/cbc:CompanyID&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:CompanyID&gt;1234567890123&lt;\/cbc:CompanyID&gt;\r\n45c47\r\n&lt; \t\t\t&lt;cbc:EndpointID schemeID=\"0002\"&gt;FR23342&lt;\/cbc:EndpointID&gt;\r\n---\r\n&gt; \t\t\t&lt;cbc:EndpointID schemeID=\"0188\"&gt;1234567890123&lt;\/cbc:EndpointID&gt;\r\n47c49\r\n&lt; \t\t\t\t&lt;cbc:ID schemeID=\"0002\"&gt;FR23342&lt;\/cbc:ID&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:ID schemeID=\"0002\"&gt;2334254768903&lt;\/cbc:ID&gt;\r\n56c58\r\n&lt; \t\t\t\t&lt;cbc:PostalZone&gt;456 34&lt;\/cbc:PostalZone&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:PostalZone&gt;456 3476&lt;\/cbc:PostalZone&gt;\r\n58c60\r\n&lt; \t\t\t\t\t&lt;cbc:IdentificationCode&gt;SE&lt;\/cbc:IdentificationCode&gt;\r\n---\r\n&gt; \t\t\t\t\t&lt;cbc:IdentificationCode&gt;JP&lt;\/cbc:IdentificationCode&gt;\r\n62c64\r\n&lt; \t\t\t\t&lt;cbc:CompanyID&gt;SE4598375937&lt;\/cbc:CompanyID&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:CompanyID&gt;T4598375937629&lt;\/cbc:CompanyID&gt;\r\n69c71\r\n&lt; \t\t\t\t&lt;cbc:CompanyID schemeID=\"0183\"&gt;39937423947&lt;\/cbc:CompanyID&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:CompanyID schemeID=\"0188\"&gt;3993742394743&lt;\/cbc:CompanyID&gt;\r\n81c83\r\n&lt; \t\t\t&lt;cbc:ID schemeID=\"0088\"&gt;9483759475923478&lt;\/cbc:ID&gt;\r\n---\r\n&gt; \t\t\t&lt;cbc:ID schemeID=\"0188\"&gt;9483759475923&lt;\/cbc:ID&gt;\r\n88c90\r\n&lt; \t\t\t\t\t&lt;cbc:IdentificationCode&gt;SE&lt;\/cbc:IdentificationCode&gt;\r\n---\r\n&gt; \t\t\t\t\t&lt;cbc:IdentificationCode&gt;JP&lt;\/cbc:IdentificationCode&gt;\r\n115c117\r\n&lt; \t\t&lt;cbc:Amount currencyID=\"EUR\"&gt;25&lt;\/cbc:Amount&gt;\r\n---\r\n&gt; \t\t&lt;cbc:Amount currencyID=\"JPY\"&gt;25&lt;\/cbc:Amount&gt;\r\n118c120\r\n&lt; \t\t\t&lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n---\r\n&gt; \t\t\t&lt;cbc:Percent&gt;10&lt;\/cbc:Percent&gt;\r\n125c127\r\n&lt; \t\t&lt;cbc:TaxAmount currencyID=\"EUR\"&gt;331.25&lt;\/cbc:TaxAmount&gt;\r\n---\r\n&gt; \t\t&lt;cbc:TaxAmount currencyID=\"JPY\"&gt;132&lt;\/cbc:TaxAmount&gt;\r\n127,128c129,130\r\n&lt; \t\t\t&lt;cbc:TaxableAmount currencyID=\"EUR\"&gt;1325&lt;\/cbc:TaxableAmount&gt;\r\n&lt; \t\t\t&lt;cbc:TaxAmount currencyID=\"EUR\"&gt;331.25&lt;\/cbc:TaxAmount&gt;\r\n---\r\n&gt; \t\t\t&lt;cbc:TaxableAmount currencyID=\"JPY\"&gt;1325&lt;\/cbc:TaxableAmount&gt;\r\n&gt; \t\t\t&lt;cbc:TaxAmount currencyID=\"JPY\"&gt;132&lt;\/cbc:TaxAmount&gt;\r\n131c133\r\n&lt; \t\t\t\t&lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:Percent&gt;10.0&lt;\/cbc:Percent&gt;\r\n139,143c141,145\r\n&lt; \t\t&lt;cbc:LineExtensionAmount currencyID=\"EUR\"&gt;1300&lt;\/cbc:LineExtensionAmount&gt;\r\n&lt; \t\t&lt;cbc:TaxExclusiveAmount currencyID=\"EUR\"&gt;1325&lt;\/cbc:TaxExclusiveAmount&gt;\r\n&lt; \t\t&lt;cbc:TaxInclusiveAmount currencyID=\"EUR\"&gt;1656.25&lt;\/cbc:TaxInclusiveAmount&gt;\r\n&lt; \t\t&lt;cbc:ChargeTotalAmount currencyID=\"EUR\"&gt;25&lt;\/cbc:ChargeTotalAmount&gt;\r\n&lt; \t\t&lt;cbc:PayableAmount currencyID=\"EUR\"&gt;1656.25&lt;\/cbc:PayableAmount&gt;\r\n---\r\n&gt; \t\t&lt;cbc:LineExtensionAmount currencyID=\"JPY\"&gt;1300&lt;\/cbc:LineExtensionAmount&gt;\r\n&gt; \t\t&lt;cbc:TaxExclusiveAmount currencyID=\"JPY\"&gt;1325&lt;\/cbc:TaxExclusiveAmount&gt;\r\n&gt; \t\t&lt;cbc:TaxInclusiveAmount currencyID=\"JPY\"&gt;1458&lt;\/cbc:TaxInclusiveAmount&gt;\r\n&gt; \t\t&lt;cbc:ChargeTotalAmount currencyID=\"JPY\"&gt;25&lt;\/cbc:ChargeTotalAmount&gt;\r\n&gt; \t\t&lt;cbc:PayableAmount currencyID=\"JPY\"&gt;1458&lt;\/cbc:PayableAmount&gt;\r\n148c150\r\n&lt; \t\t&lt;cbc:LineExtensionAmount currencyID=\"EUR\"&gt;2800&lt;\/cbc:LineExtensionAmount&gt;\r\n---\r\n&gt; \t\t&lt;cbc:LineExtensionAmount currencyID=\"JPY\"&gt;2800&lt;\/cbc:LineExtensionAmount&gt;\r\n167c169\r\n&lt; \t\t\t\t&lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:Percent&gt;10.0&lt;\/cbc:Percent&gt;\r\n174c176\r\n&lt; \t\t\t&lt;cbc:PriceAmount currencyID=\"EUR\"&gt;400&lt;\/cbc:PriceAmount&gt;\r\n---\r\n&gt; \t\t\t&lt;cbc:PriceAmount currencyID=\"JPY\"&gt;400&lt;\/cbc:PriceAmount&gt;\r\n180c182\r\n&lt; \t\t&lt;cbc:LineExtensionAmount currencyID=\"EUR\"&gt;-1500&lt;\/cbc:LineExtensionAmount&gt;\r\n---\r\n&gt; \t\t&lt;cbc:LineExtensionAmount currencyID=\"JPY\"&gt;-1500&lt;\/cbc:LineExtensionAmount&gt;\r\n198c200\r\n&lt; \t\t\t\t&lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n---\r\n&gt; \t\t\t\t&lt;cbc:Percent&gt;10.0&lt;\/cbc:Percent&gt;\r\n205c207\r\n&lt; \t\t\t&lt;cbc:PriceAmount currencyID=\"EUR\"&gt;500&lt;\/cbc:PriceAmount&gt;\r\n---\r\n&gt; \t\t\t&lt;cbc:PriceAmount currencyID=\"JPY\"&gt;500&lt;\/cbc:PriceAmount&gt;\r\n<\/pre>\n<h3>JP-base-example.xml<\/h3>\n<p><strong>\u6ce8\u610f<\/strong>: Open Peppol\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u57fa\u306b\u3001\u65e5\u672c\u5bfe\u5fdc\u3068\u3057\u3066\u767b\u9332\u4e8b\u696d\u8005\u756a\u53f7\u3068\u91d1\u984d\u8868\u793a\u3092\u4fee\u6b63\u3057\u305f\u3060\u3051\u306a\u306e\u3067\u3001\u73fe\u5728EIPA\u3067\u691c\u8a0e\u4e2d\u306e\u696d\u52d9\u8981\u4ef6\u306f\u53cd\u6620\u3055\u308c\u3066\u3044\u306a\u3044\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"JP-base-example.xml\" >&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;?xml-stylesheet type=\"text\/xsl\" href=\"file:\/\/\/D:\/Users\/pontsoleil\/Documents\/GitHub\/EIPA\/%E3%83%87%E3%83%BC%E3%82%BF%E6%A4%9C%E8%A8%BC\/peppol-bis-invoice-3-master\/stylesheet\/stylesheet-ubl.xslt\"?&gt;\r\n&lt;Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\" xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\"&gt;\r\n  &lt;cbc:CustomizationID&gt;urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0&lt;\/cbc:CustomizationID&gt;\r\n  &lt;cbc:ProfileID&gt;urn:fdc:peppol.eu:2017:poacc:billing:01:1.0&lt;\/cbc:ProfileID&gt;\r\n  &lt;cbc:ID&gt;Snippet1&lt;\/cbc:ID&gt;\r\n  &lt;cbc:IssueDate&gt;2017-11-13&lt;\/cbc:IssueDate&gt;\r\n  &lt;cbc:DueDate&gt;2017-12-01&lt;\/cbc:DueDate&gt;\r\n  &lt;cbc:InvoiceTypeCode&gt;380&lt;\/cbc:InvoiceTypeCode&gt;\r\n  &lt;cbc:DocumentCurrencyCode&gt;EUR&lt;\/cbc:DocumentCurrencyCode&gt;\r\n  &lt;cbc:AccountingCost&gt;4025:123:4343&lt;\/cbc:AccountingCost&gt;\r\n  &lt;cbc:BuyerReference&gt;0150abc&lt;\/cbc:BuyerReference&gt;\r\n  &lt;cac:AccountingSupplierParty&gt;\r\n    &lt;cac:Party&gt;\r\n      &lt;cbc:EndpointID schemeID=\"0088\"&gt;9482348239847239874&lt;\/cbc:EndpointID&gt;\r\n      &lt;cac:PartyIdentification&gt;\r\n        &lt;cbc:ID&gt;99887766&lt;\/cbc:ID&gt;\r\n      &lt;\/cac:PartyIdentification&gt;\r\n      &lt;cac:PartyName&gt;\r\n        &lt;cbc:Name&gt;SupplierTradingName Ltd.&lt;\/cbc:Name&gt;\r\n      &lt;\/cac:PartyName&gt;\r\n      &lt;cac:PostalAddress&gt;\r\n        &lt;cbc:StreetName&gt;Main street 1&lt;\/cbc:StreetName&gt;\r\n        &lt;cbc:AdditionalStreetName&gt;Postbox 123&lt;\/cbc:AdditionalStreetName&gt;\r\n        &lt;cbc:CityName&gt;London&lt;\/cbc:CityName&gt;\r\n        &lt;cbc:PostalZone&gt;GB 123 EW&lt;\/cbc:PostalZone&gt;\r\n        &lt;cac:Country&gt;\r\n          &lt;cbc:IdentificationCode&gt;GB&lt;\/cbc:IdentificationCode&gt;\r\n        &lt;\/cac:Country&gt;\r\n      &lt;\/cac:PostalAddress&gt;\r\n      &lt;cac:PartyTaxScheme&gt;\r\n        &lt;cbc:CompanyID&gt;GB1232434&lt;\/cbc:CompanyID&gt;\r\n        &lt;cac:TaxScheme&gt;\r\n          &lt;cbc:ID&gt;VAT&lt;\/cbc:ID&gt;\r\n        &lt;\/cac:TaxScheme&gt;\r\n      &lt;\/cac:PartyTaxScheme&gt;\r\n      &lt;cac:PartyLegalEntity&gt;\r\n        &lt;cbc:RegistrationName&gt;SupplierOfficialName Ltd&lt;\/cbc:RegistrationName&gt;\r\n        &lt;cbc:CompanyID&gt;GB983294&lt;\/cbc:CompanyID&gt;\r\n      &lt;\/cac:PartyLegalEntity&gt;\r\n    &lt;\/cac:Party&gt;\r\n  &lt;\/cac:AccountingSupplierParty&gt;\r\n  &lt;cac:AccountingCustomerParty&gt;\r\n    &lt;cac:Party&gt;\r\n      &lt;cbc:EndpointID schemeID=\"0002\"&gt;FR23342&lt;\/cbc:EndpointID&gt;\r\n      &lt;cac:PartyIdentification&gt;\r\n        &lt;cbc:ID schemeID=\"0002\"&gt;FR23342&lt;\/cbc:ID&gt;\r\n      &lt;\/cac:PartyIdentification&gt;\r\n      &lt;cac:PartyName&gt;\r\n        &lt;cbc:Name&gt;BuyerTradingName AS&lt;\/cbc:Name&gt;\r\n      &lt;\/cac:PartyName&gt;\r\n      &lt;cac:PostalAddress&gt;\r\n        &lt;cbc:StreetName&gt;Hovedgatan 32&lt;\/cbc:StreetName&gt;\r\n        &lt;cbc:AdditionalStreetName&gt;Po box 878&lt;\/cbc:AdditionalStreetName&gt;\r\n        &lt;cbc:CityName&gt;Stockholm&lt;\/cbc:CityName&gt;\r\n        &lt;cbc:PostalZone&gt;456 34&lt;\/cbc:PostalZone&gt;\r\n        &lt;cac:Country&gt;\r\n          &lt;cbc:IdentificationCode&gt;SE&lt;\/cbc:IdentificationCode&gt;\r\n        &lt;\/cac:Country&gt;\r\n      &lt;\/cac:PostalAddress&gt;\r\n      &lt;cac:PartyTaxScheme&gt;\r\n        &lt;cbc:CompanyID&gt;SE4598375937&lt;\/cbc:CompanyID&gt;\r\n        &lt;cac:TaxScheme&gt;\r\n          &lt;cbc:ID&gt;VAT&lt;\/cbc:ID&gt;\r\n        &lt;\/cac:TaxScheme&gt;\r\n      &lt;\/cac:PartyTaxScheme&gt;\r\n      &lt;cac:PartyLegalEntity&gt;\r\n        &lt;cbc:RegistrationName&gt;Buyer Official Name&lt;\/cbc:RegistrationName&gt;\r\n        &lt;cbc:CompanyID schemeID=\"0183\"&gt;39937423947&lt;\/cbc:CompanyID&gt;\r\n      &lt;\/cac:PartyLegalEntity&gt;\r\n      &lt;cac:Contact&gt;\r\n        &lt;cbc:Name&gt;Lisa Johnson&lt;\/cbc:Name&gt;\r\n        &lt;cbc:Telephone&gt;23434234&lt;\/cbc:Telephone&gt;\r\n        &lt;cbc:ElectronicMail&gt;lj@buyer.se&lt;\/cbc:ElectronicMail&gt;\r\n      &lt;\/cac:Contact&gt;\r\n    &lt;\/cac:Party&gt;\r\n  &lt;\/cac:AccountingCustomerParty&gt;\r\n  &lt;cac:Delivery&gt;\r\n    &lt;cbc:ActualDeliveryDate&gt;2017-11-01&lt;\/cbc:ActualDeliveryDate&gt;\r\n    &lt;cac:DeliveryLocation&gt;\r\n      &lt;cbc:ID schemeID=\"0088\"&gt;9483759475923478&lt;\/cbc:ID&gt;\r\n      &lt;cac:Address&gt;\r\n        &lt;cbc:StreetName&gt;Delivery street 2&lt;\/cbc:StreetName&gt;\r\n        &lt;cbc:AdditionalStreetName&gt;Building 56&lt;\/cbc:AdditionalStreetName&gt;\r\n        &lt;cbc:CityName&gt;Stockholm&lt;\/cbc:CityName&gt;\r\n        &lt;cbc:PostalZone&gt;21234&lt;\/cbc:PostalZone&gt;\r\n        &lt;cac:Country&gt;\r\n          &lt;cbc:IdentificationCode&gt;SE&lt;\/cbc:IdentificationCode&gt;\r\n        &lt;\/cac:Country&gt;\r\n      &lt;\/cac:Address&gt;\r\n    &lt;\/cac:DeliveryLocation&gt;\r\n    &lt;cac:DeliveryParty&gt;\r\n      &lt;cac:PartyName&gt;\r\n        &lt;cbc:Name&gt;Delivery party Name&lt;\/cbc:Name&gt;\r\n      &lt;\/cac:PartyName&gt;\r\n    &lt;\/cac:DeliveryParty&gt;\r\n  &lt;\/cac:Delivery&gt;\r\n  &lt;cac:PaymentMeans&gt;\r\n    &lt;cbc:PaymentMeansCode name=\"Credit transfer\"&gt;30&lt;\/cbc:PaymentMeansCode&gt;\r\n    &lt;cbc:PaymentID&gt;Snippet1&lt;\/cbc:PaymentID&gt;\r\n    &lt;cac:PayeeFinancialAccount&gt;\r\n      &lt;cbc:ID&gt;IBAN32423940&lt;\/cbc:ID&gt;\r\n      &lt;cbc:Name&gt;AccountName&lt;\/cbc:Name&gt;\r\n      &lt;cac:FinancialInstitutionBranch&gt;\r\n        &lt;cbc:ID&gt;BIC324098&lt;\/cbc:ID&gt;\r\n      &lt;\/cac:FinancialInstitutionBranch&gt;\r\n    &lt;\/cac:PayeeFinancialAccount&gt;\r\n  &lt;\/cac:PaymentMeans&gt;\r\n  &lt;cac:PaymentTerms&gt;\r\n    &lt;cbc:Note&gt;Payment within 10 days, 2% discount&lt;\/cbc:Note&gt;\r\n  &lt;\/cac:PaymentTerms&gt;\r\n  &lt;cac:AllowanceCharge&gt;\r\n    &lt;cbc:ChargeIndicator&gt;true&lt;\/cbc:ChargeIndicator&gt;\r\n    &lt;cbc:AllowanceChargeReason&gt;Insurance&lt;\/cbc:AllowanceChargeReason&gt;\r\n    &lt;cbc:Amount currencyID=\"EUR\"&gt;25&lt;\/cbc:Amount&gt;\r\n    &lt;cac:TaxCategory&gt;\r\n      &lt;cbc:ID&gt;S&lt;\/cbc:ID&gt;\r\n      &lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n      &lt;cac:TaxScheme&gt;\r\n        &lt;cbc:ID&gt;VAT&lt;\/cbc:ID&gt;\r\n      &lt;\/cac:TaxScheme&gt;\r\n    &lt;\/cac:TaxCategory&gt;\r\n  &lt;\/cac:AllowanceCharge&gt;\r\n  &lt;cac:TaxTotal&gt;\r\n    &lt;cbc:TaxAmount currencyID=\"EUR\"&gt;331.25&lt;\/cbc:TaxAmount&gt;\r\n    &lt;cac:TaxSubtotal&gt;\r\n      &lt;cbc:TaxableAmount currencyID=\"EUR\"&gt;1325&lt;\/cbc:TaxableAmount&gt;\r\n      &lt;cbc:TaxAmount currencyID=\"EUR\"&gt;331.25&lt;\/cbc:TaxAmount&gt;\r\n      &lt;cac:TaxCategory&gt;\r\n        &lt;cbc:ID&gt;S&lt;\/cbc:ID&gt;\r\n        &lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n        &lt;cac:TaxScheme&gt;\r\n          &lt;cbc:ID&gt;VAT&lt;\/cbc:ID&gt;\r\n        &lt;\/cac:TaxScheme&gt;\r\n      &lt;\/cac:TaxCategory&gt;\r\n    &lt;\/cac:TaxSubtotal&gt;\r\n  &lt;\/cac:TaxTotal&gt;\r\n  &lt;cac:LegalMonetaryTotal&gt;\r\n    &lt;cbc:LineExtensionAmount currencyID=\"EUR\"&gt;1300&lt;\/cbc:LineExtensionAmount&gt;\r\n    &lt;cbc:TaxExclusiveAmount currencyID=\"EUR\"&gt;1325&lt;\/cbc:TaxExclusiveAmount&gt;\r\n    &lt;cbc:TaxInclusiveAmount currencyID=\"EUR\"&gt;1656.25&lt;\/cbc:TaxInclusiveAmount&gt;\r\n    &lt;cbc:ChargeTotalAmount currencyID=\"EUR\"&gt;25&lt;\/cbc:ChargeTotalAmount&gt;\r\n    &lt;cbc:PayableAmount currencyID=\"EUR\"&gt;1656.25&lt;\/cbc:PayableAmount&gt;\r\n  &lt;\/cac:LegalMonetaryTotal&gt;\r\n  &lt;cac:InvoiceLine&gt;\r\n    &lt;cbc:ID&gt;1&lt;\/cbc:ID&gt;\r\n    &lt;cbc:InvoicedQuantity unitCode=\"DAY\"&gt;7&lt;\/cbc:InvoicedQuantity&gt;\r\n    &lt;cbc:LineExtensionAmount currencyID=\"EUR\"&gt;2800&lt;\/cbc:LineExtensionAmount&gt;\r\n    &lt;cbc:AccountingCost&gt;Konteringsstreng&lt;\/cbc:AccountingCost&gt;\r\n    &lt;cac:OrderLineReference&gt;\r\n      &lt;cbc:LineID&gt;123&lt;\/cbc:LineID&gt;\r\n    &lt;\/cac:OrderLineReference&gt;\r\n    &lt;cac:Item&gt;\r\n      &lt;cbc:Description&gt;Description of item&lt;\/cbc:Description&gt;\r\n      &lt;cbc:Name&gt;item name&lt;\/cbc:Name&gt;\r\n      &lt;cac:StandardItemIdentification&gt;\r\n        &lt;cbc:ID schemeID=\"0088\"&gt;21382183120983&lt;\/cbc:ID&gt;\r\n      &lt;\/cac:StandardItemIdentification&gt;\r\n      &lt;cac:OriginCountry&gt;\r\n        &lt;cbc:IdentificationCode&gt;NO&lt;\/cbc:IdentificationCode&gt;\r\n      &lt;\/cac:OriginCountry&gt;\r\n      &lt;cac:CommodityClassification&gt;\r\n        &lt;cbc:ItemClassificationCode listID=\"SRV\"&gt;09348023&lt;\/cbc:ItemClassificationCode&gt;\r\n      &lt;\/cac:CommodityClassification&gt;\r\n      &lt;cac:ClassifiedTaxCategory&gt;\r\n        &lt;cbc:ID&gt;S&lt;\/cbc:ID&gt;\r\n        &lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n        &lt;cac:TaxScheme&gt;\r\n          &lt;cbc:ID&gt;VAT&lt;\/cbc:ID&gt;\r\n        &lt;\/cac:TaxScheme&gt;\r\n      &lt;\/cac:ClassifiedTaxCategory&gt;\r\n    &lt;\/cac:Item&gt;\r\n    &lt;cac:Price&gt;\r\n      &lt;cbc:PriceAmount currencyID=\"EUR\"&gt;400&lt;\/cbc:PriceAmount&gt;\r\n    &lt;\/cac:Price&gt;\r\n  &lt;\/cac:InvoiceLine&gt;\r\n  &lt;cac:InvoiceLine&gt;\r\n    &lt;cbc:ID&gt;2&lt;\/cbc:ID&gt;\r\n    &lt;cbc:InvoicedQuantity unitCode=\"DAY\"&gt;-3&lt;\/cbc:InvoicedQuantity&gt;\r\n    &lt;cbc:LineExtensionAmount currencyID=\"EUR\"&gt;-1500&lt;\/cbc:LineExtensionAmount&gt;\r\n    &lt;cac:OrderLineReference&gt;\r\n      &lt;cbc:LineID&gt;123&lt;\/cbc:LineID&gt;\r\n    &lt;\/cac:OrderLineReference&gt;\r\n    &lt;cac:Item&gt;\r\n      &lt;cbc:Description&gt;Description 2&lt;\/cbc:Description&gt;\r\n      &lt;cbc:Name&gt;item name 2&lt;\/cbc:Name&gt;\r\n      &lt;cac:StandardItemIdentification&gt;\r\n        &lt;cbc:ID schemeID=\"0088\"&gt;21382183120983&lt;\/cbc:ID&gt;\r\n      &lt;\/cac:StandardItemIdentification&gt;\r\n      &lt;cac:OriginCountry&gt;\r\n        &lt;cbc:IdentificationCode&gt;NO&lt;\/cbc:IdentificationCode&gt;\r\n      &lt;\/cac:OriginCountry&gt;\r\n      &lt;cac:CommodityClassification&gt;\r\n        &lt;cbc:ItemClassificationCode listID=\"SRV\"&gt;09348023&lt;\/cbc:ItemClassificationCode&gt;\r\n      &lt;\/cac:CommodityClassification&gt;\r\n      &lt;cac:ClassifiedTaxCategory&gt;\r\n        &lt;cbc:ID&gt;S&lt;\/cbc:ID&gt;\r\n        &lt;cbc:Percent&gt;25.0&lt;\/cbc:Percent&gt;\r\n        &lt;cac:TaxScheme&gt;\r\n          &lt;cbc:ID&gt;VAT&lt;\/cbc:ID&gt;\r\n        &lt;\/cac:TaxScheme&gt;\r\n      &lt;\/cac:ClassifiedTaxCategory&gt;\r\n    &lt;\/cac:Item&gt;\r\n    &lt;cac:Price&gt;\r\n      &lt;cbc:PriceAmount currencyID=\"EUR\"&gt;500&lt;\/cbc:PriceAmount&gt;\r\n    &lt;\/cac:Price&gt;\r\n  &lt;\/cac:InvoiceLine&gt;\r\n&lt;\/Invoice&gt;\r\n<\/pre>\n<h2>CEN-EN-16931-UBL.sch\u3067\u306e\u691c\u8a3c<\/h2>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092ValidatorBudy\u3067\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u691c\u8a3c\u3057\u305f\u3068\u3053\u308d\u6b21\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3042\u3063\u305f\u3002<\/p>\n<h4>result type=&#8221;error&#8221;<\/h4>\n<p><strong>[BR-CL-25]<\/strong>-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list<br \/>\nEndpointID\u306e\u767a\u756a\u6a5f\u95a2\u306b0188\u3092\u6307\u5b9a\u3057\u305f\u304c\u3001\u3053\u306e\u30b3\u30fc\u30c9\u304cCEF EAS\u30b3\u30fc\u30c9\u30ea\u30b9\u30c8\u306b\u306a\u3044\u3053\u3068\u304c\u305d\u306e\u7406\u7531\u3067\u3042\u308a\u3001\u6b63\u5f0f\u767b\u9332\u304c\u5fc5\u8981\u3002\u4eca\u56de\u306e\u8a55\u4fa1\u4f5c\u696d\u3067\u306f\u3001\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c90188\u3092\u8ffd\u52a0\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001VAT\u767b\u9332\u756a\u53f7\u306e\u5148\u982d\u306bISO 3166-1\u3067\u898f\u5b9a\u3055\u308c\u3066\u3044\u308b\uff12\u6587\u5b57\u306e\u56fd\u30b3\u30fc\u30c9\u304c\u306a\u3044\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u767a\u884c\u3055\u308c\u305f\u3002<\/p>\n<h4>result type=&#8221;error&#8221;<\/h4>\n<p><strong>[BR-CO-09]<\/strong> -The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix \u2018EL\u2019.<br \/>\n<del datetime=\"2021-06-28T20:28:45+00:00\">\u3053\u3061\u3089\u306b\u3064\u3044\u3066\u306f\u3001\u65e5\u672c\u56fa\u6709\u30eb\u30fc\u30eb\u3068\u3057\u3066\u5148\u982d\u306b&#8221;T&#8221;\u304c\u3042\u308b\u3053\u3068\u3068\u3044\u3046\u30eb\u30fc\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u8003\u3048\u308b\u304c\u3001\u8a55\u4fa1\u4f5c\u696d\u306f\u3001\u5148\u982d\u306b&#8221;JP&#8221;\u3092\u4ed8\u52a0\u3057\u3066\u3001&#8221;JPT1234567890123&#8243;\u7b49\u306e\u30b3\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u305f\u3002<\/del>\u5bfe\u5fdc\u7b56\u3092\u5f8c\u8ff0<\/p>\n<h2 id=\"JP_rule\">\u65e5\u672c\u5411\u3051\u30eb\u30fc\u30eb<\/h2>\n<h3>context<\/h3>\n<p>\u4ed6\u306e\u56fd\u5225\u62e1\u5f35\u306e\u5b9a\u7fa9\u3092\u53c2\u8003\u306b\u3001\u6b21\u306e\u3088\u3046\u306bcontext\u3092\u5b9a\u7fa9\u3057\u305f\u3002<br \/>\n&lt;rule context=&#8221;\/ubl-invoice:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = &#8216;JP&#8217; ]&#8221;&gt;<\/p>\n<h3>\u767b\u9332\u4e8b\u696d\u8005\u756a\u53f7\u30eb\u30fc\u30eb<\/h3>\n<h4>[JP-R-001]<\/h4>\n<p>\u767b\u9332\u4e8b\u696d\u8005\u756a\u53f7\u304cT+13\u6841\u306e\u6570\u5b57\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u30eb\u30fc\u30eb\u3092\u6b21\u306b\u793a\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \" title=\"JP-R-001\" >&lt;!-- VAT Registration Number Rules --&gt;\r\n&lt;rule context=\"\/ubl-invoice: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-R-001\" test=\"matches(normalize-space(cbc:CompanyID),'^T[0-9]{13}$')\" flag=\"fatal\"&gt;\r\n[JP-R-001]- For the Japanese Suppliers, the VAT registration number must start with 'T' and be  followed by 13-digit number.&lt;\/assert&gt;\r\n&lt;\/rule&gt;<\/pre>\n<h3>\u91d1\u984d\u8868\u793a\u30eb\u30fc\u30eb<\/h3>\n<h4>[JP-R-002]<\/h4>\n<p>EN 16931-1\u304a\u3088\u3073BIS Billing 3.0\u3067\u306f\u3001\u500b\u5225\u306e\u9805\u76ee\u3054\u3068\u306b\u7a2e\u6570\u70b9\u4ee5\u4e0b\u306e\u6841\u6570\u304c2\u4ee5\u4e0b\u3067\u3042\u308b\u3053\u3068\u3092\u691c\u8a3c\u3057\u3066\u3044\u308b\u304c\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u901a\u8ca8\u30b3\u30fc\u30c9\u3067JPY\u3092\u4f7f\u7528\u3059\u308b\u9805\u76ee\uff08\u5186\u901a\u8ca8\u3067\u306e\u91d1\u984d\uff09\u3092\u5bfe\u8c61\u3068\u3057\u305f\u30eb\u30fc\u30eb\u3092\u63d0\u6848\u3057\u305f\u3044\u3002\u91d1\u984d\u8868\u793a\u3067\u306f\u3001\u5c0f\u6570\u70b9\u53ca\u3073\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u4f7f\u308f\u306a\u3044\u306e\u3067\u3001\u6b63\u898f\u8868\u73fe\u3067\u3001^-?[1-9][0-9]*$\u3000\uff08\u6570\u5b57\u306e\u307f\u306e\u8868\u8a18\uff09\u306e\u8868\u73fe\u3068\u4e00\u81f4\u3059\u308b\u304b\u691c\u8a3c\u3057\u3066\u3044\u308b\u3002<br \/>\n\u5bfe\u8c61\u306f\u3001Amount\u578b\u306e\u8981\u7d20\u306e\u307f\u3068\u3057\u3001Unit price\u578b\u306f\u5bfe\u8c61\u3068\u3057\u306a\u3044\u306e\u3067\u3001\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6841\u6570\u3092\u8868\u73fe\u53ef\u80fd\u3002 <\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" >&lt;!-- Amount, which is not Unit Price, Representation Rules --&gt;\r\n&lt;rule context=\"\/Invoice\/*[local-name()!='InvoiceLine']\/*[@currencyID='JPY'] |\r\n        \/Invoice\/*[local-name()!='InvoiceLine']\/*\/*[@currencyID='JPY'] |\r\n        \/\/cac:InvoiceLine\/cbc:LineExtensionAmount[@currencyID='JPY']\"&gt;\r\n    &lt;assert id=\"JP-R-002\" test=\"matches(normalize-space(.),'^-?[1-9][0-9]*$')\" flag=\"fatal\"&gt;[JP-R-002]- Amount shall be integer.&lt;\/assert&gt;\r\n&lt;\/rule&gt;<\/pre>\n<p>\u3053\u306e\u30eb\u30fc\u30eb\u3067\u306f\u3001XPath\u3067\/\/*[@currencyID=\u2018JPY\u2019]\u3068\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u901a\u8ca8\u30b3\u30fc\u30c9\u3067JPY\u3092\u4f7f\u7528\u3059\u308b\u9805\u76ee\uff08\u5186\u901a\u8ca8\u3067\u306e\u91d1\u984d\uff09\u3092\u5bfe\u8c61\u306b\u6307\u5b9a\u3057\u3001\u6b63\u898f\u8868\u73fe^-?[1-9][0-9]*$\u3068\u9805\u76ee\u5024\u304c\u3066\u3044\u30de\u30c3\u30c1\u3057\u3066\u3044\u308b\u304b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u308b\u3002<br \/>\n\u6b63\u898f\u8868\u73fe\u306e\u610f\u5473\u306f\u3001\u4e0b\u8a18\u306e\u901a\u308a\u3002<br \/>\n^\u6b63\u898f\u8868\u73fe$  ^\u306f\u3001\u6b21\u306e\u6587\u5b57\u304c\u5148\u982d\u6587\u5b57\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3001$\u306f\u3001\u305d\u306e\u524d\u306e\u6587\u5b57\u304c\u7d42\u7aef\u6587\u5b57\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3059\u3002\u3059\u306a\u308f\u3061\u3001\u6b63\u898f\u8868\u73fe\u3068\u306e\u5b8c\u5168\u4e00\u81f4\u3002<\/p>\n<table>\n<tr>\n<td width=\"30%\">-?<\/td>\n<td>-:\u30de\u30a4\u30ca\u30b9\u7b26\u53f7 ?:\u305d\u306e\u524d\u306e\u6587\u5b57\u304c\uff11\u6587\u5b57\u5b58\u5728\u3001\u3042\u308b\u3044\u306f\u4f55\u3082\u306a\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td>[1-9]<\/td>\n<td>1\u304b\u30899\u306e\u6570\u5b57\uff11\u6587\u5b57<\/td>\n<\/tr>\n<tr>\n<td>[0-9]*<\/td>\n<td>0\u304b\u30899\u306e\u6570\u5b57\u304c\u8907\u6570\uff08\u7701\u7565\u53ef\uff09<\/td>\n<\/tr>\n<tr>\n<td>^-?[1-9][0-9]*$<\/td>\n<td>\u5148\u982d\u304c\u30bc\u30ed\u3067\u306a\u3044\u6570\u5b57\u306e\u7d44\u307f\u5408\u308f\u305b\u3001-\uff08\u30de\u30a4\u30ca\u30b9\u7b26\u53f7\uff09\u304c\u3064\u304f\u3053\u3068\u3082\u3042\u308b\u3002<\/td>\n<\/tr>\n<\/table>\n<p>[2021-07-01\u8ffd\u52a0]<br \/>\n\u8acb\u6c42\u66f8\u660e\u7d30\u884c\u3067\u8a18\u8f09\u3059\u308b\u54c1\u76ee\u5358\u4fa1\u306b\u306f\u3001\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6570\u5b57\u3082\u5fc5\u8981\u3068\u306e\u6307\u6458\u304c\u3042\u308a\u3001\u6b21\u306e\u5185\u5bb9\u306e\u5b9a\u7fa9\u306b\u5909\u66f4\u3057\u305f\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"Unit Price\" >&lt;!-- Amount, which is not Unit Price, Representation Rules --&gt;\r\n&lt;rule context=\"ubl-invoice:Invoice\/*[local-name()!='InvoiceLine']\/*[@currencyID='JPY'] |\r\n        ubl-invoice:Invoice\/*[local-name()!='InvoiceLine']\/*\/*[@currencyID='JPY'] |\r\n        \/\/cac:InvoiceLine\/cbc:LineExtensionAmount[@currencyID='JPY']\"&gt;\r\n      &lt;assert id=\"JP-R-003\" test=\"matches(normalize-space(.),'^-?[1-9][0-9]*$')\" flag=\"fatal\"&gt;\r\n        [JP-R-003]- Amount shall be integer.&lt;\/assert&gt;\r\n&lt;\/rule&gt;<\/pre>\n<h3>\u7a0e\u7387\u5225\u306e\u7a0e\u984d\u8a08\u7b97\u5024\u4e38\u3081\u30eb\u30fc\u30eb\uff08\u65e5\u672c\uff09<\/h3>\n<h4>[JP-BR-CO-17]<\/h4>\n<p>\u7a0e\u7387\u5225\u306e\u7a0e\u984d(BT-117)\u304c \u8ab2\u7a0e\u5bfe\u8c61\u91d1\u984d (BT-116) x (\u7a0e\u7387 (BT-119) \/ 100)\u3092\u6574\u6570\u306b\u4e38\u3081\u305f\u5024\u306e\u7bc4\u56f2\u304b\u691c\u8a3c\u3057\u3066\u3044\u308b\u3002\u3053\u3053\u3067\u306f\u3001\uff11\u5186\u5358\u4f4d\u3067\u4e38\u3081\u305f\u5024\u304c\u3001\u5207\u308a\u6368\u3066\u305f\u5024\u4ee5\u4e0a\u304b\u3064\u5207\u308a\u4e0a\u3052\u305f\u5024\u4ee5\u4e0b\u304b\u3092\u691c\u8a3c\u3057\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"JP=PEPPOL-EN16931-UBL.sh\" >  &lt;!-- JAPAN --&gt;\r\n  &lt;pattern&gt;\r\n    &lt;rule context=\"\/ubl-invoice:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = 'JP' ]\"&gt;\r\n       &lt;assert id=\"JP-BR-DEC-05\" test=\"not(exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()])) or (matches(normalize-space(cac:AllowanceCharge[cbc:ChargeIndicator=true()]\/cbc:Amount),'^[0-9]+$'))\" flag=\"fatal\"&gt;[JP-BR-DEC-05- the Document level charge amount (BT-99)  shall be integer.&lt;\/assert&gt;\r\n    &lt;assert id=\"JP-BR-CO-17\" test=\"(\r\n  round(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent)) = 0\r\n  and (round(xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxAmount)) = 0)\r\n)\r\nor (\r\n  round(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent)) != 0 \r\n  and (\r\n    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)))\r\n  and (\r\n    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)))\r\n)\r\nor (\r\n  not(exists(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent)))\r\n  and (round(xs:decimal(cac:TaxTotal\/cac:TaxSubtotal\/cbc:TaxAmount)) = 0)\r\n)\" flag=\"fatal\"&gt;[JP-BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) \/ 100), rounded to integer. The rounded result amount SHALL be between the floor and the ceiling.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n  &lt;\/pattern&gt;\r\n<\/pre>\n<h3>\u7a0e\u7387\u5225\u306e\u7a0e\u984d\u8a08\u7b97\u5024\u4e38\u3081\u30eb\u30fc\u30eb\uff08Open Peppol\uff09<\/h3>\n<h4>[BR-CO-17]<\/h4>\n<p>BR-CO-17 (fatal) VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) \/ 100), rounded to two decimals.<br \/>\n\u3053\u306e\u30eb\u30fc\u30eb\u306e\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u3067\u306f\u3001* 10 * 10) div 100 \u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\uff12\u6841\u306b\u4e38\u3081\u305f\u5024\u304cround()\u3067\u6c42\u3081\u305f\u5024\u306e\u00b11\u306e\u7bc4\u56f2\u5185\u304b\u691c\u8a3c\u3057\u3066\u3044\u308b\u304c\u3001\u4f8b\u3048\u3070\u300134.5\u306f\u3001\u56db\u6368\u4e94\u5165\u3057\u305f\u5024\u304c35\u3068\u306a\u308a\u300135\u00b11\u3060\u306836\u3082\u8a31\u5bb9\u3055\u308c\u308b\u3002\u5207\u308a\u4e0a\u3052\u305f\u5024\u304c35\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u8d85\u3048\u305f\u5024\u304c\u8a31\u5bb9\u3055\u308c\u3066\u304a\u308a\u3001\u554f\u984c\u3067\u3042\u308b\u3002<\/p>\n<pre class=\"height-set:true width-set:true lang:default decode:true \" title=\"VAT Category TaxTotal Amount Rounding Rules\" >&lt;assert id=\"JP-BR-CO-17\" test=\"(\r\n  round(cac:TaxTotal\/cac:TaxSubtotal\/cac:TaxCategory\/xs:decimal(cbc:Percent)) != 0 \r\n  and (\r\n    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)))\r\n  and (\r\n    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)))\r\n)\" flag=\"fatal\"&gt;[JP-BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) \/ 100), rounded to integer. The rounded result amount SHALL be between the floor and the ceiling.&lt;\/assert&gt;\r\n<\/pre>\n<h3>\u4e8b\u696d\u8005\u306eVAT\u767b\u9332\u4e8b\u696d\u8005\u756a\u53f7<\/h3>\n<p>\u7a0e\u30b3\u30fc\u30c9\u3068\u3057\u3066VAT\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u6b21\u306e\u30eb\u30fc\u30eb\u304c\u3042\u308b\u305f\u3081\u3001\u56fd\u7a0e\u5e81\u306eT+13\u6841\u3092\u305d\u306e\u307e\u307e\u3067\u306f\u4f7f\u7528\u3067\u304d\u306a\u3044\u3002<br \/>\n<strong>BR-CO-09 (fatal)<\/strong><br \/>\nThe Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix \u2018EL\u2019.<br \/>\n\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u3067\u691c\u8a3c\u5bfe\u8c61\u3092\u65e5\u672c\u3068\u305d\u308c\u4ee5\u5916\u306e\u56fd\u3067\u5206\u3051\u305f\u3001\u6b21\u306e\u3088\u3046\u306a\u5b9a\u7fa9\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002\u6700\u7d42\u5f62\u306f\u3001\u3053\u308c\u304b\u3089\u5354\u8b70\u4e88\u5b9a\u3002<\/p>\n<pre class=\"height-set:false width-set:true lang:default decode:true \" >&lt;!-- Not Japan --&gt;\r\n&lt;rule context=\u201c\/ubl-invoice:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode != \u2018JP\u2019 ]\/cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))=\u2018VAT\u2019]\u201c&gt;\r\n      &lt;assert id=\u201cBR-CO-09\u201d flag=\u201cfatal\u201d test=\u201c( contains( \r\n' 1A AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH EL ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS XI YE YT ZA ZM ZW \u2019,\r\nsubstring(cbc:CompanyID,1,2) ) )\u201c&gt;\r\n[BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix \u2018EL\u2019.\r\n      &lt;\/assert&gt;\r\n    &lt;\/rule&gt;\r\n&lt;!-- Japan --&gt;\r\n    &lt;rule context=\u201c\/ubl-invoice:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = \u2018JP\u2019 ]\/cac:AccountingSupplierParty\/cac:Party\/cac:PartyTaxScheme[cac:TaxScheme\/normalize-space(upper-case(cbc:ID))=\u2018VAT\u2019]\u201c&gt;\r\n      &lt;!-- VAT Number Rules --&gt;\r\n      &lt;assert id=\u201cJP-R-001\u201d test=\u201cmatches(normalize-space(cbc:CompanyID),\u2018^T[0-9]{13}$\u2019)\u201d flag=\u201cfatal\u201d&gt;\r\nFor the Japanese Suppliers, the VAT registered number must start with \u2018T\u2019 and be followed by 13-digit number.\r\n      &lt;\/assert&gt;\r\n    &lt;\/rule&gt;<\/pre>\n<h3>\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u691c\u8a3c\u30b5\u30fc\u30d3\u30b9<\/h3>\n<p>\u63b2\u8f09\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306f\u3001Open PEPPOL\u306e\u96fb\u5b50\u30a4\u30f3\u30dc\u30a4\u30b9\u3092\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u3067\u691c\u8a3c\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306b\u3001\u65e5\u672c\u5bfe\u5fdc\u30c6\u30b9\u30c8\u30b5\u30f3\u30d7\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30c6\u30b9\u30c8\u3057\u305f\u7d50\u679c\u3002<br \/>\n<a  href=\"https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/06\/Validex.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"Validex\" data-rl_caption=\"\" title=\"Validex\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/06\/Validex-943x1024.png\" alt=\"\" width=\"943\" height=\"1024\" class=\"alignnone size-large wp-image-5032\" srcset=\"https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/06\/Validex-943x1024.png 943w, https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/06\/Validex-276x300.png 276w, https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/06\/Validex-768x834.png 768w, https:\/\/www.sambuichi.jp\/wp-content\/uploads\/2021\/06\/Validex.png 1208w\" sizes=\"(max-width: 943px) 100vw, 943px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30f3\u30d7\u30ebXML\u6587\u66f8\u3092\u4fee\u6b63\u3057\u3001\u691c\u8a3c\u7528\u306e\u30b9\u30ad\u30fc\u30de\u30c8\u30ed\u30f3\u3082\u4e0a\u8a18\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304b\u3089\u4fee\u6b63\u3057\u3066\u8a66\u4f5c<br \/>\n&#8212; \u4e3b\u306a\u5909\u66f4\u70b9 &#8212;<br \/>\n \u4f01\u696d\u30b3\u30fc\u30c9\u306b\u56fd\u7a0e\u5e81(0188)\u304c\u767a\u884c\u3059\u308b\u6cd5\u4eba\u756a\u53f7\u3092\u4f7f\u7528\u3059\u308b\u3002<br \/>\n \u91d1\u984d\u8868\u793a\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u4f7f\u7528\u3057\u306a\u3044\u3002<br \/>\n1\u5186\u5358\u4f4d\u306b\u4e38\u3081\u308b\u8a08\u7b97\u306f\u3001\u5207\u308a\u6368\u3066\u3001\u56db\u6368\u4e94\u5165\u3001\u5207\u308a\u4e0a\u3052\u306e\u3044\u305a\u308c\u3067\u3082\u826f\u3044\u306e\u3067\u3001\u4e38\u3081\u305f\u5024\u304c\u305d\u306e\u7bc4\u56f2\u5185\u3067\u3042\u308b\u304b\u691c\u8a3c\u3059\u308b\u3002<\/p>\n","protected":false},"author":2,"featured_media":4982,"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\/4977"}],"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=4977"}],"version-history":[{"count":60,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/4977\/revisions"}],"predecessor-version":[{"id":5182,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/4977\/revisions\/5182"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/media\/4982"}],"wp:attachment":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}