Views: 124
Peppol BIS Standard Invoice JP PINTに関する注意点
Peppol BIS Standard Invoice JP PINTの公式ホームページ
Peppol BIS Standard Invoice JP PINT
を訪れると、左下に”Download resources”ボタンが配置されています。このボタンをクリックすると、開発に役立つさまざまなファイルが詰まったzipファイルがダウンロードできます。

ダウンロードしたファイルの中には、デジタルインボイスのサンプルがいくつか含まれており、BIS Billing 3.0をベースに作成されています。ただし、残念なことにこれらのサンプルがJP PINTの規定に一部違反している箇所が見受けられます。これにより、これらのサンプルはJP PINT 1.0 Compliantとは言えません。
以下で、問題となる個所を詳しく紹介いたします。
1. UBLのスキーマファイルの場所指定
一般に、XML文書にはその文書がどのスキーマファイルを参照して定義されているかを示すために、`schemaLocation`が使用されます。
UBL(Universal Business Language)文書での`schemaLocation`の使用は必須ではありませんが、推奨されています。`schemaLocation`属性は、XML文書が参照するXMLスキーマの場所を指定するために使用されます。これにより、XMLパーサやバリデータはスキーマを利用してXML文書の構造と内容を検証することができます。
`schemaLocation`を使用しない場合、XML文書のバリデーションは手動で行うか、スキーマの場所を別の方法で指定する必要があります。これは、XML文書の交換や処理を行うシステム間で問題を引き起こす可能性があるため、`schemaLocation`の使用が推奨されています。
UBL文書の例:
<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:ccts="urn:un:unece:uncefact:documentation:2"
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
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/xsd/maindoc/UBL-Invoice-2.1.xsd">
<!--Invoice content-->
</Invoice>
上記の例で、`xsi:schemaLocation`属性は、UBL Invoiceのスキーマの場所を指定しており、ここでは、OASIS[1]から提供されるURLを指定しています。この属性を使用して、XMLパーサは指定されたURLからスキーマを取得し、XML文書を検証できます。`schemaLocation`はUBL文書で必須ではないですが、XML文書のバリデーションと互換性を確保するためには推奨されています。
JP PINTで提供されるサンプルインボイス:
<?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:ccts="urn:un:unece:uncefact:documentation:2"
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2. BIS Billing 3.0では適合だがJP PINTでは不適合
JP PINTのSemantic modelとSyntax bindingにおいて、UBLのスキーマで定義されているが、JP PINTで使用が許可されていないUBLのXML要素が使用されている問題があります。以前、BIS Billing 3.0においては、UBLのスキーマで定義されているがBISで使用が定義されていないXML要素の使用可否を明示するためのBasicルールが提供されていました。特に、cbc:UBLVersionIDは、使用が許可されていない要素であり、もし使用される場合はその値が2.1である必要がありました。
A UBL invoice should not include the UBLVersionID or it should be 2.1
UBL-CR-002

しかし、JP PINTではこのBasicルールが廃止され、cbc:UBLVersionIDの使用が明示的に定義されていないため、この要素を含むXML文書はJP PINT Compliantとはみなされません。これは、JP PINTの規格に適合していないことを意味します。
<cbc:UBLVersionID>2.1</cbc:UBLVersionID
Download resources: Japan PINT Invoice UBL Japan PINT Invoice UBL Example2-TaxAcctCur.xmlより抜粋

3. JP PINTとBIS Billing 3.0の違いとDXへの影響
JP PINTの導入に伴い、BIS Billing 3.0で提供されていたBasicルールが廃止され、それに伴う一連の変更が発生しています。特に注目すべきは、UBLで定義され、JP PINTで定義されていないXML要素が、デジタルインボイスに含まれていても、アクセスポイントC2でのチェックでエラーとされないという現象です。その結果、問題のあるインボイスがC3に届いてしまいます。
買い手企業C4は、受け取ったデジタルインボイスがJP PINTに適合しているかどうかを改めて検証する責務があります。問題が検出された場合、売り手企業C1に報告し、是正を求めなくてはならないプロセスが必要となっています。
これは、デジタルトランスフォーメーション(DX)の進展を鑑みると、自動処理の効率化が求められる中で、あまり好ましい変更とは言えないかもしれません。自動処理の流れをスムーズに進め、企業間の取引をより効率的にするためには、この問題に対処する必要があると言えるでしょう。
4. 支払いに使用するカードの発行会社データは、NAでなければいけません。
PAYMENT CARD INFORMATION
A group of business terms providing information about card used for payment contemporaneous with invoice issuance.
支払いカード情報
請求書の発行と同時に行われる支払いに使用されるカードに関する情報を提供するビジネス用語のグループ。
Syntax binding IBG-18

cbc:NetworkID
Syntax required element not mapped to a business term. Use value NA
ビジネス用語にマップされていない必須の構文要素。値はNAを使用してください。
Syntax binding IBG-18及びcbc:networkID

カード発行会社情報は、UBLにおいて必須要素として規定されています。この情報がXML要素として定義されていない場合、スキーマ検証でエラーが発生します。支払いに使用するカードの発行会社データには、NAという値を指定する必要があります。これは、提供されている例のように、カード会社の名前を具体的に記載することは認められていないからです。NAと指定することで、この要素を適切に満たし、スキーマ検証エラーを回避することができます。
次のJP PINTホームページからダウンロードしたデジタルインボイスは、この規定に違反しています。
Download resources: Japan PINT Invoice UBL Japan PINT Invoice UBL Example2-TaxAcctCur.xmlより抜粋
5. 参照する文書の明細行が指定できるものとできないものがあります
明細行から参照する文書に関するルールがJP PINTで定められており、それに基づいて特定の文書の明細行を指定できるかどうかが決まります。
次のように、JP PINT v1.01では、「IBT-132 参照される発注書の行の参照」が定義されています。これは、買い手が発行した発注所内で、特定の行を参照するための識別子を意味しています。
IBT-132
Referenced purchase order line reference
An identifier for a referenced line within a purchase order, issued by the Buyer.
参照される発注書の行への参照
バイヤーによって発行された発注書内の参照される行の識別子。
Syntax binding IBT-132

一方で、出荷通知書の行への参照に関しては、「出荷通知書の行 cac:DespatchAdviceLine/cbc:LineID」では、その値は「NA」と固定されています。これは、出荷通知書の明細行を直接参照することは認められていないことを規定しています。
Despatch advice[2] line
Syntax required item. Value shall be NA.
参照される出荷通知書の行への参照
ビジネス用語にマップされていない必須の構文要素。値はNAを使用してください。
Syntax binding /Invoice/cac:Invoiceline/cac:DespatchAdviceLine/cbc:LineID

実際にJP PINTの公式ホームページからダウンロードできるデジタルインボイスのサンプルには、この規定に違反する内容が含まれていることが確認できます。具体的には、発注書の明細行は指定可能ですが、出荷通知書の明細行への参照は「NA」と指定する必要があります。しかし、提供されているインボイスサンプルにはこのルールが適用されていません。
Download resources: Japan PINT Invoice UBL Japan PINT Invoice UBL Example5-AllowanceCharge.xmlより抜粋
JP PINTで定められた規則に従って、明細行から参照する文書とその方法を正確に理解し、適切に適用することが必要です。
これらのサンプルはJP PINTの規定に違反しているため、違反箇所を修正するための是正措置が必要です。
6. 公式ホームページのファイル
6.1. Japan PINT Invoice UBL Japan PINT Invoice UBL Example2-TaxAcctCur.xml 再掲
<?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:ccts="urn:un:unece:uncefact:documentation:2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Japan common commercial invoice, example2-Foreign Currency --> <cbc:UBLVersionID>2.1</cbc:UBLVersionID> <cbc:CustomizationID>urn:peppol:pint:billing-1@jp-1</cbc:CustomizationID> <!--IBT-024 Specification identifier--> <cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID> <!--IBT-023 Business process type--> <cbc:ID>156</cbc:ID> <!--IBT-001 Invoice number--> <cbc:IssueDate>2023-10-24</cbc:IssueDate> <!--IBT-002 Invoice issue date--> <cbc:DueDate>2023-11-20</cbc:DueDate> <!--IBT-009 Payment due date--> <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!--IBT-003 Invoice type code--> <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode> <!--IBT-005 Invoice currency code--> <cbc:TaxCurrencyCode>JPY</cbc:TaxCurrencyCode> <!--IBT-006 Tax accounting currency--> <cac:InvoicePeriod> <!--IBG-14 INVOICING PERIOD--> <cbc:StartDate>2023-10-18</cbc:StartDate> <!--IBT-073 Invoicing period start date--> <cbc:EndDate>2023-10-18</cbc:EndDate> <!--IBT-074 Invoicing period end date--> </cac:InvoicePeriod> <cac:AccountingSupplierParty> <!--IBG-04 SELLER--> <cac:Party> <cbc:EndpointID schemeID="0088">9482348239847239874</cbc:EndpointID> <!--IBT-034 Seller electronic address, IBT-034-1 Scheme identifier--> <cac:PostalAddress> <!--IBG-05 SELLER POSTAL ADDRESS--> <cac:Country> <cbc:IdentificationCode>GB</cbc:IdentificationCode> <!--IBT-040 Seller country code--> </cac:Country> </cac:PostalAddress> <cac:PartyTaxScheme> <cbc:CompanyID>T1234567890123</cbc:CompanyID> <!--IBT-031 Seller TAX identifier--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-031, qualifier--> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:PartyLegalEntity> <cbc:RegistrationName>XYZ Digital Learning Services, Inc.</cbc:RegistrationName> <!--IBT-027 Seller name--> </cac:PartyLegalEntity> </cac:Party> </cac:AccountingSupplierParty> <cac:AccountingCustomerParty> <!--IBG-07 BUYER--> <cac:Party> <cbc:EndpointID schemeID="0188">3210987654321</cbc:EndpointID> <!--IBT-049 Buyer electronic address, IBT-049-1 Scheme identifier--> <cac:PostalAddress> <!--IBG-08 BUYER POSTAL ADDRESS--> <cac:Country> <cbc:IdentificationCode>JP</cbc:IdentificationCode> <!--IBT-055 Buyer country code--> </cac:Country> </cac:PostalAddress> <cac:PartyLegalEntity> <cbc:RegistrationName>〇〇 Bussan Co., Ltd.</cbc:RegistrationName> <!--IBT-044 Buyer name--> </cac:PartyLegalEntity> </cac:Party> </cac:AccountingCustomerParty> <cac:TaxRepresentativeParty> <!--IBG-11 SELLER TAX REPRESENTATIVE PARTY--> <cac:PartyName> <cbc:Name>TaxRepresentative Name</cbc:Name> <!--IBT-062 Seller tax representative name--> </cac:PartyName> <cac:PostalAddress> <!--IBG-12 SELLER TAX REPRESENTATIVE POSTAL ADDRESS--> <cac:Country> <cbc:IdentificationCode>JP</cbc:IdentificationCode> <!--IBT-069 Tax representative country code--> </cac:Country> </cac:PostalAddress> <cac:PartyTaxScheme> <cbc:CompanyID>T7654321098765</cbc:CompanyID> <!--IBT-063 Seller tax representative TAX identifier--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-063, qualifier--> </cac:TaxScheme> </cac:PartyTaxScheme> </cac:TaxRepresentativeParty> <cac:PaymentMeans> <!--IBG-16 PAYMENT INSTRUCTIONS--> <cbc:PaymentMeansCode name="Credit card">54</cbc:PaymentMeansCode> <!--IBT-081 Payment means type code, IBT-082 Payment means text--> <cbc:PaymentID>9387439</cbc:PaymentID> <!--IBT-083 Remittance information--> <cac:CardAccount> <!--IBG-18 PAYMENT CARD INFORMATION--> <cbc:PrimaryAccountNumberID>123236</cbc:PrimaryAccountNumberID> <!--IBT-087 Payment card primary account number--> <cbc:NetworkID>VISA</cbc:NetworkID> <cbc:HolderName>Card holders name</cbc:HolderName> <!--IBT-088 Payment card holder name--> </cac:CardAccount> </cac:PaymentMeans> <cac:TaxTotal> <cbc:TaxAmount currencyID="EUR">250</cbc:TaxAmount> <!--IBT-110 Invoice total TAX amount--> <cac:TaxSubtotal> <!--IBG-23 TAX BREAKDOWN--> <cbc:TaxableAmount currencyID="EUR">2500</cbc:TaxableAmount> <!--IBT-116 TAX category taxable amount--> <cbc:TaxAmount currencyID="EUR">250</cbc:TaxAmount> <!--IBT-117 TAX category tax amount--> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <!--IBT-118 TAX category code--> <cbc:Percent>10</cbc:Percent> <!--IBT-119 TAX category rate--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-118, qualifier--> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> </cac:TaxTotal> <cac:TaxTotal> <!--IBG-37 DOCUMENT TOTALS IN TAX ACCOUNTING CURRENCY--> <cbc:TaxAmount currencyID="JPY">32500</cbc:TaxAmount> <!--IBT-111 Invoice total TAX amount in tax accounting currency--> <cac:TaxSubtotal> <!--IBG-38 TAX BREAKDOWN IN ACCOUNTING CURRENCY--> <cbc:TaxAmount currencyID="JPY">32500</cbc:TaxAmount> <!--IBT-190 TAX category tax amount in accounting currency--> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <!--IBT-192 TAX category code for tax category tax amount in accounting currency--> <cbc:Percent>10</cbc:Percent> <!--IBT-193 TAX category rate for tax category tax amount in accounting currency--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-192, qualifier--> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> </cac:TaxTotal> <cac:LegalMonetaryTotal> <!--IBG-22 DOCUMENT TOTALS--> <cbc:LineExtensionAmount currencyID="EUR">2500</cbc:LineExtensionAmount> <!--IBT-106 Sum of Invoice line net amount--> <cbc:TaxExclusiveAmount currencyID="EUR">2500</cbc:TaxExclusiveAmount> <!--IBT-109 Invoice total amount without TAX--> <cbc:TaxInclusiveAmount currencyID="EUR">2750</cbc:TaxInclusiveAmount> <!--IBT-112 Invoice total amount with TAX--> <cbc:AllowanceTotalAmount currencyID="EUR">0</cbc:AllowanceTotalAmount> <!--IBT-107 Sum of allowances on document level--> <cbc:ChargeTotalAmount currencyID="EUR">0</cbc:ChargeTotalAmount> <!--IBT-108 Sum of charges on document level--> <cbc:PrepaidAmount currencyID="EUR">0</cbc:PrepaidAmount> <!--IBT-113 Paid amount--> <cbc:PayableRoundingAmount currencyID="EUR">0</cbc:PayableRoundingAmount> <!--IBT-114 Rounding amount--> <cbc:PayableAmount currencyID="EUR">2750</cbc:PayableAmount> <!--IBT-115 Amount due for payment--> </cac:LegalMonetaryTotal> <cac:InvoiceLine> <!--IBG-25 INVOICE LINE--> <cbc:ID>1</cbc:ID> <!--IBT-126 Invoice line identifier--> <cbc:InvoicedQuantity unitCode="H87">5</cbc:InvoicedQuantity> <!--IBT-129 Invoiced quantity, IBT-130 Invoiced quantity unit of measure code--> <cbc:LineExtensionAmount currencyID="EUR">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:OrderLineReference> <cbc:LineID>1</cbc:LineID> <!--IBT-132 Referenced purchase order line reference--> <cac:OrderReference> <cbc:ID>OR-123</cbc:ID> <!--IBT-183 Purchase order reference--> </cac:OrderReference> </cac:OrderLineReference> <cac:Item> <!--IBG-31 ITEM INFORMATION--> <cbc:Name>1-day online lecture course</cbc:Name> <!--IBT-153 Item name--> <cac:OriginCountry> <cbc:IdentificationCode>BE</cbc:IdentificationCode> <!--IBT-159 Item country of origin--> </cac:OriginCountry> <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--> <!--cbc:PerUnitAmount, IBT-166 Unit TAX--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-167 Tax Scheme--> </cac:TaxScheme> </cac:ClassifiedTaxCategory> </cac:Item> <cac:Price> <!--IBG-29 PRICE DETAILS--> <cbc:PriceAmount currencyID="EUR">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> </Invoice>
Download resources: Japan PINT Invoice UBL Japan PINT Invoice UBL Example2-TaxAcctCur.xml
6.2. Japan PINT Invoice UBL Japan PINT Invoice UBL Example5-AllowanceCharge.xml 再掲
<?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:ccts="urn:un:unece:uncefact:documentation:2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Japan common commercial invoice, example5-LineLevelAllowance --> <cbc:UBLVersionID>2.1</cbc:UBLVersionID> <cbc:CustomizationID>urn:peppol:pint:billing-1@jp-1</cbc:CustomizationID> <!--IBT-024 Specification identifier--> <cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID> <!--IBT-023 Business process type--> <cbc:ID>156</cbc:ID> <!--IBT-001 Invoice number--> <cbc:IssueDate>2023-10-24</cbc:IssueDate> <!--IBT-002 Invoice issue date--> <cbc:DueDate>2023-11-20</cbc:DueDate> <!--IBT-009 Payment due date--> <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!--IBT-003 Invoice type code--> <cbc:DocumentCurrencyCode>JPY</cbc:DocumentCurrencyCode> <!--IBT-005 Invoice currency code--> <cac:InvoicePeriod> <!--IBG-14 INVOICING PERIOD--> <cbc:StartDate>2023-10-18</cbc:StartDate> <!--IBT-073 Invoicing period start date--> <cbc:EndDate>2023-10-18</cbc:EndDate> <!--IBT-074 Invoicing period end date--> </cac:InvoicePeriod> <cac:AdditionalDocumentReference> <cbc:ID>doc1</cbc:ID> <!--IBT-122 Supporting document reference--> <cbc:DocumentDescription>Usage summary</cbc:DocumentDescription> <!--IBT-123 Supporting document description--> <cac:Attachment> <cbc:EmbeddedDocumentBinaryObject filename="report.csv" mimeCode="text/csv">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject> <!--IBT-125 Attached document, IBT-125-1 Attached document Mime code, IBT-125-2 Attached document Filename--> <cac:ExternalReference> <cbc:URI>http://www.salescompany.com/summary001.html</cbc:URI> <!--IBT-124 External document location--> </cac:ExternalReference> </cac:Attachment> </cac:AdditionalDocumentReference> <cac:AdditionalDocumentReference> <cbc:ID>doc2</cbc:ID> <!--IBT-122 Supporting document reference--> <cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription> <!--IBT-123 Supporting document description--> <cac:Attachment> <cac:ExternalReference> <cbc:URI>http://www.salescompany.com/breakdown001.html</cbc:URI> <!--IBT-124 External document location--> </cac:ExternalReference> </cac:Attachment> </cac:AdditionalDocumentReference> <cac:AccountingSupplierParty> <!--IBG-04 SELLER--> <cac:Party> <cbc:EndpointID schemeID="0188">1234567890123</cbc:EndpointID> <!--IBT-034 Seller electronic address, IBT-034-1 Scheme identifier--> <cac:PartyIdentification> <cbc:ID schemeID="0147">123456:000123:0147:1</cbc:ID> <!--IBT-029 Seller identifier, IBT-029-1 Scheme identifier--> </cac:PartyIdentification> <cac:PartyName> <cbc:Name>株式会社 〇〇商事</cbc:Name> <!--IBT-028 Seller trading name--> </cac:PartyName> <cac:PostalAddress> <!--IBG-05 SELLER POSTAL ADDRESS--> <cbc:StreetName>四谷4-29-X</cbc:StreetName> <!--IBT-035 Seller address line 1--> <cbc:AdditionalStreetName>〇〇商事ビル</cbc:AdditionalStreetName> <!--IBT-036 Seller address line 2--> <cbc:CityName>新宿区</cbc:CityName> <!--IBT-037 Seller city--> <cbc:PostalZone>1600044</cbc:PostalZone> <!--IBT-038 Seller post code--> <cbc:CountrySubentity>東京都</cbc:CountrySubentity> <!--IBT-039 Seller country subdivision--> <cac:Country> <cbc:IdentificationCode>JP</cbc:IdentificationCode> <!--IBT-040 Seller country code--> </cac:Country> </cac:PostalAddress> <cac:PartyTaxScheme> <cbc:CompanyID>T1234567890123</cbc:CompanyID> <!--IBT-031 Seller TAX identifier--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-031, qualifier--> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:PartyLegalEntity> <cbc:RegistrationName>株式会社 〇〇商事</cbc:RegistrationName> <!--IBT-027 Seller name--> <cbc:CompanyID schemeID="0188">1234567890123</cbc:CompanyID> <!--IBT-030 Seller legal registration identifier, IBT-030-1 Scheme identifier--> <cbc:CompanyLegalForm>Private Limited Company</cbc:CompanyLegalForm> <!--IBT-033 Seller additional legal information--> </cac:PartyLegalEntity> <cac:Contact> <!--IBG-06 SELLER CONTACT--> <cbc:Name>青木 志郎</cbc:Name> <!--IBT-041 Seller contact point--> <cbc:Telephone>03-3xxx-0001</cbc:Telephone> <!--IBT-042 Seller contact telephone number--> <cbc:ElectronicMail>shirou_aoki@〇〇co.jp</cbc:ElectronicMail> <!--IBT-043 Seller contact email address--> </cac:Contact> </cac:Party> </cac:AccountingSupplierParty> <cac:AccountingCustomerParty> <!--IBG-07 BUYER--> <cac:Party> <cbc:EndpointID schemeID="0188">3210987654321</cbc:EndpointID> <!--IBT-049 Buyer electronic address, IBT-049-1 Scheme identifier--> <cac:PartyIdentification> <cbc:ID schemeID="0147">654321:000321:0147:1</cbc:ID> <!--IBT-046 Buyer identifier, IBT-046-1 Scheme identifier--> </cac:PartyIdentification> <cac:PartyName> <cbc:Name>株式会社 〇〇物産</cbc:Name> <!--IBT-045 Buyer trading name--> </cac:PartyName> <cac:PostalAddress> <!--IBG-08 BUYER POSTAL ADDRESS--> <cbc:StreetName>北区</cbc:StreetName> <!--IBT-050 Buyer address line 1--> <cbc:AdditionalStreetName>北十二条西76-X</cbc:AdditionalStreetName> <!--IBT-051 Buyer address line 2--> <cbc:CityName>札幌市</cbc:CityName> <!--IBT-052 Buyer city --> <cbc:PostalZone>0010012</cbc:PostalZone> <!--IBT-053 Buyer post code--> <cbc:CountrySubentity>北海道</cbc:CountrySubentity> <!--IBT-054 Buyer country subdivision--> <cac:Country> <cbc:IdentificationCode>JP</cbc:IdentificationCode> <!--IBT-055 Buyer country code--> </cac:Country> </cac:PostalAddress> <cac:PartyTaxScheme> <cbc:CompanyID>>T3210987654321</cbc:CompanyID> <!--IBT-048 Buyer TAX identifier--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-048, qualifier--> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:PartyLegalEntity> <cbc:RegistrationName>株式会社 〇〇物産</cbc:RegistrationName> <!--IBT-044 Buyer name--> <cbc:CompanyID schemeID="0147">654321:000321:0147:1</cbc:CompanyID> <!--IBT-047 Buyer legal registration identifier, IBT-047-1 Scheme identifier--> </cac:PartyLegalEntity> <cac:Contact> <!--IBG-09 BUYER CONTACT--> <cbc:Name>株式会社 〇〇物産</cbc:Name> <!--IBT-056 Buyer contact point--> <cbc:Telephone>011-757-1xxx</cbc:Telephone> <!--IBT-057 Buyer contact telephone number--> <cbc:ElectronicMail>purchaser@oobussan.co.jp</cbc:ElectronicMail> <!--IBT-058 Buyer contact email address--> </cac:Contact> </cac:Party> </cac:AccountingCustomerParty> <cac:Delivery> <!--IBG-13 DELIVERY INFORMATION--> <cbc:ActualDeliveryDate>2023-10-18</cbc:ActualDeliveryDate> <!--IBT-072 Actual delivery date--> <cac:DeliveryLocation> <cbc:ID schemeID="0147">123456:000123:0147:1</cbc:ID> <!--IBT-071 Deliver to location identifier, IBT-071-1 Scheme identifier--> <cac:Address> <!--IBG-15 DELIVER TO ADDRESS--> <cbc:StreetName>北区</cbc:StreetName> <!--IBT-075 Deliver to address line 1--> <cbc:AdditionalStreetName>北十二条西76-X</cbc:AdditionalStreetName> <!--IBT-076 Deliver to address line 2--> <cbc:CityName>札幌市</cbc:CityName> <!--IBT-077 Deliver to city--> <cbc:PostalZone>0010012</cbc:PostalZone> <!--IBT-078 Deliver to post code--> <cbc:CountrySubentity>北海道</cbc:CountrySubentity> <!--IBT-079 Deliver to country subdivision--> <cac:Country> <cbc:IdentificationCode>JP</cbc:IdentificationCode> <!--IBT-080 Deliver to country code--> </cac:Country> </cac:Address> </cac:DeliveryLocation> <cac:DeliveryParty> <cac:PartyName> <cbc:Name>株式会社 〇〇物産 札幌支社</cbc:Name> <!--IBT-070 Deliver to party name--> </cac:PartyName> </cac:DeliveryParty> </cac:Delivery> <cac:PaymentMeans> <!--IBG-16 PAYMENT INSTRUCTIONS--> <cbc:PaymentMeansCode name="Credit transfer">30</cbc:PaymentMeansCode> <!--IBT-081 Payment means type code, IBT-082 Payment means text--> <cac:PayeeFinancialAccount> <!--IBG-17 CREDIT TRANSFER--> <cbc:ID>1234:567:1:3242394</cbc:ID> <!--IBT-084 Payment account identifier, IBT-084-1 Scheme identifier--> <cbc:Name>カ)マルマルシヨウジ</cbc:Name> <!--IBT-085 Payment account name--> </cac:PayeeFinancialAccount> </cac:PaymentMeans> <cac:PaymentTerms> <!--IBG-33 INVOICE TERMS--> <cbc:Note>月末締め翌月20日払い, 銀行手数料振込人負担</cbc:Note> <!--IBT-020 Payment terms--> </cac:PaymentTerms> <cac:AllowanceCharge> <!--IBG-20 DOCUMENT LEVEL ALLOWANCES--> <cbc:ChargeIndicator>false</cbc:ChargeIndicator> <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode> <!--IBT-098 Document level allowance reason code--> <cbc:AllowanceChargeReason>値引</cbc:AllowanceChargeReason> <!--IBT-097 Document level allowance reason--> <cbc:Amount currencyID="JPY">179</cbc:Amount> <!--IBT-092 Document level allowance amount--> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <!--IBT-095 Document level allowance TAX category code--> <cbc:Percent>10</cbc:Percent> <!--IBT-096 Document level allowance TAX rate--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-095, qualifier--> </cac:TaxScheme> </cac:TaxCategory> </cac:AllowanceCharge> <cac:AllowanceCharge> <!--IBG-21 DOCUMENT LEVEL CHARGES--> <cbc:ChargeIndicator>true</cbc:ChargeIndicator> <cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode> <!--IBT-105 Document level charge reason code--> <cbc:AllowanceChargeReason>配送サービス</cbc:AllowanceChargeReason> <!--IBT-104 Document level charge reason--> <cbc:Amount currencyID="JPY">7679</cbc:Amount> <!--IBT-099 Document level charge amount--> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <!--IBT-102 Document level charge TAX category code--> <cbc:Percent>10</cbc:Percent> <!--IBT-103 Document level charge TAX rate--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-102, qualifier--> </cac:TaxScheme> </cac:TaxCategory> </cac:AllowanceCharge> <cac:TaxTotal> <cbc:TaxAmount currencyID="JPY">26000</cbc:TaxAmount> <!--IBT-110 Invoice total TAX amount--> <cac:TaxSubtotal> <!--IBG-23 TAX BREAKDOWN--> <cbc:TaxableAmount currencyID="JPY">260000</cbc:TaxableAmount> <!--IBT-116 TAX category taxable amount--> <cbc:TaxAmount currencyID="JPY">26000</cbc:TaxAmount> <!--IBT-117 TAX category tax amount--> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <!--IBT-118 TAX category code--> <cbc:Percent>10</cbc:Percent> <!--IBT-119 TAX category rate--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-118, qualifier--> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> <cac:TaxSubtotal> <!--IBG-23 TAX BREAKDOWN--> <cbc:TaxableAmount currencyID="JPY">3490</cbc:TaxableAmount> <!--IBT-116 TAX category taxable amount--> <cbc:TaxAmount currencyID="JPY">0</cbc:TaxAmount> <!--IBT-117 TAX category tax amount--> <cac:TaxCategory> <cbc:ID>E</cbc:ID> <!--IBT-118 TAX category code--> <cbc:Percent>0</cbc:Percent> <!--IBT-119 TAX category rate--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-118, qualifier--> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> </cac:TaxTotal> <cac:LegalMonetaryTotal> <!--IBG-22 DOCUMENT TOTALS--> <cbc:LineExtensionAmount currencyID="JPY">255990</cbc:LineExtensionAmount> <!--IBT-106 Sum of Invoice line net amount--> <cbc:TaxExclusiveAmount currencyID="JPY">263490</cbc:TaxExclusiveAmount> <!--IBT-109 Invoice total amount without TAX--> <cbc:TaxInclusiveAmount currencyID="JPY">289490</cbc:TaxInclusiveAmount> <!--IBT-112 Invoice total amount with TAX--> <cbc:AllowanceTotalAmount currencyID="JPY">179</cbc:AllowanceTotalAmount> <!--IBT-107 Sum of allowances on document level--> <cbc:ChargeTotalAmount currencyID="JPY">7679</cbc:ChargeTotalAmount> <!--IBT-108 Sum of charges on document level--> <cbc:PrepaidAmount currencyID="JPY">0</cbc:PrepaidAmount> <!--IBT-113 Paid amount--> <cbc:PayableRoundingAmount currencyID="JPY">0</cbc:PayableRoundingAmount> <!--IBT-114 Rounding amount--> <cbc:PayableAmount currencyID="JPY">289490</cbc:PayableAmount> <!--IBT-115 Amount due for payment--> </cac:LegalMonetaryTotal> <cac:InvoiceLine> <!--IBG-25 INVOICE LINE--> <cbc:ID>1</cbc:ID> <!--IBT-126 Invoice line identifier--> <cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!--IBT-127 Invoice line note--> <cbc:InvoicedQuantity unitCode="H87">5</cbc:InvoicedQuantity> <!--IBT-129 Invoiced quantity, IBT-130 Invoiced quantity unit of measure code--> <cbc:LineExtensionAmount currencyID="JPY">250000</cbc:LineExtensionAmount> <!--IBT-131 Invoice line net amount--> <cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!--IBT-133 Invoice line Buyer accounting reference--> <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:OrderLineReference> <cbc:LineID>1</cbc:LineID> <!--IBT-132 Referenced purchase order line reference--> <cac:OrderReference> <cbc:ID>1</cbc:ID> <!--IBT-183 Purchase order reference--> </cac:OrderReference> </cac:OrderLineReference> <cac:DespatchLineReference> <cbc:LineID>010</cbc:LineID> <cac:DocumentReference> <cbc:ID>789</cbc:ID> <!--IBT-184 Despatch advice reference--> </cac:DocumentReference> </cac:DespatchLineReference> <cac:DocumentReference> <!--IBG-36 LINE DOCUMENT REFERENCE--> <cbc:ID>D001-1</cbc:ID> <!--IBT-188 Invoice line document identifier--> </cac:DocumentReference> <cac:AllowanceCharge> <!--IBG-27 INVOICE LINE ALLOWANCES--> <cbc:ChargeIndicator>false</cbc:ChargeIndicator> <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode> <!--IBT-140 Invoice line allowance reason code--> <cbc:AllowanceChargeReason>値引</cbc:AllowanceChargeReason> <!--IBT-139 Invoice line allowance reason--> <cbc:Amount currencyID="JPY">1500</cbc:Amount> <!--IBT-136 Invoice line allowance amount--> </cac:AllowanceCharge> <cac:AllowanceCharge> <!--IBG-28 INVOICE LINE CHARGES--> <cbc:ChargeIndicator>true</cbc:ChargeIndicator> <cbc:AllowanceChargeReasonCode>CG</cbc:AllowanceChargeReasonCode> <!--IBT-145 Invoice line charge reason code--> <cbc:AllowanceChargeReason>クリーニング</cbc:AllowanceChargeReason> <!--IBT-144 Invoice line charge reason--> <cbc:Amount currencyID="JPY">1500</cbc:Amount> <!--IBT-141 Invoice line charge amount--> </cac:AllowanceCharge> <cac:Item> <!--IBG-31 ITEM INFORMATION--> <cbc:Name>デスクチェア</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> <cac:AdditionalItemProperty> <!--IBG-32 ITEM ATTRIBUTES--> <cbc:Name>表示単位名称</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">50000</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> <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>表示単位名称</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:AllowanceCharge> <cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!--Mandatory element. Value must be “false”.--> <cbc:Amount currencyID="JPY">100</cbc:Amount> <!--IBT-147 Item price discount--> <cbc:BaseAmount currencyID="JPY">600</cbc:BaseAmount> <!--IBT-148 Item gross price--> </cac:AllowanceCharge> </cac:Price> </cac:InvoiceLine> <cac:InvoiceLine> <!--IBG-25 INVOICE LINE--> <cbc:ID>3</cbc:ID> <!--IBT-126 Invoice line identifier--> <cbc:InvoicedQuantity unitCode="H87">10</cbc:InvoicedQuantity> <!--IBT-130 Invoiced quantity unit of measure code, IBT-129 Invoiced quantity--> <cbc:LineExtensionAmount currencyID="JPY">3490</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-3</cbc:ID> <!--IBT-188 Invoice line document identifier--> </cac:DocumentReference> <cac:Item> <!--IBG-31 ITEM INFORMATION--> <cbc:Name>検定済教科書(算数)</cbc:Name> <!--IBT-153 Item name--> <cac:ClassifiedTaxCategory> <!--IBG-30 LINE TAX INFORMATION--> <cbc:ID>E</cbc:ID> <!--IBT-151 Invoiced item TAX category code--> <cbc:Percent>0</cbc:Percent> <!--IBT-152 Invoiced item TAX rate--> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <!--IBT-167 Tax Scheme--> </cac:TaxScheme> </cac:ClassifiedTaxCategory> <cac:AdditionalItemProperty> <!--IBG-32 ITEM ATTRIBUTES--> <cbc:Name>表示単位名称</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">349</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> </Invoice>
Download resources: Japan PINT Invoice UBL Japan PINT Invoice UBL Example5-AllowanceCharge.xml
Nobuyuki SAMBUICHI
ISO/TC295 Audit data services/SG1 Semantic model Convener
コメント
“Peppol BIS Standard Invoice JP PINTに関する注意点” への1件のコメント
技術的な検証と品質保証:プロのソフトウェア開発の流儀
日本のソフトウェア技術者はかつて、提供されたものをそのまま受け取る前に、徹底的な技術的な検証を行うことが肝要とされてきました。この流儀は、あらゆるケースで問題点がない製品を提供しようとする品質に対するプロのアプローチを示しています。
ソフトウェア開発において、品質と信頼性は不可欠であり、これらを確保するための検証と品質保証は欠かすことのできないステップです。
日本の技術者たちは、その流儀を堅持し、高品質なソフトウェアを提供し続けることで、信頼性とプロフェッショナリズムを示し続けてきました。
一方、アジャイル型の開発手法もペポルの哲学の一部であり、問題が浮上すれば迅速に対処する姿勢が取られています。
こうした背景のもとで、受け入れの際の品質保証のプロセスが不十分なまま一般公開することは、プロの仕事とは言えないと思います。