{"id":5412,"date":"2022-02-10T20:00:40","date_gmt":"2022-02-10T11:00:40","guid":{"rendered":"https:\/\/www.sambuichi.jp\/?p=5412"},"modified":"2022-08-10T17:19:39","modified_gmt":"2022-08-10T08:19:39","slug":"%e5%93%81%e7%9b%ae%e5%8d%98%e4%be%a1%e5%9f%ba%e6%ba%96%e6%95%b0%e9%87%8f%ef%bc%88ibt-149%ef%bc%89%e3%81%ae%e8%a8%88%e7%ae%97%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.sambuichi.jp\/?p=5412","title":{"rendered":"\u660e\u7d30\u884c\u306e\u91d1\u984d\u8a08\u7b97\u65b9\u6cd5\u3068\u691c\u8a3c\u30eb\u30fc\u30eb"},"content":{"rendered":"<p>Views: 123<\/p><p>ibt-150\u3067\u305d\u308c\u305e\u308cH87, XIK, XBO\u3068\u7570\u306a\u308b\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066\u3044\u305f\u306e\u306f\u8aa4\u308a\u3067\u3057\u305f\u3002<br \/>\nBIS Billing 3.0\u3067\u306f\u3001\u6b21\u306e\u30eb\u30fc\u30eb\u304c\u3042\u308a\u3001\u540c\u3058\u6570\u91cf\u5358\u4f4d\u3067\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002\u3053\u3053\u3067\u306f\u3001\u5168\u3066H87\u3002<br \/>\n<strong>PEPPOL-EN16931-R130<\/strong><br \/>\nUnit code of price base quantity MUST be same as invoiced quantity.<\/p>\n<p>\u3053\u306e\u524d\u63d0\u306e\u4e0a\u3067\u3001<br \/>\n<strong>PEPPOL-EN16931-R120<\/strong><br \/>\nInvoice line net amount MUST equal (Invoiced quantity * (Item net price\/item price base quantity) + Sum of invoice line charge\u3000amount &#8211; sum of invoice line allowance amount<br \/>\n\u3068\u3044\u3046\u8a08\u7b97\u3067\u306e(Item net price\/item price base quantity)\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<hr>\n<h2>\u8a08\u7b97\u65b9\u6cd5<\/h2>\n<h3>\u8377\u59ff\u304c\u7570\u306a\u308b\u5834\u5408\uff08\u518d\u8003\uff09<\/h3>\n<p>\u30d3\u30fc\u30eb\u7b49\u306e\u8ca9\u58f2\u30671\u7f36\u5358\u4f4d\u30fb\uff11\u30d1\u30c3\u30af\u3082\u3057\u304f\u306f\uff11\u30ab\u30fc\u30c8\u30f3\u3067\u306e\u96fb\u5b50\u30a4\u30f3\u30dc\u30a4\u30b9\u306e\u30c7\u30fc\u30bf\u8a2d\u5b9a\u306f\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u8377\u59ff\u306b\u5fdc\u3058\u3066\u5546\u54c1\u756a\u53f7\u3092\u500b\u5225\u306b\u8a2d\u5b9a\u305b\u305a\u3001\u5171\u901a\u306e\u5546\u54c1\u756a\u53f7\u3068\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u306f\u3001\u8377\u59ff\u306b\u5fdc\u3058\u3066\u7570\u306a\u308b\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3001\u305d\u306e\u30b3\u30fc\u30c9\u304b\u3089\u5358\u4f4d\u5f53\u305f\u308a\u306e\u6570\u91cf\u3092\u6c42\u3081\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u5b9f\u52d9\u4e0a\u306e\u5927\u5e45\u306a\u8ca0\u62c5\u306b\u306a\u308a\u304b\u306d\u306a\u3044\u306e\u3067\u3001\u518d\u8003\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\uff14\uff10\u7f36\u8cfc\u5165\u3059\u308b\u3068\u304d\u306b\u3001\uff11\u30ab\u30fc\u30c8\u30f3\u3001\uff12\u30d1\u30c3\u30af\u3001\uff14\u7f36\u8cfc\u5165\u3057\u305f\u3068\u3057\u307e\u3059\u3002<br \/>\n\u3053\u306e\u3068\u304d\u306b\u306f\u3001\uff11\u30ab\u30fc\u30c8\u30f3\u3001\uff12\u30d1\u30c3\u30af\u3001\uff16\u7f36\u3068\u6570\u91cf\u5358\u4f4d\u304c\u7570\u306a\u308b\u306e\u3067\u660e\u7d30\u884c\u3092\u305d\u308c\u305d\u308c\u8a18\u8f09\u3057\u307e\u3059\u304c\u8acb\u6c42\u6570\u91cf\u306e\u5358\u4f4d\u306f\u5168\u3066\u540c\u3058\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>40[\u7f36] = 24[\u7f36\/\u30ab\u30fc\u30c8\u30f3] \u00d7 1[\u30ab\u30fc\u30c8\u30f3] + 6[\u7f36\/\u30d1\u30c3\u30af] \u00d7 2[\u30d1\u30c3\u30af] + 1\u00d74[\u7f36]<br \/>\n       = 24[\u7f36] + 12[\u7f36] + 4[\u7f36]<\/p>\n<h4>\u5358\u4f4d\u3068\u3057\u3066H87(Piece)\u3092\u4f7f\u7528\u3057\u8868\u793a\u7528\u306e\u8377\u59ff\u5358\u4f4d\u3092\u5225\u306e\u9805\u76ee\u3067\u6307\u5b9a\u3059\u308b<\/h4>\n<p>\u3053\u306e\u5834\u5408\u306f\u3001ibg-32\u3000ITEM ATTRIBUTES\u306b\u8377\u59ff\u306e\u6570\u91cf\u5358\u4f4d\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002\u5358\u4f4d\u304c\u3001Piece\uff08\u500b\u6570\uff09\u3067\u3059\u306e\u3067\u3001\u8acb\u6c42\u6570\u91cf\u304c\u305d\u308c\u305e\u308c24\u300112\u30014\u3068\u5165\u3063\u3066\u3044\u308b\u7f36\u306e\u6570\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u969b\u306bibt-129Invoiced quantity\u3092ibt-149Item price base quantity\u3067\u5272\u3063\u305f\u5024\u3092\u753b\u9762\u3084\u8d85\u8868\u60c5\u306b\u8868\u793a\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u8377\u59ff\u3054\u3068\u306b\u660e\u7d30\u884c\u3092\u5206\u3051\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u3067\u3059\u3002<br \/>\n\u8acb\u6c42\u6570\u91cf\u304c\u30c7\u30fc\u30bf\u306b\u8a18\u8f09\u3055\u308c\u305f\u5024\u3068\u3057\u3066\u306f\u4e0d\u81ea\u7136\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u8868\u793a\u5909\u63db\u3067\u99b4\u67d3\u307f\u3042\u308b\u8868\u8a18\u306b\u5909\u63db\u3059\u308b\u5bfe\u5fdc\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<table >\n<thead>\n<tr>\n<th >ID<\/th>\n<th >Business Term<\/th>\n<th\" colspan=\"3\">Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td  colspan=\"2\">&nbsp;<\/td>\n<td >\u30ab\u30fc\u30c8\u30f3<\/td>\n<td>\u30d1\u30c3\u30af<\/td>\n<td>\u7f36<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-25<\/td>\n<td  colspan=\"4\">INVOICE LINE<\/td>\n<\/tr>\n<tr>\n<td>ibt-129<\/td>\n<td>\u2022 Invoiced quantity<\/td>\n<td>24<\/td>\n<td>12<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>ibt-130<\/td>\n<td>\u2022 Invoiced quantity unit of measure code<\/td>\n<td>H87<\/td>\n<td>H87<\/td>\n<td>H87<\/td>\n<\/tr>\n<tr>\n<td>ibt-131<\/td>\n<td>\u2022 Invoice line net amount<\/td>\n<td>4800<\/td>\n<td>2400<\/td>\n<td>800<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-29<\/td>\n<td colspan=\"4\">\u2022 PRICE DETAILS<\/td>\n<\/tr>\n<tr>\n<td>ibt-146<\/td>\n<td>\u2022 \u2022 Item net price<\/td>\n<td>4800<\/td>\n<td>1200<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>ibt-149<\/td>\n<td>\u2022 \u2022 Item price base quantity<\/td>\n<td>24<\/td>\n<td>6<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>ibt-150<\/td>\n<td>\u2022 \u2022 Item price base quantity unit of measure code<\/td>\n<td>H87<\/td>\n<td>H87<\/td>\n<td>H87<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-31<\/td>\n<td colspan=\"4\">\u2022 ITEM INFORMATION<\/td>\n<\/tr>\n<tr>\n<td>ibt-153<\/td>\n<td>\u2022 \u2022 Item name<\/td>\n<td>\u30d3\u30fc\u30eb<\/td>\n<td>\u30d3\u30fc\u30eb<\/td>\n<td>\u30d3\u30fc\u30eb<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-31<\/td>\n<td colspan=\"4\">\u2022 \u2022 ITEM ATTRIBUTES<\/td>\n<\/tr>\n<tr>\n<td>ibt-149<\/td>\n<td>\u2022 \u2022 \u2022 Item attribute name<\/td>\n<td>\u5358\u4f4d<\/td>\n<td>\u5358\u4f4d<\/td>\n<td>\u5358\u4f4d<\/td>\n<\/tr>\n<tr>\n<td>ibt-150<\/td>\n<td>\u2022 \u2022 \u2022 Item attribute value<\/td>\n<td>\u30ab\u30fc\u30c8\u30f3<\/td>\n<td>\u30d1\u30c3\u30af<\/td>\n<td>\u7f36<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>100g\u3042\u305f\u308a800\u5186\u306e\u725b\u8089<\/h3>\n<p>\u3053\u306e\u725b\u8089\u3092320g\u8cfc\u5165\u3059\u308b\u3068\u304d\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u6b21\u306e\u8868\u306eValue\u6b04\u306b\u8a18\u8f09\u3057\u3066\u3044\u308bCTG\u306f\u3001\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9(Unit of measurement)\u3067<a href=\"https:\/\/test-docs.peppol.eu\/poacc\/billing-japan\/codelist\/UNECERec20\/\">Recommendation 20, including Recommendation 21 codes &#8211; prefixed with X (UN\/ECE)<\/a>\u3067\u898f\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u306e\u4ee3\u8868\u7684\u306a\u5024\u306f\u3001Peppol BIS Billing JP 0.9 <a href=\"https:\/\/test-docs.peppol.eu\/japan\/master\/billing-1.0\/bis\/#_unit_of_measure\">8.9 Unit of measure <\/a>\u306b\u3082\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6ce8\u610f\uff1a<br \/>\n\u65e2\u5b58\u306e\u8acb\u6c42\u696d\u52d9\u30bd\u30d5\u30c8\u3067\u3053\u306e\u3088\u3046\u306a\u6a19\u6e96\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u3068\u304d\u306b\u306f\u3001Open Peppol\u5bfe\u5fdc\u306e\u305f\u3081\u306b\u3001\u5546\u54c1\u30de\u30b9\u30bf\u30fc\u306e\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u306e\u8a2d\u5b9a\u8ffd\u52a0\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u8a2d\u5b9a\u3055\u308c\u305f\u5024\u304c\u6a19\u6e96\u30b3\u30fc\u30c9\u306e\u5024\u3067\u306a\u3044\u3068\u3001\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u3067\u306e\u96fb\u5b50\u30a4\u30f3\u30dc\u30a4\u30b9\u306e\u5f62\u5f0f\u691c\u8a3c\u30eb\u30fc\u30eb\u30c1\u30a7\u30c3\u30af\u3067\u30a8\u30e9\u30fc\u3068\u306a\u308a\u3001\u53d7\u3051\u4ed8\u3051\u3089\u308c\u307e\u305b\u3093\u3002<br \/>\n\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u306e\u4ed6\u306b\u3082\u3001\u6a19\u6e96\u30b3\u30fc\u30c9\u30ea\u30b9\u30c8\u304b\u3089\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u58f2\u308a\u624b\u3001\u8cb7\u3044\u624b\u305d\u308c\u305e\u308c\u3067\u53d6\u5f15\u5148\u76f8\u4e92\u3067\u5404\u7a2e\u30de\u30b9\u30bf\u30fc\u306e\u8a2d\u5b9a\u5185\u5bb9\u3092\u5171\u901a\u306a\u5024\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u904b\u7528\u4e0a\u306e\u8abf\u6574\u304c\u5fc5\u8981\u306a\u4e8b\u9805\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>ID<\/th>\n<th>Business Term<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-25<\/td>\n<td colspan=\"2\">INVOICE LINE<\/td>\n<\/tr>\n<tr>\n<td>ibt-129<\/td>\n<td>\u2022 Invoiced quantity<\/td>\n<td>320<\/td>\n<\/tr>\n<tr>\n<td>ibt-130<\/td>\n<td>\u2022 Invoiced quantity unit of measure code<\/td>\n<td>CTG<\/td>\n<\/tr>\n<tr>\n<td>ibt-131<\/td>\n<td>\u2022 Invoice line net amount<\/td>\n<td>2560<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-29<\/td>\n<td colspan=\"2\">\u2022 PRICE DETAILS<\/td>\n<\/tr>\n<tr>\n<td>ibt-146<\/td>\n<td>\u2022 \u2022 Item net price<\/td>\n<td>800<\/td>\n<\/tr>\n<tr>\n<td>ibt-149<\/td>\n<td>\u2022 \u2022 Item price base quantity<\/td>\n<td>100<\/td>\n<\/tr>\n<tr>\n<td>ibt-150<\/td>\n<td>\u2022 \u2022 Item price base quantity unit of measure code<\/td>\n<td>CTG<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/test-docs.peppol.eu\/japan\/master\/billing-1.0\/bis\/#lineamount-calc\">7.2.2. Invoice line net amount (IBT-131)<\/a>\u3067\u660e\u7d30\u884c\u306e\u91d1\u984d\u8a08\u7b97\u65b9\u6cd5\u304c\u898f\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\nItem line net amount (IBT-131) =<br \/>\n(Item net price (IBT-146) \u00f7 Item price base quantity (IBT-149)) \u00d7 (Invoiced Quantity (IBT-129)) + Invoice line charge amount (IBT-141) \u2212 Invoice line allowance amount (IBT-136)<br \/>\n\u5f93\u3063\u3066\u3001(800 \u00f7 100) \u00d7 320 = 2560 \u3067\u3059\u306e\u3067\u30012560\u5186\u3067\u3059\u3002<\/p>\n<h3>\uff13\u500b\u30671000\u5186<\/h3>\n<p>\u3053\u306e\u3068\u304d\u306b\u306f\u3001ibt-149 Item price base quantity\u304c\uff13\u3067\u3001\u6570\u91cf\u5358\u4f4d\u306f\u500b(H87)\u3067\u3059\u3002<br \/>\n\u3053\u306e\u5546\u54c1\u309212\u500b\u8cfc\u5165\u3059\u308b\u3068\u304d\u306e\u91d1\u984d\u306f\u3001(1000 \u00f7 3) \u00d7 12 = 4000\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>ID<\/th>\n<th>Business Term<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-25<\/td>\n<td colspan=\"2\">INVOICE LINE<\/td>\n<\/tr>\n<tr>\n<td>ibt-129<\/td>\n<td>\u2022 Invoiced quantity<\/td>\n<td>12<\/td>\n<\/tr>\n<tr>\n<td>ibt-130<\/td>\n<td>\u2022 Invoiced quantity unit of measure code<\/td>\n<td>H87<\/td>\n<\/tr>\n<tr>\n<td>ibt-131<\/td>\n<td>\u2022 Invoice line net amount<\/td>\n<td>4000<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-29<\/td>\n<td colspan=\"2\">\u2022 PRICE DETAILS<\/td>\n<\/tr>\n<tr>\n<td>ibt-146<\/td>\n<td>\u2022 \u2022 Item net price<\/td>\n<td>1000<\/td>\n<\/tr>\n<tr>\n<td>ibt-149<\/td>\n<td>\u2022 \u2022 Item price base quantity<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>ibt-150<\/td>\n<td>\u2022 \u2022 Item price base quantity unit of measure code<\/td>\n<td>H87<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3055\u3066\u300112\u500b\u3067\u306a\u304f10\u500b\u8cb7\u3063\u305f\u3068\u304d\u306e\u8a08\u7b97\u306f\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n(1000 \u00f7 3) \u00d7 10 = 3333.3333 &#8230; \u3068\u306a\u308a\u307e\u3059\u304c\u3001\u901a\u5e38\u3001\u5207\u308a\u4e0a\u3052\u308b\u304b\u56db\u6368\u4e94\u5165\u3059\u308b\u304b\u5207\u308a\u6368\u3066\u308b\u304b\u3057\u3066\u7aef\u6570\u306e\u306a\u3044\u91d1\u984d\u306b\u4e38\u3081\u307e\u3059\u3002\u56db\u6368\u4e94\u5165\u3057\u30663333\u3068\u3057\u305f\u3068\u304d\u306e\u4f8b\u3092\u6b21\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u660e\u7d30\u884c\u306e\u91d1\u984d\u306e\u691c\u8a3c\u30eb\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>ID<\/th>\n<th>Business Term<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-25<\/td>\n<td colspan=\"2\">INVOICE LINE<\/td>\n<\/tr>\n<tr>\n<td>ibt-129<\/td>\n<td>\u2022 Invoiced quantity<\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td>ibt-130<\/td>\n<td>\u2022 Invoiced quantity unit of measure code<\/td>\n<td>H87<\/td>\n<\/tr>\n<tr>\n<td>ibt-131<\/td>\n<td>\u2022 Invoice line net amount<\/td>\n<td>3333<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-29<\/td>\n<td colspan=\"2\">\u2022 PRICE DETAILS<\/td>\n<\/tr>\n<tr>\n<td>ibt-146<\/td>\n<td>\u2022 \u2022 Item net price<\/td>\n<td>1000<\/td>\n<\/tr>\n<tr>\n<td>ibt-149<\/td>\n<td>\u2022 \u2022 Item price base quantity<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>ibt-150<\/td>\n<td>\u2022 \u2022 Item price base quantity unit of measure code<\/td>\n<td>H87<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u8377\u59ff\u304c\u7570\u306a\u308b\u5834\u5408<\/h3>\n<p>\u30d3\u30fc\u30eb\u7b49\u306e\u8ca9\u58f2\u30671\u7f36\u5358\u4f4d\u30fb\uff11\u30d1\u30c3\u30af\u3082\u3057\u304f\u306f\uff11\u30ab\u30fc\u30c8\u30f3\u3067\u306e\u30c7\u30fc\u30bf\u8a2d\u5b9a\u3067\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\uff14\uff10\u7f36\u8cfc\u5165\u3059\u308b\u3068\u304d\u306b\u3001\uff11\u30ab\u30fc\u30c8\u30f3\u3001\uff12\u30d1\u30c3\u30af\u3001\uff14\u7f36\u8cfc\u5165\u3057\u305f\u3068\u3057\u307e\u3059\u3002<br \/>\n\u3053\u306e\u3068\u304d\u306b\u306f\u3001\uff11\u30ab\u30fc\u30c8\u30f3\u3001\uff12\u30d1\u30c3\u30af\u3001\uff16\u7f36\u3068\u6570\u91cf\u5358\u4f4d\u304c\u7570\u306a\u308b\u306e\u3067\u660e\u7d30\u884c\u3092\u305d\u308c\u305d\u308c\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<th>Code<\/th>\n<th>Name<\/th>\n<th>\u6570\u91cf<\/th>\n<\/tr>\n<tr>\n<td>XCT<\/td>\n<td>Carton<\/td>\n<td>24<\/td>\n<\/tr>\n<tr>\n<td>XIK<\/td>\n<td>Package, cardboard, with bottle grip-holes<br \/>\nPackaging material made out of cardboard that facilitates the separation of individual glass or plastic bottles.<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>XBO<\/td>\n<td>Bottle, non-protected, cylindrical<br \/>\nA narrow-necked cylindrical shaped vessel without external protective packing material.<\/td>\n<td>1<\/td>\n<\/tr>\n<\/table>\n<p>40[\u7f36] = 24[\u7f36\/\u30ab\u30fc\u30c8\u30f3] \u00d7 1[\u30ab\u30fc\u30c8\u30f3] + 6[\u7f36\/\u30d1\u30c3\u30af] \u00d7 2[\u30d1\u30c3\u30af] + 1\u00d74[\u7f36]<\/p>\n<p>\u6ce8\u610f\uff1a<br \/>\n\u8377\u59ff\u306b\u5fdc\u3058\u3066\u5546\u54c1\u756a\u53f7\u3092\u500b\u5225\u306b\u8a2d\u5b9a\u305b\u305a\u3001\u5171\u901a\u306e\u5546\u54c1\u756a\u53f7\u3068\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u306f\u3001\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u304b\u3089\u5358\u4f4d\u5f53\u305f\u308a\u306e\u6570\u91cf\u3092\u6c42\u3081\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u3066\u307e\u305b\u3093\u3002<\/p>\n<p>\u8377\u59ff\u3054\u3068\u306b\u660e\u7d30\u884c\u3092\u5206\u3051\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>ID<\/th>\n<th>Business Term<\/th>\n<th colspan=\"3\">Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td colspan=\"2\">&nbsp;<\/td>\n<td>\u30ab\u30fc\u30c8\u30f3<\/td>\n<td>\u30d1\u30c3\u30af<\/td>\n<td>\u7f36<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-25<\/td>\n<td  colspan=\"4\">INVOICE LINE<\/td>\n<\/tr>\n<tr>\n<td>ibt-129<\/td>\n<td>\u2022 Invoiced quantity<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>ibt-130<\/td>\n<td>\u2022 Invoiced quantity unit of measure code<\/td>\n<td>XCT<\/td>\n<td>XIK<\/td>\n<td>XBO<\/td>\n<\/tr>\n<tr>\n<td>ibt-131<\/td>\n<td>\u2022 Invoice line net amount<\/td>\n<td>4800<\/td>\n<td>2400<\/td>\n<td>800<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-29<\/td>\n<td colspan=\"4\">\u2022 PRICE DETAILS<\/td>\n<\/tr>\n<tr>\n<td>ibt-146<\/td>\n<td>\u2022 \u2022 Item net price<\/td>\n<td>4800<\/td>\n<td>1200<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>ibt-149<\/td>\n<td>\u2022 \u2022 Item price base quantity<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>ibt-150<\/td>\n<td>\u2022 \u2022 Item price base quantity unit of measure code<\/td>\n<td>XCT<\/td>\n<td>XIK<\/td>\n<td>XBO<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8377\u59ff\u306b\u5fdc\u3058\u3066\u5024\u5f15\u304d\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u5024\u5f15\u984d\u306f\u3001\uff11\u30ab\u30fc\u30c8\u30f3\u5f53\u305f\u308a800\u3001\uff11\u30d1\u30c3\u30af\u3042\u305f\u308a100\u3068\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>ID<\/th>\n<th>Business Term<\/th>\n<th colspan=\"3\">Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td colspan=\"2\">&nbsp;<\/td>\n<td>\u30ab\u30fc\u30c8\u30f3<\/td>\n<td>\u30d1\u30c3\u30af<\/td>\n<td>\u7f36<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-25<\/td>\n<td  colspan=\"4\">INVOICE LINE<\/td>\n<\/tr>\n<tr>\n<td>ibt-129<\/td>\n<td>\u2022 Invoiced quantity<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>ibt-130<\/td>\n<td>\u2022 Invoiced quantity unit of measure code<\/td>\n<td>XCT<\/td>\n<td>XIK<\/td>\n<td>XBO<\/td>\n<\/tr>\n<tr>\n<td>ibt-131<\/td>\n<td>\u2022 Invoice line net amount<\/td>\n<td>4000<\/td>\n<td>2200<\/td>\n<td>800<\/td>\n<\/tr>\n<tr style=\"background-color:#eaeaea\">\n<td>ibg-29<\/td>\n<td colspan=\"4\">\u2022 PRICE DETAILS<\/td>\n<\/tr>\n<tr>\n<td>ibt-146<\/td>\n<td>\u2022 \u2022 Item net price<\/td>\n<td>4000<\/td>\n<td>1100<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>ibt-147<\/td>\n<td>\u2022 \u2022 Item price discount<\/td>\n<td>800<\/td>\n<td>100<\/td>\n<td>0<\/td>\n<\/tr>\n<tr>\n<td>ibt-148<\/td>\n<td>\u2022 \u2022 Item gross price<\/td>\n<td>4800<\/td>\n<td>1200<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>ibt-149<\/td>\n<td>\u2022 \u2022 Item price base quantity<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>ibt-150<\/td>\n<td>\u2022 \u2022 Item price base quantity unit of measure code<\/td>\n<td>XCT<\/td>\n<td>XIK<\/td>\n<td>XBO<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u5408\u8a08\u91d1\u984d\u3068\u6d88\u8cbb\u7a0e\u984d\u306e\u8a18\u8f09\u65b9\u6cd5<\/h3>\n<p><a href=\"https:\/\/test-docs.peppol.eu\/japan\/master\/billing-1.0\/bis\/#_invoice_examples\">5.11 Invoice examples<\/a>\u306e\u4f8b\u3092\u30a4\u30f3\u30dc\u30a4\u30b9\u30c7\u30fc\u30bf\u306e\u968e\u5c64\u304c\u308f\u304b\u308b\u5f62\u5f0f\u3067\u8868\u793a\u3057\u305f\u30da\u30fc\u30b8\u304c<a href=\"https:\/\/www.wuwei.space\/jp_pint\/billing-japan\/BIS\/5.11.example.html\">5.11 Invoice examples<\/a>\u3067\u3059\u3002\u3053\u3061\u3089\u3082\u5408\u308f\u305b\u3066\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u8a08\u7b97\u91d1\u984d\u306b\u5bfe\u3059\u308b\u30c1\u30a7\u30c3\u30af\u30eb\u30fc\u30eb<\/h2>\n<p><a href=\"https:\/\/www.wuwei.space\/jp_pint\/billing-japan\/syntax\/ubl-invoice\/cac-InvoiceLine\/cbc-LineExtensionAmount\/en\/\">https:\/\/www.wuwei.space\/jp_pint\/billing-japan\/syntax\/ubl-invoice\/cac-InvoiceLine\/cbc-LineExtensionAmount\/en\/<\/a><br \/>\n\u30c1\u30a7\u30c3\u30af\u5bfe\u8c61\u306e\u6307\u5b9a<br \/>\nContext<br \/>\n\/ubl:Invoice[cac:AccountingSupplierParty\/cac:Party\/cac:PostalAddress\/cac:Country\/cbc:IdentificationCode = &#8216;JP&#8217; ]\/cac:InvoiceLine<br \/>\n\u30c1\u30a7\u30c3\u30af\u6761\u4ef6<br \/>\nTest<\/p>\n<pre class=\"height-set:true width-set:false lang:default decode:true \" >\r\n( exists(cac:Price\/cbc:BaseQuantity) and\r\n  ( exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()]) and\r\n    exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()]) and\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    ( 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    ( 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    ( cbc:LineExtensionAmount = \r\n      cbc:InvoicedQuantity * (cac:Price\/cbc:PriceAmount div cac:Price\/cbc:BaseQuantity)\r\n    )\r\n  )\r\n) or \r\n( not(exists(cac:Price\/cbc:BaseQuantity)) and\r\n  ( \r\n    ( exists(cac:AllowanceCharge[cbc:ChargeIndicator=false()]) and\r\n      exists(cac:AllowanceCharge[cbc:ChargeIndicator=true()]) and\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      ( cbc:LineExtensionAmount =\r\n        cbc:InvoicedQuantity * cac:Price\/cbc:PriceAmount + \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      ( cbc:LineExtensionAmount = \r\n        cbc:InvoicedQuantity * cac:Price\/cbc:PriceAmount - \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      ( cbc:LineExtensionAmount = \r\n        cbc:InvoicedQuantity * cac:Price\/cbc:PriceAmount\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      ( cbc:LineExtensionAmount = \r\n        cbc:InvoicedQuantity * cac:Price\/cbc:PriceAmount\r\n      )\r\n    )\r\n  )\r\n)<\/pre>\n<p>ibt-149\u3000Item price base quantity\u306f\u4efb\u610f\u9805\u76ee\u306a\u306e\u3067\u3001\u6307\u5b9a\u3055\u308c\u306a\u3044\u3068\u304d\u306b\u306f\u30011 \u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e\u7b87\u6240\u306eBIS Billing 3.0\u30eb\u30fc\u30eb\u5b9a\u7fa9(PEPPOL-EN16931-UBL.sch)\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5909\u6570\u3092\u4f7f\u7528\u3057\u3066\u7c21\u6f54\u306a\u5b9a\u7fa9\u3067\u3059\u3002<\/p>\n<pre class=\"height-set:true width-set:false lang:default decode:true \" >    &lt;!-- Line level - line extension amount --&gt;\r\n    &lt;rule context=\"cac:InvoiceLine | cac:CreditNoteLine\"&gt;\r\n      &lt;let name=\"lineExtensionAmount\" value=\"\r\n          if (cbc:LineExtensionAmount) then\r\n            xs:decimal(cbc:LineExtensionAmount)\r\n          else\r\n            0\"\/&gt;\r\n      &lt;let name=\"quantity\" value=\"\r\n          if (\/ubl-invoice:Invoice) then\r\n            (if (cbc:InvoicedQuantity) then\r\n              xs:decimal(cbc:InvoicedQuantity)\r\n            else\r\n              1)\r\n          else\r\n            (if (cbc:CreditedQuantity) then\r\n              xs:decimal(cbc:CreditedQuantity)\r\n            else\r\n              1)\"\/&gt;\r\n      &lt;let name=\"priceAmount\" value=\"\r\n          if (cac:Price\/cbc:PriceAmount) then\r\n            xs:decimal(cac:Price\/cbc:PriceAmount)\r\n          else\r\n            0\"\/&gt;\r\n      &lt;let name=\"baseQuantity\" value=\"\r\n          if (cac:Price\/cbc:BaseQuantity and xs:decimal(cac:Price\/cbc:BaseQuantity) != 0) then\r\n            xs:decimal(cac:Price\/cbc:BaseQuantity)\r\n          else\r\n            1\"\/&gt;\r\n      &lt;let name=\"allowancesTotal\" value=\"\r\n          if (cac:AllowanceCharge[normalize-space(cbc:ChargeIndicator) = 'false']) then\r\n            round(sum(cac:AllowanceCharge[normalize-space(cbc:ChargeIndicator) = 'false']\/cbc:Amount\/xs:decimal(.)) * 10 * 10) div 100\r\n          else\r\n            0\"\/&gt;\r\n      &lt;let name=\"chargesTotal\" value=\"\r\n          if (cac:AllowanceCharge[normalize-space(cbc:ChargeIndicator) = 'true']) then\r\n            round(sum(cac:AllowanceCharge[normalize-space(cbc:ChargeIndicator) = 'true']\/cbc:Amount\/xs:decimal(.)) * 10 * 10) div 100\r\n          else\r\n            0\"\/&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R120\" test=\"u:slack($lineExtensionAmount, ($quantity * ($priceAmount div $baseQuantity)) + $chargesTotal - $allowancesTotal, 0.02)\" flag=\"fatal\"&gt;Invoice line net amount MUST equal (Invoiced quantity * (Item net price\/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount&lt;\/assert&gt;\r\n      &lt;assert id=\"PEPPOL-EN16931-R121\" test=\"not(cac:Price\/cbc:BaseQuantity) or xs:decimal(cac:Price\/cbc:BaseQuantity) &amp;gt; 0\" flag=\"fatal\"&gt;Base quantity MUST be a positive number above zero.&lt;\/assert&gt;\r\n    &lt;\/rule&gt;<\/pre>\n<p>\u307e\u305f\u3001\u91d1\u984d\u8a08\u7b97\u306b\u306f\u3001slack()\u95a2\u6570\u3092\u7528\u3044\u3066\u304a\u308a\u3001\u8a08\u7b97\u7d50\u679c\u304c0.02\u306e\u5358\u4f4d\u91d1\u984d\u306e\u7bc4\u56f2\u5185\u306b\u53ce\u307e\u3063\u3066\u3044\u308b\u304b\u3092\u691c\u8a3c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>u:slack(exp,val,slack)\u306f\u3001\u6b21\u306e\u5224\u5b9a\u3092\u884c\u3046\u95a2\u6570\u3067\u3059\u3002<br \/>\n (exp + slack) >= val and (exp &#8211; $slack) <= val<br \/>\n\u3064\u307e\u308a\u3001<br \/>\nval &#8211; slack <= exp <= val + slack<br \/>\n\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001<br \/>\nexp = $lineExtensionAmount<br \/>\nval = ($quantity * ($priceAmount div $baseQuantity)) + $chargesTotal &#8211; $allowancesTotal<br \/>\nslack = 0.02<br \/>\n\u306a\u306e\u3067\u3001\u8a08\u7b97\u7d50\u679c\u304c\u3001lineExtensionAmount \u00b1 0.02\u3000\u306e\u7bc4\u56f2\u5185\u304b\u3092\u5224\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"height-set:true width-set:false lang:default decode:true \" >\t&lt;function xmlns=\"http:\/\/www.w3.org\/1999\/XSL\/Transform\" name=\"u:slack\" as=\"xs:boolean\"&gt;\r\n\t\t&lt;param name=\"exp\" as=\"xs:decimal\"\/&gt;\r\n\t\t&lt;param name=\"val\" as=\"xs:decimal\"\/&gt;\r\n\t\t&lt;param name=\"slack\" as=\"xs:decimal\"\/&gt;\r\n\t\t&lt;value-of select=\"xs:decimal($exp + $slack) &amp;gt;= $val and xs:decimal($exp - $slack) &amp;lt;= $val\"\/&gt;\r\n\t&lt;\/function&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Views: 123ibt-150\u3067\u305d\u308c\u305e\u308cH87, XIK, XBO\u3068\u7570\u306a\u308b\u6570\u91cf\u5358\u4f4d\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066\u3044\u305f\u306e\u306f\u8aa4\u308a\u3067\u3057\u305f\u3002 BIS Billing 3.0\u3067\u306f\u3001\u6b21\u306e\u30eb\u30fc\u30eb\u304c\u3042\u308a\u3001\u540c\u3058\u6570\u91cf\u5358\u4f4d\u3067\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002\u3053\u3053\u3067\u306f\u3001 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5415,"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\/5412"}],"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=5412"}],"version-history":[{"count":94,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/5412\/revisions"}],"predecessor-version":[{"id":6834,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/posts\/5412\/revisions\/6834"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=\/wp\/v2\/media\/5415"}],"wp:attachment":[{"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sambuichi.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}