Search Posts

Visits: 378

現行のJP PINT 0.9.3では、下記Q&Aのなかで紹介されている計算方法の中でサポートできないものがありますので留意してください。

国税庁Q&A 問56 より

外貨建取引における適格請求書の記載事項

【問56】当社は、米ドル建てにより取引を行っており、当該取引に係る資産の譲渡等の対価の額については、法人税における処理と同様に取引を行った日の対顧客直物電信売相場(TTS)と対顧客直物電信買相場(TTB)の仲値(TTM)により円換算を行っています。このような外貨建取引に係る適格請求書は、どのように記載すればよいですか。
【答】
米ドルなどの外貨建てによる取引であっても、適格請求書に記載が必要な事項は問43《適格請求書に記載が必要な事項》と同様ですが、「税率の異なるごとに区分した消費税額等」を除き、記載事項を外国語や外貨により記載しても問題ありません。
しかし、外貨建てによる取引であっても、「税率の異なるごとに区分した消費税額等」については、円換算した金額を記載する必要があります。
具体的には、以下のいずれかの計算方法により、円換算して「税率の異なるごとに区分した消費税額等」を算出することとなります。

 

Reduced tax rate(8%)

  • $339 × 115.21 = 39,056.19 → 39,056円(税率ごとに区分した対価の額【円換算後】)
  • 39,056円 × 8% = 3,124.48 → 3,124円(消費税額等)

Standard tax rate(10%)

  • $54 × 115.21 = 6,221.34 → 6,221円(税率ごとに区分した対価の額【円換算後】)
  • 6,221円 × 10% = 622.1 → 622円(消費税額等)

※ 外貨建てのTax amountは、インボイスの記載事項として求められるものではなく、参考として記載するものとなります。

デジタルインボイス記載例

1で使用している「税率ごとに区分した対価の額【円換算後】」に相当する項目がセマンティックモデルで定義されておらず税込金額も提供されていませんので4つあるケースの中でサポートできるのは一つだけケース3です。
「3 税率ごとに区分して合計した対価の額(外貨税抜)から計算過程の消費税額等(外貨)を 算出後、円換算する方法」
だけとなっています。

上記のQ&Aにある説明に従った計算ができないため、ケース3の方法では次の手順で計算しています。
TAX category tax amount (ibt-117) = TAX category taxable amount (ibt-116) x (TAX category rate (ibt-119) / 100)
5.4 = 54 x 10/100
計算過程の消費税額(外貨)TAX category tax amount (ibt-117) がUSD 5.4ですからこれにTTM 115.21をかけた金額が 消費税額【日本円】 です。
5.4ドル x 115.21円/ドル = 622円(端数処理後)

問56の例をデジタルインボイスに記載する例を検討します。

税額計算のときの端数処理の妥当性について次のルールが検証しています。

[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.
context cac:TaxSubtotal[cbc:TaxAmount/@currencyID=/ubl:Invoice/cbc:DocumentCurrencyCode/text()]

test条件は、次の定義です。

(
  (
    cac:TaxCategory/normalize-space(upper-case(cbc:ID)) != 'O'
  ) and 
  (
    (
      round(cac:TaxCategory/xs:decimal(cbc:Percent)) != 0 and 
      (
        xs:decimal(cbc:TaxAmount) >= 
        floor(xs:decimal(cbc:TaxableAmount) * (cac:TaxCategory/xs:decimal(cbc:Percent) div 100))
      ) and 
      (
        xs:decimal(cbc:TaxAmount) <= 
        ceiling(xs:decimal(cbc:TaxableAmount) * (cac:TaxCategory/xs:decimal(cbc:Percent) div 100))
      )
    ) or 
    (
      round(cac:TaxCategory/xs:decimal(cbc:Percent)) = 0 and 
      (xs:decimal(cbc:TaxAmount) = 0)
    )
  )
) or 
(
  not(cac:TaxCategory/cbc:Percent) and
  (
    cac:TaxCategory/normalize-space(upper-case(cbc:ID)) = 'O'
  ) and 
  (xs:decimal(cbc:TaxAmount) = 0)
)

問56の解説では、先の説明がありますがJP PINT Invoiceでは、TTMおよび税率ごとに区分した対価の額【円換算後】の記載がないので税額計算の妥当性が検証できません。

context条件にcac:TaxSubtotal[cbc:TaxAmount/@currencyID=/ubl:Invoice/cbc:DocumentCurrencyCode/text()]とありますので、cbc:DocumentCurrencyCodeが外貨の時にも適用されてしまいます。
スキーマトロンのチェックルールは、通貨コードに関係なく税率ごとに区分して合計した対価の額 × 税率 の値と税額が切捨てと切上げの範囲内かどうかで判定していますので、外貨の場合には基本通貨単位(EUR USD)ということで小数点以下2桁の数値を100倍してroundした後100で割って値を比較しているBIS Billing 3.0のチェックより許容範囲が大きくなっています。
/ubl:Invoice/cbc:DocumentCurrencyCode/text()でなく固定値’JPY’とすべきです。

なお、次のルールにより外貨建てのTax category tax amount (ibt-117)は、小数点以下2桁まで記載できます。
[aligned-ibr-jp-06]-Tax category tax amount (ibt-117) with currency code JPY and tax category tax amount in accounting currency (ibt-190) shall not have decimal.

UBLのデジテルインボイス例

上記のデジタルインボイスの例を次に示します。


<?xml version="1.0" encoding="utf-8"?>
<Invoice
xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 http://docs.oasis-open.org/ubl/os-UBL-2.1/xsdrt/maindoc/UBL-Invoice-2.1.xsd">
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
<cbc:CustomizationID>urn:fdc:peppol:jp:billing:3.0</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
<cbc:ID>156</cbc:ID>
<cbc:IssueDate>2023-10-24</cbc:IssueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>USD</cbc:DocumentCurrencyCode>
<cbc:TaxCurrencyCode>JPY</cbc:TaxCurrencyCode>
<cac:InvoicePeriod>
<cbc:StartDate>2023-10-01</cbc:StartDate>
<cbc:EndDate>2023-10-31</cbc:EndDate>
</cac:InvoicePeriod>
<cac:AccountingSupplierParty>
<cac:Party>
<cbc:EndpointID schemeID="0188">1234567890123</cbc:EndpointID>
<cac:PostalAddress>
<cac:Country>
<cbc:IdentificationCode>JP</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>T1234567890123</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Seller company</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="0188">3210987654321</cbc:EndpointID>
<cac:PostalAddress>
<cac:Country>
<cbc:IdentificationCode>JP</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Buyer company</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="USD">32.52</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="USD">54</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="USD">5.4</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="USD">339</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="USD">27.12</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>8</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="JPY">3746</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxAmount currencyID="JPY">622</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxAmount currencyID="JPY">3124</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>8</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="USD">393</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="USD">393</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="USD">425.52</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="USD">0</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="USD">0</cbc:ChargeTotalAmount>
<cbc:PrepaidAmount currencyID="USD">0</cbc:PrepaidAmount>
<cbc:PayableRoundingAmount currencyID="USD">0</cbc:PayableRoundingAmount>
<cbc:PayableAmount currencyID="USD">425.52</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="USD">189</cbc:LineExtensionAmount>
<cac:InvoicePeriod>
<cbc:StartDate>2023-10-18</cbc:StartDate>
<cbc:EndDate>2023-10-18</cbc:EndDate>
</cac:InvoicePeriod>
<cac:Item>
<cbc:Name>Beef</cbc:Name>
<cac:ClassifiedTaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>8</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="USD">189</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="USD">23</cbc:LineExtensionAmount>
<cac:InvoicePeriod>
<cbc:StartDate>2023-10-18</cbc:StartDate>
<cbc:EndDate>2023-10-18</cbc:EndDate>
</cac:InvoicePeriod>
<cac:Item>
<cbc:Name>Wood chopsticks</cbc:Name>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="USD">23</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="USD">150</cbc:LineExtensionAmount>
<cac:InvoicePeriod>
<cbc:StartDate>2023-10-18</cbc:StartDate>
<cbc:EndDate>2023-10-18</cbc:EndDate>
</cac:InvoicePeriod>
<cac:Item>
<cbc:Name>Fish</cbc:Name>
<cac:ClassifiedTaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>8</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="USD">150</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine> <cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">4</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="USD">31</cbc:LineExtensionAmount> <!-- ibt-131 Invoice line net amount -->
<cac:InvoicePeriod>
<cbc:StartDate>2023-10-18</cbc:StartDate>
<cbc:EndDate>2023-10-18</cbc:EndDate>
</cac:InvoicePeriod>
<cac:Item>
<cbc:Name>Spoon</cbc:Name>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="USD">31</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
</Invoice><
/pre>

この例は、MacOSのOxygen XML EditorでXMLスキーマ検証およびスキーマトロン検証しました。

円換算後の請求金額

ここまでの例でお気づきの方もおられると思いますが、円換算後の消費税額は記載されますが円換算後の請求金額を記載する要素がありません。
TTMも記載されていないので、実務上問題ないか検討が必要です。