Views: 411
Open Peppol JP PINT 税込み価額の記載
Nobuyuki SAMBUICHI
ISO/TC295 Audit data services/SG1 Semantic model Convener
1. 2024-02-22追記 cbc:TaxIncludedIndicator
区分記載請求書など、全ての明細行金額が税込みのときには、cac:TaxTotalの下位要素にcbc:TaxIncludedIndicatorを定義する方法も可能です。
BIS Billing 3.0では、仕様で定義されていないUBLの要素を使用したインボイスはエラーが報告されましたがJP PINTでは厳格にエラーチェックしていませんのでそのままC2を通過します。
An indicator that tax is included in the calculation (true) or not (false).
計算に税が含まれている(true)か含まれていない(false)かを示す指標。
cbc:TaxIncludedIndicator Definition
このインジケータ―を指定することで、全ての金額が税込みであることを指示できますので、区分記載請求書のようにすべての金額が税込みのときに使用することができます。
課税対象金額に税抜き合計金額を記載することで、スキーマトロンチェックで妥当となります。
ALIGNED-IBRP-045 [aligned-ibrp-045]-Each tax breakdown (ibg-23) MUST have a tax category taxable amount (ibt-116).
各税内訳(ibg-23)は税カテゴリー課税額(ibt-116)を持たなければなりません(MUST)。ALIGNED-IBRP-051-JP [aligned-ibrp-051-jp]-Tax category tax amount (ibt-117) = tax category taxable amount (ibt-116) x (tax category rate (ibt-119) / 100), rounded to integer. The rounded result amount shall be between the floor and the ceiling.
税カテゴリー税額(ibt-117)= 税カテゴリー課税額(ibt-116)×(税カテゴリー率(ibt-119)/ 100)、整数に丸める。丸めた結果の金額は、下限と上限の間でなければなりません。
Japanese jurisdiction specific PINT rules
BIS Billing 3.0で定義されていた次のルールが廃止されていますので、明細行の金額合計と課税対象金額が一致していなくてもエラーとなりません。
BR-S-08
For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is “Standard rated”, the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “Standard rated” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119).
「標準税率」のVATカテゴリーコード(BT-118)がある場合、異なるVATカテゴリー率(BT-119)ごとに、VAT内訳(BG-23)のVATカテゴリー課税額(BT-116)は、請求書行の純額(BT-131)の合計プラス文書レベルの課金額(BT-99)の合計マイナス文書レベルの許容額(BT-92)の合計でなければなりません。ここで、VATカテゴリーコード(BT-151、BT-102、BT-95)は「標準税率」であり、VAT率(BT-152、BT-103、BT-96)はVATカテゴリー率(BT-119)と等しい。
EN16931 model bound
2. 税込み価額の記載
Peppol Authorityでの議論から「税込み価額の記載」についての要件が取り残されていますが実用上は避けて通れない要件です。UBL2.3から明細行の金額にこれまでの税抜き金額と併せて税込み金額の記載が可能となりました。日本では、税抜き表記と税込み表記が混在しますので、この税込み金額項目を使用するのがUBLらしい実装方式です。
こうした議論の展開が期待されるのですが、それまでの暫定対応として表示単位名称と同様に品目属性(IBG-32 ITEM ATTRIBUTES)を使用した税込み価額の記載が可能です。
<cbc:Name>TaxInclusive</cbc:Name>と記載することで「税込み価額」が記載されていることを示していますのでデジタルインボイスを受け取った買い手企業の画面にその品目の「税込み価額」を表示することができます。税額計算には、この価額は関係せず、税抜き価額と税抜きの明細行金額に基づいて行われます。
なお、「税込み価額」を示す 品目属性名(IBT-160 Item attribute name)の値を決めておけば、この項目のXPathを
/Invoice /cac:InvoiceLine /cac:Item /cac:AdditionalItemProperty[cbc:Name=’TaxInclusive’] /cbc:Value
で指定できますから、この項目についてスキーマトロンルールを定義することも可能です。
また、こちらの記事で紹介した「日本版コアインボイス」の定義表にも記載できますので、この項目を対象とする自動処理が可能となります。
<cac:AdditionalItemProperty>
<cbc:Name>TaxInclusive</cbc:Name> <!-- IBT-160 - Item attribute name -->
<cbc:Value>550</cbc:Value> <!-- IBT-161 - Item attribute value -->
</cac:AdditionalItemProperty>
<cac:InvoiceLine> <!-- IBG-25 - INVOICE LINE -->
<cbc:ID>2</cbc:ID> <!-- IBT-126 - Invoice line identifier -->
<cbc:InvoicedQuantity unitCode="H87">5</cbc:InvoicedQuantity> <!-- IBT-130 - Invoiced quantity unit of measure code, IBT-129 - Invoiced quantity -->
<cbc:LineExtensionAmount currencyID="JPY">2500</cbc:LineExtensionAmount> <!-- IBT-131 - Invoice line net amount -->
<cac:InvoicePeriod> <!-- IBG-26 - INVOICE LINE PERIOD -->
<cbc:StartDate>2023-10-18</cbc:StartDate> <!-- IBT-134 - Invoice line period start date -->
<cbc:EndDate>2023-10-18</cbc:EndDate> <!-- IBT-135 - Invoice line period end date -->
</cac:InvoicePeriod>
<cac:DocumentReference> <!-- IBG-36 - LINE DOCUMENT REFERENCE -->
<cbc:ID>D001-2</cbc:ID> <!-- IBT-188 - Invoice line document identifier -->
</cac:DocumentReference>
<cac:Item> <!-- IBG-31 - ITEM INFORMATION -->
<cbc:Name>コピー用紙(A4)</cbc:Name> <!-- IBT-153 - Item name -->
<cac:ClassifiedTaxCategory> <!-- IBG-30 - LINE TAX INFORMATION -->
<cbc:ID>S</cbc:ID> <!-- IBT-151 - Invoiced item TAX category code -->
<cbc:Percent>10</cbc:Percent> <!-- IBT-152 - Invoiced item TAX rate -->
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID> <!-- IBT-167 - Tax Scheme -->
</cac:TaxScheme>
</cac:ClassifiedTaxCategory> <!-- IBG-32 - ITEM ATTRIBUTES -->
<cac:AdditionalItemProperty>
<cbc:Name>UOM</cbc:Name> <!-- IBT-160 - Item attribute name -->
<cbc:Value>冊</cbc:Value> <!-- IBT-161 - Item attribute value -->
</cac:AdditionalItemProperty>
<cac:AdditionalItemProperty>
<cbc:Name>TaxInclusive</cbc:Name> <!-- IBT-160 - Item attribute name -->
<cbc:Value>550</cbc:Value> <!-- IBT-161 - Item attribute value -->
</cac:AdditionalItemProperty>
</cac:Item>
<cac:Price> <!-- IBG-29 - PRICE DETAILS -->
<cbc:PriceAmount currencyID="JPY">500</cbc:PriceAmount> <!-- IBT-146 - Item net price -->
<cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity> <!-- IBT-149 - Item price base quantity, IBT-150 - Item price base quantity unit of measure code -->
</cac:Price>
</cac:InvoiceLine>
参考
UBL2.3でcac:InvoiceLineType に cbc:TaxInclusiveLineExtensionAmount が追加されました。
cbc:TaxInclusiveLineExtensionAmount を使用すると次のような明細行になります。
<cac:InvoiceLine> <!-- IBG-25 - INVOICE LINE -->
<cbc:ID>2</cbc:ID> <!-- IBT-126 - Invoice line identifier -->
<cbc:InvoicedQuantity unitCode="H87">5</cbc:InvoicedQuantity> <!-- IBT-130 - Invoiced quantity unit of measure code, IBT-129 - Invoiced quantity -->
<cbc:LineExtensionAmount currencyID="JPY">2500</cbc:LineExtensionAmount> <!-- IBT-131 - Invoice line net amount -->
<cbc:TaxInclusiveLineExtensionAmount currencyID="JPY">2750</cbc:TaxInclusiveLineExtensionAmount> <!-- IBT-131 - Invoice line net amount -->
<cac:InvoicePeriod> <!-- IBG-26 - INVOICE LINE PERIOD -->
<cbc:StartDate>2023-10-18</cbc:StartDate> <!-- IBT-134 - Invoice line period start date -->
<cbc:EndDate>2023-10-18</cbc:EndDate> <!-- IBT-135 - Invoice line period end date -->
</cac:InvoicePeriod>
<cac:DocumentReference> <!-- IBG-36 - LINE DOCUMENT REFERENCE -->
<cbc:ID>D001-2</cbc:ID> <!-- IBT-188 - Invoice line document identifier -->
</cac:DocumentReference>
<cac:Item> <!-- IBG-31 - ITEM INFORMATION -->
<cbc:Name>コピー用紙(A4)</cbc:Name> <!-- IBT-153 - Item name -->
<cac:ClassifiedTaxCategory> <!-- IBG-30 - LINE TAX INFORMATION -->
<cbc:ID>S</cbc:ID> <!-- IBT-151 - Invoiced item TAX category code -->
<cbc:Percent>10</cbc:Percent> <!-- IBT-152 - Invoiced item TAX rate -->
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID> <!-- IBT-167 - Tax Scheme -->
</cac:TaxScheme>
</cac:ClassifiedTaxCategory> <!-- IBG-32 - ITEM ATTRIBUTES -->
<cac:AdditionalItemProperty>
<cbc:Name>UOM</cbc:Name> <!-- IBT-160 - Item attribute name -->
<cbc:Value>冊</cbc:Value> <!-- IBT-161 - Item attribute value -->
</cac:AdditionalItemProperty>
</cac:Item>
<cac:Price> <!-- IBG-29 - PRICE DETAILS -->
<cbc:PriceAmount currencyID="JPY">500</cbc:PriceAmount> <!-- IBT-146 - Item net price -->
<cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity> <!-- IBT-149 - Item price base quantity, IBT-150 - Item price base quantity unit of measure code -->
</cac:Price>
</cac:InvoiceLine>
UBL-CommonAggregateComponents-2.3.xsd の該当箇所を抜粋して下に表示します。
<xsd:complexType name="InvoiceLineType">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>ABIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Invoice Line. Details</ccts:DictionaryEntryName>
<ccts:Definition>A class to define a line in an Invoice.</ccts:Definition>
<ccts:ObjectClass>Invoice Line</ccts:ObjectClass>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
...
<xsd:element ref="cbc:TaxInclusiveLineExtensionAmount" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Invoice Line. Tax Inclusive_ Line Extension Amount. Amount</ccts:DictionaryEntryName>
<ccts:Definition>The total amount for this invoice line, including all allowances, charges and taxes.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Invoice Line</ccts:ObjectClass>
<ccts:PropertyTermQualifier>Tax Inclusive</ccts:PropertyTermQualifier>
<ccts:PropertyTerm>Line Extension Amount</ccts:PropertyTerm>
<ccts:RepresentationTerm>Amount</ccts:RepresentationTerm>
<ccts:DataType>Amount. Type</ccts:DataType>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
...
</xsd:sequence>
</xsd:complexType>
3. 実施例:品目属性(IBG-32 ITEM ATTRIBUTES)を使用した表示単位名称の記載
JP PINTの次のページに数量単位の国連コード一覧が紹介されています。
JP PINTでは、数量単位にはこの国連コードを使用することとされていますが、買い手側でこのコードを解釈する機能がないことが多いと思われます。
明細行に記載する品目情報には、品目属性を定義することができるので日本語での表示単位名称を記載するために品目属性を使用することができます。
中小企業共通EDIでも、日本語の表示単位名称から国連コードに変換する処理をアクセスポイントのプロバイダーが提供する予定とされています。
UNECEからは、次のページからExcelの定義シートをダウンロード出来ますが膨大な項目が定義されています。
次は、JP PINTの公開サイトからダウンロードできる zipファイル に含まれているサンプルのデジタルインボイス Japan PINT Invoice UBL Example.xml の明細行情報の抜粋(IBT-160 Item attribute nameの値をプログラム処理のためUOMに変更)です。
IBT-160 – Item attribute nameに”UOM”を指定することで、この品目属性が表示単位名称であることが分かりますからデジタルインボイスを受け取った買い手企業の画面に「冊」という単位名称を表示できます。
<cac:InvoiceLine> <!-- IBG-25 - INVOICE LINE -->
<cbc:ID>2</cbc:ID> <!-- IBT-126 - Invoice line identifier -->
<cbc:InvoicedQuantity unitCode="H87">5</cbc:InvoicedQuantity> <!-- IBT-130 - Invoiced quantity unit of measure code, IBT-129 - Invoiced quantity -->
<cbc:LineExtensionAmount currencyID="JPY">2500</cbc:LineExtensionAmount> <!-- IBT-131 - Invoice line net amount -->
<cac:InvoicePeriod> <!-- IBG-26 - INVOICE LINE PERIOD -->
<cbc:StartDate>2023-10-18</cbc:StartDate> <!-- IBT-134 - Invoice line period start date -->
<cbc:EndDate>2023-10-18</cbc:EndDate> <!-- IBT-135 - Invoice line period end date -->
</cac:InvoicePeriod>
<cac:DocumentReference> <!-- IBG-36 - LINE DOCUMENT REFERENCE -->
<cbc:ID>D001-2</cbc:ID> <!-- IBT-188 - Invoice line document identifier -->
</cac:DocumentReference>
<cac:Item> <!-- IBG-31 - ITEM INFORMATION -->
<cbc:Name>コピー用紙(A4)</cbc:Name> <!-- IBT-153 - Item name -->
<cac:ClassifiedTaxCategory> <!-- IBG-30 - LINE TAX INFORMATION -->
<cbc:ID>S</cbc:ID> <!-- IBT-151 - Invoiced item TAX category code -->
<cbc:Percent>10</cbc:Percent> <!-- IBT-152 - Invoiced item TAX rate -->
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID> <!-- IBT-167 - Tax Scheme -->
</cac:TaxScheme>
</cac:ClassifiedTaxCategory> <!-- IBG-32 - ITEM ATTRIBUTES -->
<cac:AdditionalItemProperty>
<cbc:Name>UOM</cbc:Name> <!-- IBT-160 - Item attribute name -->
<cbc:Value>冊</cbc:Value> <!-- IBT-161 - Item attribute value -->
</cac:AdditionalItemProperty>
</cac:Item>
<cac:Price> <!-- IBG-29 - PRICE DETAILS -->
<cbc:PriceAmount currencyID="JPY">500</cbc:PriceAmount> <!-- IBT-146 - Item net price -->
<cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity> <!-- IBT-149 - Item price base quantity, IBT-150 - Item price base quantity unit of measure code -->
</cac:Price>
</cac:InvoiceLine>
品目属性(IBG-32 ITEM ATTRIBUTES)を使用するとPINT仕様で提供されない機能を拡張することができます。
4. 参考記事
次の記事も併せてお読みください。