share
- Shared by
- Juha Ikävalko Netum Oy / Truugo Team
- Shared with
- John Smith @companyx.com
- Expires
- 2098-05-30
test case
- Test profile
- View profile Finvoice 2.01
- File tested
-
View instance
Finvoice_2_01_example.xml - Message layouts
-
FK default (Swedish)
FK default (English)
FK default (Finnish)
- Report
- Print report
- Status
-
Set status to DONE to inform the author when reported errors have been resolved.
Truugo is a message validation platform to setup and share own validators for manual and automated scenarios. Learn more »
Test report
Case overview
Profile | Finvoice 2.01 | INVALID Instance failed 6 test phases |
---|---|---|
Standard | Finvoice 2.01 | |
Message type | Invoice | |
Instance | Finvoice_2_01_example.xml | |
User | Juha Ikävalko | |
Time | 2018-06-20 09:49:45Z |
Test phases
Phase | Importance | Result | |
---|---|---|---|
1 | Preconditions Preconditions for message validation. Correct message format and usage. | CRITICAL | PASSED |
2 | Base conditions Validation against base conditions related to Finvoice 2.01 invoice messages. | CRITICAL | PASSED |
3 | Schema validation Validation against Finvoice XSD Schema. | MANDATORY | PASSED |
4 | Mandatory elements Validation for mandatory elements not necessarily mandated by W3C XML Schema. | MANDATORY | FAILED |
5 | Recommended elements Validation for recommended elements not necessarily mandated by W3C XML Schema. | RECOMMENDED | FAILED |
6 | Format constraints Validation for data format restrictions. | MANDATORY | FAILED |
7 | Integrity constraints Validation for integrity constraints. | MANDATORY | FAILED |
8 | Integrity recommendations Validation for recommended integrity constraints. | RECOMMENDED | PASSED |
9 | General recommendations Validation for recommended practices which might become mandatory in the future. | RECOMMENDED | FAILED |
10 | SEPA validation Validation for SEPA requirements. | MANDATORY | FAILED |
11 | Credit note requirements Validation for credit note spesific requirements. | MANDATORY | PASSED |
- CRITICAL
- Phase must be passed to continue validation
- MANDATORY
- Phase must be passed to pass the test successfully
- RECOMMENDED
- Phase provides informative feedback on best practices etc.
Feedback
Mandatory elements8 errors
4.3 | Invoicer's party identifier |
ConditionInvoicer's party ID is stated on a message. ErrorLine 3: /Finvoice/SellerPartyDetails missing non-empty SellerPartyIdentifier |
4.4 | Invoicer's account number |
ConditionInvoicer's account number is stated on a message. ErrorLine 2: /Finvoice missing non-empty SellerInformationDetails/SellerAccountDetails/SellerAccountID |
4.5 | Invoicer's BIC bank Identifier |
ConditionInvoicer's BIC bank identifier is stated on a message. ErrorLine 2: /Finvoice missing non-empty SellerInformationDetails/SellerAccountDetails/SellerBic |
4.6 | Invoice total tax exclusive amount |
ConditionInvoice total tax exclusive amount is stated on a message. ErrorLine 19: /Finvoice/InvoiceDetails missing non-empty InvoiceTotalVatExcludedAmount |
4.7 | Invoice total tax amount |
ConditionInvoice total tax amount is stated on a message. ErrorLine 19: /Finvoice/InvoiceDetails missing non-empty InvoiceTotalVatAmount |
4.9 | Invoicee's party identifier |
ConditionInvoicee's party ID is stated on a message. ErrorLine 11: /Finvoice/BuyerPartyDetails missing non-empty BuyerPartyIdentifier |
4.10 | ePI: Invoicer's IBAN account number |
ConditionInvoicer's IBAN account number is stated on ePI details. ErrorLine 36: /Finvoice/EpiDetails/EpiPartyDetails missing EpiBeneficiaryPartyDetails/EpiAccountID[@IdentificationSchemeName="IBAN"] |
4.11 | ePI: Invoicer's name and address |
ConditionInvoicer's name/address is stated on ePI details. ErrorLine 36: /Finvoice/EpiDetails/EpiPartyDetails missing non-empty EpiBeneficiaryPartyDetails/EpiNameAddressDetails |
Recommended elements5 errors
5.1 | Related order ID |
ConditionMessage contains buyer's order number as a reference to a related order. ErrorLine 19: /Finvoice/InvoiceDetails missing non-empty OrderIdentifier |
5.2 | Payment overdue fine percent |
ConditionCommercial invoice contains a payment overdue fine percent. ErrorLine 19: /Finvoice/InvoiceDetails missing non-empty PaymentTermsDetails/PaymentOverDueFineDetails/PaymentOverDueFinePercent |
5.3 | VAT subtotal |
ConditionTax category specific VAT subtotals are stated on a message. ErrorLine 19: /Finvoice/InvoiceDetails missing VatSpecificationDetails |
5.8 | Invoicer's VAT tax identifier |
ConditionInvoicer's VAT identifier is stated on a message. ErrorLine 3: /Finvoice/SellerPartyDetails missing non-empty SellerOrganisationTaxCode |
5.18 | ePI: Invoicer's BIC bank identifier |
ConditionInvoicer's BIC bank identifier is stated on ePI details. ErrorLine 36: /Finvoice/EpiDetails/EpiPartyDetails missing non-empty EpiBfiPartyDetails/EpiBfiIdentifier |
Format constraints3 errors
6.4 | Currency code |
ConditionCurrency code is specified according to ISO 4217 code list, for example: 'EUR', 'USD' or 'SEK'. Error |
6.5 | Total amount |
ConditionInvoice total amounts are specified with atleast two decimals. ErrorLine 25: /Finvoice/InvoiceDetails/InvoiceTotalVatIncludedAmount = 00 |
Integrity constraints2 errors
7.1 | Invoice issue date and invoice due date |
ConditionInvoice due date is later than invoice issue date. ErrorLine 27: /Finvoice/InvoiceDetails/PaymentTermsDetails/InvoiceDueDate = "20141129" (Line 24, InvoiceDate = "20141229") |
7.2 | Invoice due date |
ConditionInvoice due date stated in payment terms and ePI details are same. ErrorLine 27: /Finvoice/InvoiceDetails/PaymentTermsDetails/InvoiceDueDate = "20141129" (Line 46, EpiDateOptionDate = "20141219") |
General recommendations8 errors
9.3 | No empty elements |
ConditionEmpty elements are contained in messages only if it's required by the process. ErrorLine 30: Found 1 empty elements. |
9.4 | Realistic invoice issue date |
ConditionInvoice issue date is +- 90 days from a current date. ErrorLine 24: /Finvoice/InvoiceDetails/InvoiceDate = "20141229" |
9.6 | No empty spaces |
ConditionFinvoice guideline doesn't allow whitespaces in a beginning or in a end of a element value. ErrorLine 21: /Finvoice/InvoiceDetails/InvoiceTypeText = " " Line 22: /Finvoice/InvoiceDetails/OriginCode = " Original " Line 23: /Finvoice/InvoiceDetails/InvoiceNumber = " " Line 25: /Finvoice/InvoiceDetails/InvoiceTotalVatIncludedAmount = " 00 " Line 37: /Finvoice/EpiDetails/EpiPartyDetails/EpiBfiPartyDetails = " " Line 44: /Finvoice/EpiDetails/EpiPaymentInstructionDetails/EpiInstructedAmount = "0,00 " |
SEPA validation1 error
10.2 | Invoicer's bank account numbers |
ConditionIBAN account number is specified in the following format without spaces: abcd, where: "a" = country code (like "FI"), "b" = 2 check digits, "c" = bank ID and , "d" = account ID. ErrorLine 40: /Finvoice/EpiDetails/EpiPartyDetails/EpiBeneficiaryPartyDetails/EpiAccountID = "x" |