Shared PINT rules

These are rules that are shared by all implementation of PINT compliant invoices. If any of these rules fails when validating an invoice message then that invoice is not a valid PINT invoice.

Identifier Message
IBR-001 A Self-billed invoice MUST have a Specification identifier (ibt-024).
IBR-002 A Self-billed invoice MUST have a Self-billed invoice number (ibt-001).
IBR-003 A Self-billed invoice MUST have a Self-billed invoice issue date (ibt-002).
IBR-004 A Self-Billed Invoice MUST have an Self-Billed Invoice type code (ibt-003) / A Self-Billed Credit note MUST have a Self-Billed Credit note Type code (ibt-003).
IBR-005 A Self-billed invoice MUST have a Self-billed invoice currency code (ibt-005).
IBR-006 A Self-billed invoice MUST contain the Seller name (ibt-027).
IBR-007 A Self-billed invoice MUST contain the Buyer name (ibt-044).
IBR-008 A Self-billed invoice MUST contain the Seller postal address (ibg-05).
IBR-009 The Seller postal address (ibg-05) MUST contain a Seller country code (ibt-040).
IBR-010 A Self-billed invoice MUST contain the Buyer postal address (ibg-08).
IBR-011 The Buyer postal address (ibg-08) MUST contain a Buyer country code (ibt-055).
IBR-012 A Self-billed invoice MUST have the Sum of Self-billed invoice line net amount (ibt-106).
IBR-013 A Self-billed invoice MUST have the Self-billed invoice total amount without Tax (ibt-109).
IBR-014 A Self-billed invoice MUST have the Self-billed invoice total amount with Tax (ibt-112).
IBR-015 A Self-billed invoice MUST have the Amount due for payment (ibt-115).
IBR-016 A Self-billed invoice MUST have at least one Self-billed invoice line (ibg-25)
IBR-017 If a Payee (ibg-10) is provided in the Self-billed invoice, then the Payee name (ibt-059) MUST be provided and the Payee MUST be different from the Seller (ibg-04). The Payee and the Seller are compared, in order of precedence, on their legal registration identifier (ibt-061), their party identifier (ibt-060) and, as a last resort, their name (ibt-059).
IBR-018 The Seller tax representative name (ibt-062) MUST be provided in the Self-billed invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11)
IBR-019 The Seller tax representative postal address (ibg-12) MUST be provided in the Self-billed invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11).
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 Each Self-billed invoice line (ibg-25) MUST have a Self-billed invoice line identifier (ibt-126).
IBR-022 Each Self-billed invoice line (ibg-25) MUST have an invoiced quantity (ibt-129)..
IBR-023 A Self-billed invoice line (ibg-25) MUST have an Invoiced quantity unit of measure code (ibt-130).
IBR-024 Each Self-billed invoice line (ibg-25) MUST have a Self-billed invoice line net amount (ibt-131).
IBR-025 Each Self-billed invoice line (ibg-25) MUST contain the Item name (ibt-153).
IBR-026 Each Self-billed invoice line (ibg-25) MUST contain the Item net price (ibt-146).
IBR-027 The Item net price (ibt-146) MUST NOT be negative.
IBR-028 The Item gross price (ibt-148) MUST NOT be negative.
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 If both Self-billed invoice line period start date (ibt-134) and Self-billed invoice line period end date (ibt-135) are given then the Self-billed invoice line period end date (ibt-135) MUST be later or equal to the Self-billed invoice line period start date (ibt-134).
IBR-031 Allowance (ibg-20) MUST have an allowance amount (ibt-092).
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 Charge (ibg-21) MUST have a charge amount (ibt-099).
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 Each Self-billed invoice line allowance (ibg-27) MUST have a Self-billed invoice line allowance amount (ibt-136).
IBR-042 Each Self-billed invoice line allowance (ibg-27) MUST have a Self-billed invoice line allowance reason (ibt-139) or a Self-billed invoice line allowance reason code (ibt-140).
IBR-043 Each Self-billed invoice line charge (ibg-28) MUST have a Self-billed invoice line charge amount (ibt-141).
IBR-044 Each Self-billed invoice line charge (ibg-28) MUST have a Self-billed invoice line charge reason (ibt-144) or a Self-billed invoice line charge reason code (ibt-145).
IBR-049 A Payment instruction (ibg-16) MUST specify the Payment means type code (ibt-081).
IBR-052 Each Additional supporting document (ibg-24) MUST contain a Supporting document reference (ibt-122).   
IBR-053 If the Tax accounting currency code (ibt-006) is present, then the Self-billed invoice total Tax amount in accounting currency (ibt-111) MUST be provided.
IBR-054 Each Item attribute (ibg-32) MUST contain an Item attribute name (ibt-160) and an Item attribute value (ibt-161).
IBR-055 Each Preceding Self-billed invoice reference (ibg-03) MUST contain a Preceding Self-billed invoice reference (ibt-025).
IBR-057 Each Deliver to address (ibg-15) MUST contain a Deliver to country code (ibt-080).
IBR-062 The Seller electronic address (ibt-034) MUST have a Scheme identifier.
IBR-063 The Buyer electronic address (ibt-049) MUST have a Scheme identifier.   
IBR-064 The Item standard identifier (ibt-157) MUST have a Scheme identifier.
IBR-065 The Item classification identifier (ibt-158) MUST have a Scheme identifier.
IBR-066 A Self-billed invoice MUST contain maximum one Payment Card account (ibg-18).
IBR-067 A Self-billed invoice MUST contain maximum one Payment Mandate (ibg-19).
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 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 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 A Self-billed invoice should not include an AdditonalDocumentReference (ibg-24) simultaneously referring a Self-billed invoice Object Identifier (ibt-018) and an Attachment (ibt-125).
IBR-072 A Self-billed invoice MUST not include an AdditionalDocumentReference (ibg-24) simultaneously referring a Self-billed invoice Object Identifier (ibt-018) and an Document Description (ibt-123).
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), (ibt-177), (ibt-181).
IBR-074 Binary object elements (ibt-125) MUST contain the mime code attribute (ibt-125-1).
IBR-075 Binary object elements (ibt-125) MUST contain the filename attribute (ibt-125-2).
IBR-076 Business process (ibt-023) MUST be provided.
IBR-077 Tax accounting currency code (ibt-006) MUST be different from Self-billed invoice currency code (ibt-005) when provided.
IBR-078 Only one Self-billed invoiced object (ibt-018) is allowed on document level.
IBR-079 Document MUST not contain empty elements.
IBR-080 The Buyer electronic address (ibt-049) MUST be provided.
IBR-081 The Seller electronic address (ibt-034) MUST be provided.
IBR-082 Allowance/charge indicator value MUST equal 'true' or 'false'.
IBR-083 Charge on price level (ibt-147) is NOT allowed. Only value 'false' allowed.
IBR-084 Self-billed invoice total tax amount (ibt-110) and Self-billed invoice total tax amount in accounting currency (ibt-111) MUST have the same operational sign.
IBR-085 Start date of line period (ibt-134) MUST be within Self-billed invoice period (ibg-14).
IBR-086 End date of line period (ibt-135) MUST be within Self-billed invoice period (ibg-14).
IBR-087 Base quantity (ibt-149) MUST be a positive number above zero.
IBR-088 Unit code of price base quantity (ibt-150) MUST be same as invoiced quantity (ibt-130).
IBR-089 Only one Self-billed invoiced object (ibt-128) is allowed per line (ibg-25).
IBR-090 Only one project reference (ibt-011) is allowed on document level.
IBR-091 Self-billed invoice amount due for payment (ibt-115) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
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 If there is a paid amount (ibt-180) then total paid amount (ibt-113) MUST exist.
IBR-094 Contract reference (ibt-012) MUST occur maximum once.
IBR-095 Receiving advice reference (ibt-015) MUST occur maximum once.
IBR-096 Despatch advice reference (ibt-016) MUST occur maximum once.
IBR-097 Self-billed invoicing period (ibg-14) MUST occur maximum once.
IBR-098 Seller name (ibt-027) MUST occur maximum once.
IBR-099 Seller trader name (ibt-028) MUST occur maximum once.
IBR-100 Seller legal registration identifier (ibt-030) MUST occur maximum once.
IBR-101 Seller additional legal information (ibt-033) MUST occur maximum once.
IBR-102 Buyer name (ibt-044) MUST occur maximum once.
IBR-103 Buyer legal registration identifier (ibt-047) MUST occur maximum once.
IBR-104 Buyer tax identifier (ibt-048) MUST occur maximum once.
IBR-105 The Payee identifier (ibt-060) MUST occur maximum once in the Self-billed invoice.
IBR-106 The Payee legal identifier (ibt-061) MUST occur maximum once in the Self-billed invoice.
IBR-107 Deliver to information (ibg-13) MUST occur maximum once.
IBR-108 Deliver to party name (ibt-070) MUST occur maximum once.
IBR-109 Referenced purchase order line identifier (ibt-132) MUST occur maximum once.
IBR-110 Self-billed invoice line period (ibg-26) MUST occur maximum once.
IBR-111 Item price discount (ibt-147) MUST occur maximum once.
IBR-112 Buyer trader name (ibt-045) MUST occur maximum once.
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 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 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 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 A time MUST be formatted hh:mm:ss with optional fractional seconds .sss and time zone expression (ibt-168).
IBR-120 Australian Business Number (ABN) 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-121 Document level allowance amount (ibt-107) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
IBR-122 Document level charge amount (ibt-108) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
IBR-123 Self-billed invoice total amount without TAX (ibt-109) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
IBR-124 Self-billed invoice total TAX amount (ibt-110) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
IBR-125 Self-billed invoice total amount with TAX (ibt-112) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
IBR-126 All currencyID attributes must have the same value as the Self-Billed Invoice currency code (ibt-005), except for amounts expected to be in Tax accounting currency (ibt-006).
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 The document type code (ibt-003) MUST be coded by the Self-billed invoice and Self-billed credit note related code lists of UNTDID 1001.
IBR-CL-03 currencyID MUST be coded using ISO code list 4217 alpha-3.
IBR-CL-04 Self-billed invoice currency code (ibt-005) MUST be coded using ISO code list 4217 alpha-3
IBR-CL-05 Tax currency code (ibt-006) MUST be coded using ISO code list 4217 alpha-3
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 Any identifier identification scheme (ibt-046-1), (ibt-060-1) MUST be coded using one of the ISO 6523 ICD list.
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 Item classification identifier identification scheme (ibt-158-1) MUST be coded using one of the UNTDID 7143 list.
IBR-CL-14 Country codes in a Self-billed invoice (ibt-040), (ibt-055), (ibt-069), (ibt-080), (ibt-175) MUST be coded using ISO code list 3166-1
IBR-CL-15 Origin country codes in a Self-billed invoice (ibt-159) MUST be coded using ISO code list 3166-1
IBR-CL-16 Payment means in a Self-billed invoice (ibt-081) MUST be coded using UNCL4461 code list
IBR-CL-19 Coded allowance reasons (ibt-098), (ibt-140) MUST belong to the UNCL 5189 code list
IBR-CL-20 Coded charge reasons (ibt-105), (ibt-145) MUST belong to the UNCL 7161 code list
IBR-CL-21 Item standard identifier scheme identifier (ibt-157) MUST belong to the ISO 6523 ICD list.
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 Mime code (ibt-125-1) MUST be according to subset of IANA code list.
IBR-CL-25 Endpoint identifier scheme identifier (ibt-034-1), (ibt-049-1) MUST belong to the CEF EAS code list
IBR-CL-26 Delivery location identifier scheme identifier (ibt-071-1) MUST belong to the ISO 6523 ICD code list
IBR-CO-10 Sum of Self-billed invoice line net amount (ibt-106) = Σ Self-billed invoice line net amount (ibt-131).
IBR-CO-11 Sum of allowances on document level (ibt-107) = Σ Document level allowance amount (ibt-092).
IBR-CO-12 Sum of charges on document level (ibt-108) = Σ Document level charge amount (ibt-099).
IBR-CO-13 Self-billed invoice total amount without Tax (ibt-109) = Σ Self-billed 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 Self-billed invoice total Tax amount (ibt-110) = Σ Tax category tax amount (ibt-117).
IBR-CO-15 Self-billed invoice total amount with Tax (ibt-112) = Self-billed invoice total amount without Tax (ibt-109) + Self-billed invoice total Tax amount (ibt-110).
IBR-CO-16 Amount due for payment (ibt-115) = Self-billed invoice total amount with Tax (ibt-112) - Paid amount (ibt-113) + Rounding amount (ibt-114).
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 If Self-billed invoice line period (ibg-26) is used, the Self-billed invoice line period start date (ibt-134) or the Self-billed invoice line period end date (ibt-135) MUST be filled, or both.
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 Payment terms (ibt-020) MUST occur maximum once.
IBR-SR-06 Preceding Self-billed invoice reference (ibt-025) MUST occur maximum once
IBR-SR-07 If there is a preceding Self-billed invoice reference (ibg-03) , the preceding Self-billed invoice number (ibt-025) MUST be present
IBR-SR-16 Buyer identifier (ibt-046) MUST occur maximum once
IBR-SR-19 Payee name (ibt-059) MUST occur maximum once in the Self-billed invoice
IBR-SR-22 Seller tax representative name (ibt-062) MUST occur maximum once, if the Seller has a tax representative
IBR-SR-23 Seller tax representative tax identifier (ibt-063) MUST occur maximum once, if the Seller has a tax representative
IBR-SR-27 Payment means text (ibt-081) MUST occur maximum once
IBR-SR-28 Mandate reference identifier (ibt-089) MUST occur maximum once
IBR-SR-30 Allowance reason (ibt-097) MUST occur maximum once
IBR-SR-31 Charge reason (ibt-104) MUST occur maximum once
IBR-SR-32 VAT exemption reason text (ibt-120) MUST occur maximum once.
IBR-SR-33 Supporting document description (ibt-123) MUST occur maximum once
IBR-SR-34 Self-billed invoice line note (ibt-127) MUST occur maximum once
IBR-SR-38 Self-billed invoiced item tax exemption reason text (ibt-185) MUST occur maximum once
IBR-SR-39 Project reference (ibt-011) MUST occur maximum once.
IBR-SR-42 Party tax scheme MUST occur maximum twice in accounting supplier party
IBR-SR-46 Payment means text (ibt-082) MUST occur maximum once
IBR-SR-49 Value tax point date (ibt-007) MUST occur maximum once
IBR-SR-50 Item description (ibt-154) MUST occur maximum once
IBR-SR-51 Note (ibt-022) MUST occur maximum once
IBR-SR-52 Tender or lot reference (ibt-017) MUST occur maximum once
IBR-SR-53 The Seller Postal Address Line (ibt-162) MUST occur maximum once
IBR-SR-54 The Buyer Postal Address Line (ibt-163) MUST occur maximum once
IBR-SR-55 The Tax Representative Postal Address Line (ibt-164) MUST occur maximum once
IBR-SR-56 The Delivery Postal Address Line (ibt-165) MUST occur maximum once
IBR-SR-57 Company identifier MUST exist in the party tax scheme class.
IBR-SR-58 The Self-billed invoiced item TAX category code (ibt-151) MUST be present.
IBR-SR-59 The Payee Postal Address Line (ibt-174) MUST occur maximum once
IBR-SR-60 Payment Instruction ID (ibt-187) MUST occur maximum once.
IBR-SR-61 Allowance/charge tax exemption reason (ibt-197) (ibt-199) MUST occur maximum once.
IBR-SR-62 Despatch advice line reference (ibt-184) MUST occur maximum once.
IBR-SR-63 A Specification identifier must not contain a wildcard character such as '*'. (ibt-024)
IBR-SR-64 The Seller tax representative party tax scheme (ibt-063) MUST occur maximum once, if the Seller has a tax representative.
IBR-SR-65 Self-billed invoice total TAX amount (ibt-110) MUST occur maximum once.
IBR-SR-66 Self-billed invoice total TAX amount in accounting currency (ibt-111) MUST occur maximum once.
IBR-SR-67 Despatch advice reference (ibt-184) MUST occur maximum once per Self-billed invoice line.
IBR-SR-68 Line document reference (ibg-36) MUST occur maximum once per Self-billed invoice line.
IBR-SR-69 Bank assigned creditor identifier (ibt-090) MUST occur maximum once.
IBR-SR-70 Seller Tax identifier (ibt-031) and Seller tax registration identifier (ibt-032) MUST each occur maximum once.