These are rules that are shared by all implementation of Japan Self billing invoice. If any of these rules fails when validating Japan Self billing invoice message then that self billing invoice is not a valid Japan Self billing invoice.
Identifier | Message |
---|---|
IBR-001 | [ibr-001]-An Invoice MUST have a Specification identifier (ibt-024). |
IBR-002 | [ibr-002]-An Invoice MUST have an Invoice number (ibt-001). |
IBR-003 | [ibr-003]-An Invoice MUST have an Invoice issue date (ibt-002). |
IBR-004 | [ibr-004]-An Invoice MUST have an Invoice type code (ibt-003). |
IBR-005 | [ibr-005]-An Invoice MUST have an Invoice currency code (ibt-005). |
IBR-006 | [ibr-006]-An Invoice MUST contain the Seller name (ibt-027). |
IBR-007 | [ibr-007]-An Invoice MUST contain the Buyer name (ibt-044). |
IBR-008 | [ibr-008]-An Invoice MUST contain the Seller postal address (ibg-05). |
IBR-009 | [ibr-009]-The Seller postal address (ibg-05) MUST contain a Seller country code (ibt-040). |
IBR-010 | [ibr-010]-An Invoice MUST contain the Buyer postal address (ibg-08). |
IBR-011 | [ibr-011]-The Buyer postal address (ibg-08) MUST contain a Buyer country code (ibt-055). |
IBR-012 | [ibr-012]-An Invoice MUST have the Sum of Invoice line net amount (ibt-106). |
IBR-013 | [ibr-013]-An Invoice MUST have the Invoice total amount without Tax (ibt-109). |
IBR-014 | [ibr-014]-An Invoice MUST have the Invoice total amount with Tax (ibt-112). |
IBR-015 | [ibr-015]-An Invoice MUST have the Amount due for payment (ibt-115). |
IBR-016 | [ibr-016]-An Invoice MUST have at least one Invoice line (ibg-25) |
IBR-017 | [ibr-017]-The Payee name (ibt-059) MUST be provided in the Invoice, if the Payee (ibg-10) is different from the Seller (ibg-04). |
IBR-018 | [ibr-018]-The Seller tax representative name (ibt-062) MUST be provided in the Invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11) |
IBR-019 | [ibr-019]-The Seller tax representative postal address (ibg-12) MUST be provided in the Invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11). |
IBR-020 | [ibr-020]-The Seller tax representative postal address (ibg-12) MUST contain a Tax representative country code (ibt-069), if the Seller (ibg-04) has a Seller tax representative party (ibg-11). |
IBR-021 | [ibr-021]-Each Invoice line (ibg-25) MUST have an Invoice line identifier (ibt-126). |
IBR-022 | [ibr-022]-Each Invoice line (ibg-25) MUST have an invoiced quantity (ibt-129).. |
IBR-023 | [ibr-023]-An Invoice line (ibg-25) MUST have an Invoiced quantity unit of measure code (ibt-130). |
IBR-024 | [ibr-024]-Each Invoice line (ibg-25) MUST have an Invoice line net amount (ibt-131). |
IBR-025 | [ibr-025]-Each Invoice line (ibg-25) MUST contain the Item name (ibt-153). |
IBR-026 | [ibr-026]-Each Invoice line (ibg-25) MUST contain the Item net price (ibt-146). |
IBR-027 | [ibr-027]-The Item net price (ibt-146) MUST NOT be negative. |
IBR-028 | [ibr-028]-The Item gross price (ibt-148) MUST NOT be negative. |
IBR-029 | [ibr-029]-If both Invoicing period start date (ibt-073) and Invoicing period end date (ibt-074) are given then the Invoicing period end date (ibt-074) MUST be later or equal to the Invoicing period start date (ibt-073). |
IBR-030 | [ibr-030]-If both Invoice line period start date (ibt-134) and Invoice line period end date (ibt-135) are given then the Invoice line period end date (ibt-135) MUST be later or equal to the Invoice line period start date (ibt-134). |
IBR-031 | [ibr-031]-Allowance (ibg-20) MUST have an allowance amount (ibt-092). |
IBR-033 | [ibr-033]-Each Document level allowance (ibg-20) MUST have a Document level allowance reason (ibt-097) or a Document level allowance reason code (ibt-098). |
IBR-036 | [ibr-036]-Charge (ibg-21) MUST have a charge amount (ibt-099). |
IBR-038 | [ibr-038]-Each Document level charge (ibg-21) MUST have a Document level charge reason (ibt-104) or a Document level charge reason code (ibt-105). |
IBR-041 | [ibr-041]-Each Invoice line allowance (ibg-27) MUST have an Invoice line allowance amount (ibt-136). |
IBR-042 | [ibr-042]-Each Invoice line allowance (ibg-27) MUST have an Invoice line allowance reason (ibt-139) or an Invoice line allowance reason code (ibt-140). |
IBR-043 | [ibr-043]-Each Invoice line charge (ibg-28) MUST have an Invoice line charge amount (ibt-141). |
IBR-044 | [ibr-044]-Each Invoice line charge (ibg-28) MUST have an Invoice line charge reason (ibt-144) or an invoice line charge reason code (ibt-145). |
IBR-049 | [ibr-049]-A Payment instruction (ibg-16) MUST specify the Payment means type code (ibt-081). |
IBR-052 | [ibr-052]-Each Additional supporting document (ibg-24) MUST contain a Supporting document reference (ibt-122). |
IBR-053 | [ibr-053]-If the Tax accounting currency code (ibt-006) is present, then the Invoice total Tax amount in accounting currency (ibt-111) MUST be provided. |
IBR-054 | [ibr-054]-Each Item attribute (ibg-32) MUST contain an Item attribute name (ibt-160) and an Item attribute value (ibt-161). |
IBR-055 | [ibr-055]-Each Preceding Invoice reference (ibg-03) MUST contain a Preceding Invoice reference (ibt-025). |
IBR-056 | [ibr-056]-The Seller tax representative party (ibg-11) MUST have a Seller tax representative Tax identifier (ibt-063). |
IBR-057 | [ibr-057]-Each Deliver to address (ibg-15) MUST contain a Deliver to country code (ibt-080). |
IBR-062 | [ibr-062]-The Seller electronic address (ibt-034) MUST have a Scheme identifier. |
IBR-063 | [ibr-063]-The Buyer electronic address (ibt-049) MUST have a Scheme identifier. |
IBR-064 | [ibr-064]-The Item standard identifier (ibt-157) MUST have a Scheme identifier. |
IBR-065 | [ibr-065]-The Item classification identifier (ibt-158) MUST have a Scheme identifier. |
IBR-066 | [ibr-066]-An Invoice MUST contain maximum one Payment Card account (ibg-18). |
IBR-067 | [ibr-067]-An Invoice MUST contain maximum one Payment Mandate (ibg-19). |
IBR-068 | [ibr-068]-GLN MUST have a valid format according to GS1 rules for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-069 | [ibr-069]-Norwegian organization number MUST be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-070 | [ibr-070]-Danish organization number (CVR) MUST be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-071 | [ibr-071]-An invoice should not include an AdditonalDocumentReference (ibg-24) simultaneously referring an Invoice Object Identifier (ibt-018) and an Attachment (ibt-125). |
IBR-072 | [ibr-072]-An invoice MUST not include an AdditionalDocumentReference (ibg-24) simultaneously referring an Invoice Object Identifier (ibt-018) and an Document Description (ibt-123). |
IBR-073 | [ibr-073]-A date MUST be formatted YYYY-MM-DD in (ibt-002), (ibt-007), (ibt-009), (ibt-026), (ibt-072), (ibt-073), (ibt-074), (ibt-134), (ibt-135). |
IBR-074 | [ibr-074]-Binary object elements (ibt-125) MUST contain the mime code attribute (ibt-125-1). |
IBR-075 | [ibr-075]-Binary object elements (ibt-125) MUST contain the filename attribute (ibt-125-2). |
IBR-076 | [ibr-076]-Business process (ibt-023) MUST be provided. |
IBR-077 | [ibr-077]-Tax accounting currency code (ibt-006) MUST be different from invoice currency code (ibt-005) when provided. |
IBR-078 | [ibr-078]-Only one invoiced object (ibt-018) is allowed on document level. |
IBR-079 | [ibr-079]-Document MUST not contain empty elements. |
IBR-080 | [ibr-080]-The Buyer electronic address (ibt-049) MUST be provided. |
IBR-081 | [ibr-081]-The Seller electronic address (ibt-049) MUST be provided. |
IBR-082 | [ibr-082]-Allowance/charge indicator value MUST equal 'true' or 'false'. |
IBR-083 | [ibr-083]-Charge on price level (ibt-147) is NOT allowed. Only value 'false' allowed. |
IBR-084 | [ibr-084]-Invoice total tax amount (ibt-110) and Invoice total tax amount in accounting currency (ibt-111) MUST have the same operational sign. |
IBR-085 | [ibr-085]-Start date of line period (ibt-134) MUST be within invoice period (ibg-14). |
IBR-086 | [ibr-086]-End date of line period (ibt-135) MUST be within invoice period (ibg-14). |
IBR-087 | [ibr-087]-Base quantity (ibt-149) MUST be a positive number above zero. |
IBR-088 | [ibr-088]-Unit code of price base quantity (ibt-150) MUST be same as invoiced quantity (ibt-130). |
IBR-089 | [ibr-089]-Only one invoiced object (ibt-128) is allowed per line (ibg-25). |
IBR-090 | [ibr-090]-Only one project reference (ibt-011) is allowed on document level. |
IBR-091 | [ibr-091]-Invoice amount due for payment (ibt-115) MUST have no more than 2 decimals. |
IBR-092 | [ibr-092]-If despatch advice reference exists on line (ibt-184) then there MUST not be despatch reference on document level (ibt-016). |
IBR-093 | [ibr-093]-If there is a paid amount (ibt-180) then total paid amount (ibt-113) MUST exist. |
IBR-094 | [ibr-094]-Contract reference (ibt-012) MUST occur maximum once. |
IBR-095 | [ibr-095]-Receiving advice reference (ibt-015) MUST occur maximum once. |
IBR-096 | [ibr-096]-Despatch advice reference (ibt-016) MUST occur maximum once. |
IBR-097 | [ibr-097]-Invoicing period (ibg-14) MUST occur maximum once. |
IBR-098 | [ibr-098]-Seller name (ibt-027) MUST occur maximum once. |
IBR-099 | [ibr-099]-Seller trader name (ibt-028) MUST occur maximum once. |
IBR-100 | [ibr-100]-Seller legal registration identifier (ibt-030) MUST occur maximum once. |
IBR-101 | [ibr-101]-Seller additional legal information (ibt-033) MUST occur maximum once. |
IBR-102 | [ibr-102]-Buyer name (ibt-044) MUST occur maximum once. |
IBR-103 | [ibr-103]-Buyer legal registration identifier (ibt-047) MUST occur maximum once. |
IBR-104 | [ibr-104]-Buyer tax identifier (ibt-048) MUST occur maximum once. |
IBR-105 | [ibr-105]-The Payee identifier (ibt-060) MUST occur maximum once in the Invoice, if the Payee (ibg-10) is different from the Seller (ibg-04). |
IBR-106 | [ibr-106]-The Payee legal identifier (ibt-061) MUST occur maximum once in the Invoice, if the Payee (ibg-10) is different from the Seller (ibg-04). |
IBR-107 | [ibr-107]-Deliver to information (ibg-13) MUST occur maximum once. |
IBR-108 | [ibr-108]-Deliver to party name (ibt-070) MUST occur maximum once. |
IBR-109 | [ibr-109]-Referenced purchase order line identifier (ibt-132) MUST occur maximum once. |
IBR-110 | [ibr-110]-Invoice line period (ibg-26) MUST occur maximum once. |
IBR-111 | [ibr-111]-Item price discount (ibt-147) MUST occur maximum once. |
IBR-112 | [ibr-112]-Buyer trader name (ibt-045) MUST occur maximum once. |
IBR-113 | [ibr-113]-Belgian enterprise number MUST be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-114 | [ibr-114]-IPA Code (Codice Univoco Unità Organizzativa) must be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-115 | [ibr-115]-Tax Code (Codice Fiscale) must be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-116 | [ibr-116]-Italian VAT Code (Partita Iva) must be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-119 | [ibr-119]-A time MUST be formatted hh:mm:ss with optional fractional seconds .sss and time zone expression (ibt-168). |
IBR-120 | [ibr-120]-Australian Business Number (ABN) must be stated in the correct format for for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-121 | [ibr-121]-Document level allowance amount (ibt-107) MUST have no more than 2 decimals. |
IBR-122 | [ibr-122]-Document level charge amount (ibt-108) MUST have no more than 2 decimals. |
IBR-123 | [ibr-123]-Invoice total amount without TAX (ibt-109) MUST have no more than 2 decimals. |
IBR-124 | [ibr-124]-Invoice total TAX amount (ibt-110) MUST have no more than 2 decimals. |
IBR-125 | [ibr-125]- Invoice total amount with TAX (ibt-112) MUST have no more than 2 decimals. |
IBR-126 | [ibr-126]- All currencyID attributes must have the same value as the Invoice currency code (ibt-005), except for amounts expected to be in Tax accounting currency (ibt-006). |
IBR-127 | [ibr-127]-Swedish organization number MUST be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061). |
IBR-CL-01-JP-SB | [ibr-cl-01-jp-sb]-The document type code MUST be coded by the self-billed invoice related code lists of UNTDID 1001. |
IBR-CL-03 | [ibr-cl-03]-currencyID MUST be coded using ISO code list 4217 alpha-3. |
IBR-CL-04 | [ibr-cl-04]-Invoice currency code (ibt-005) MUST be coded using ISO code list 4217 alpha-3 |
IBR-CL-05 | [ibr-cl-05]-Tax currency code (ibt-006) MUST be coded using ISO code list 4217 alpha-3 |
IBR-CL-07 | [ibr-cl-07]-Object identifier identification scheme (ibt-018-1) (ibt-128-1) MUST be coded using a restriction of UNTDID 1153. |
IBR-CL-10 | [ibr-cl-10]-Any identifier identification scheme (ibt-046-1), (ibt-060-1) MUST be coded using one of the ISO 6523 ICD list. |
IBR-CL-11 | [ibr-cl-11]-Any registration identifier identification scheme (ibt-030-1), (ibt-047-1), (ibt-061-1) MUST be coded using one of the ISO 6523 ICD list. |
IBR-CL-13 | [ibr-cl-13]-Item classification identifier identification scheme (ibt-158-1) MUST be coded using one of the UNTDID 7143 list. |
IBR-CL-14 | [ibr-cl-14]-Country codes in an invoice (ibt-040), (ibt-055), (ibt-069), (ibt-080), (ibt-175) MUST be coded using ISO code list 3166-1 |
IBR-CL-15 | [ibr-cl-15]-Origin country codes in an invoice (ibt-159) MUST be coded using ISO code list 3166-1 |
IBR-CL-16 | [ibr-cl-16]-Payment means in an invoice (ibt-081) MUST be coded using UNCL4461 code list |
IBR-CL-19 | [ibr-cl-19]-Coded allowance reasons (ibt-098), (ibt-140) MUST belong to the UNCL 5189 code list |
IBR-CL-20 | [ibr-cl-20]-Coded charge reasons (ibt-105), (ibt-145) MUST belong to the UNCL 7161 code list |
IBR-CL-21 | [ibr-cl-21]-Item standard identifier scheme identifier (ibt-157) MUST belong to the ISO 6523 ICD list. |
IBR-CL-23 | [ibr-cl-23]-Unit code (ibt-130), (ibt-150) MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension |
IBR-CL-24 | [ibr-cl-24]-Mime code (ibt-125-1) MUST be according to subset of IANA code list. |
IBR-CL-25 | [ibr-cl-25]-Endpoint identifier scheme identifier (ibt-034-1), (ibt-049-1) MUST belong to the CEF EAS code list |
IBR-CL-26 | [ibr-cl-26]-Delivery location identifier scheme identifier (ibt-071-1) MUST belong to the ISO 6523 ICD code list |
IBR-CO-10 | [ibr-co-10]-Sum of Invoice line net amount (ibt-106) = Σ Invoice line net amount (ibt-131). |
IBR-CO-11 | [ibr-co-11]-Sum of allowances on document level (ibt-107) = Σ Document level allowance amount (ibt-092). |
IBR-CO-12 | [ibr-co-12]-Sum of charges on document level (ibt-108) = Σ Document level charge amount (ibt-099). |
IBR-CO-13 | [ibr-co-13]-Invoice total amount without Tax (ibt-109) = Σ Invoice line net amount (ibt-131) - Sum of allowances on document level (ibt-107) + Sum of charges on document level (ibt-108). |
IBR-CO-14 | [ibr-co-14]-Invoice total Tax amount (ibt-110) = Σ Tax category tax amount (ibt-117). |
IBR-CO-15 | [ibr-co-15]-Invoice total amount with Tax (ibt-112) = Invoice total amount without Tax (ibt-109) + Invoice total Tax amount (ibt-110). |
IBR-CO-16 | [ibr-co-16]-Amount due for payment (ibt-115) = Invoice total amount with Tax (ibt-112) - Paid amount (ibt-113) + Rounding amount (ibt-114). |
IBR-CO-19 | [ibr-co-19]-If Invoicing period (ibg-14) is used, the Invoicing period start date (ibt-073) or the Invoicing period end date (ibt-074) MUST be filled, or both. |
IBR-CO-20 | [ibr-co-20]-If Invoice line period (ibg-26) is used, the Invoice line period start date (ibt-134) or the Invoice line period end date (ibt-135) MUST be filled, or both. |
IBR-CO-26 | [ibr-co-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (ibt-029), the Seller legal registration identifier (ibt-030) and/or the Seller Tax identifier (ibt-031) MUST be present. |
IBR-SR-05 | [ibr-sr-05]-Payment terms (ibt-020) MUST occur maximum once. |
IBR-SR-06 | [ibr-sr-06]-Preceding invoice reference (ibt-025) MUST occur maximum once |
IBR-SR-07 | [ibr-sr-07]-If there is a preceding invoice reference (ibg-03) , the preceding invoice number (ibt-025) MUST be present |
IBR-SR-16 | [ibr-sr-16]-Buyer identifier (ibt-046) MUST occur maximum once |
IBR-SR-19 | [ibr-sr-19]-Payee name (ibt-059) MUST occur maximum once, if the Payee is different from the Seller |
IBR-SR-22 | [ibr-sr-22]-Seller tax representative name (ibt-062) MUST occur maximum once, if the Seller has a tax representative |
IBR-SR-23 | [ibr-sr-23]-Seller tax representative tax identifier (ibt-063) MUST occur maximum once, if the Seller has a tax representative |
IBR-SR-27 | [ibr-sr-27]-Payment means text (ibt-081) MUST occur maximum once |
IBR-SR-28 | [ibr-sr-28]-Mandate reference identifier (ibt-089) MUST occur maximum once |
IBR-SR-30 | [ibr-sr-30]-Allowance reason (ibt-097) MUST occur maximum once |
IBR-SR-31 | [ibr-sr-31]-Charge reason (ibt-104) MUST occur maximum once |
IBR-SR-32 | [ibr-sr-32]-VAT exemption reason text (ibt-120) MUST occur maximum once. |
IBR-SR-33 | [ibr-sr-33]-Supporting document description (ibt-123) MUST occur maximum once |
IBR-SR-34 | [ibr-sr-34]-Invoice line note (ibt-127) MUST occur maximum once |
IBR-SR-38 | [ibr-sr-38]-Invoiced item tax exemption reason text (ibt-185) MUST occur maximum once |
IBR-SR-39 | [ibr-sr-39]-Project reference (ibt-011) MUST occur maximum once. |
IBR-SR-42 | [ibr-sr-42]-Party tax scheme MUST occur maximum twice in accounting supplier party |
IBR-SR-45 | [ibr-sr-45]-Due Date (ibt-009) MUST occur maximum once |
IBR-SR-46 | [ibr-sr-46]-Payment means text (ibt-082) MUST occur maximum once |
IBR-SR-49 | [ibr-sr-49]-Value tax point date (ibt-007) MUST occur maximum once |
IBR-SR-50 | [ibr-sr-50]-Item description (ibt-154) MUST occur maximum once |
IBR-SR-51 | [ibr-sr-51]-Note (ibt-022) MUST occur maximum once |
IBR-SR-52 | [ibr-sr-52]-Tender or lot reference (ibt-017) MUST occur maximum once |
IBR-SR-53 | [ibr-sr-53]-The Seller Postal Address Line (ibt-162) MUST occur maximum once |
IBR-SR-54 | [ibr-sr-54]-The Buyer Postal Address Line (ibt-163) MUST occur maximum once |
IBR-SR-55 | [ibr-sr-55]-The Tax Representative Postal Address Line (ibt-164) MUST occur maximum once |
IBR-SR-56 | [ibr-sr-56]-The Delivery Postal Address Line (ibt-165) MUST occur maximum once |
IBR-SR-57 | [ibr-sr-57]-Company identifier MUST exist in the party tax scheme class. |
IBR-SR-58 | [ibr-sr-58]-The Invoiced item TAX category code (ibt-151) MUST be present. |
IBR-SR-59 | [ibr-sr-59]-The Payee Postal Address Line (ibt-174) MUST occur maximum once |
IBR-SR-60 | [ibr-sr-60]-Payment Instruction ID (ibt-187) MUST occur maximum once. |
IBR-SR-61 | [ibr-sr-61]-Allowance/charge tax exemption reason (ibt-197) (ibt-199) MUST occur maximum once. |
IBR-SR-62 | [ibr-sr-62]-Despatch advice line reference (ibt-184) MUST occur maximum once. |