Skip to content
Novus Examples
xml11.7 KB

Harbour Kitchen Group: ISO 20022 pain.008 direct debit initiation

ISO 20022 pain.008 direct debit initiation for Harbour Kitchen Group. A customer direct debit initiation message with 8 payment information blocks, one per collection date, because every block carries a single required collection date. The group control sum is 4077.58 CAD and the number of transactions is 8; each block control sum is its own single amount. The service level and local instrument are proprietary domestic and PAD codes rather than SEPA, because the currency is CAD.

xml

application/xml

11.7 KB
Document Set
banking
Industry
finance
Source Kit
accounting-reconciliation
Entity
Harbour Kitchen Group
Synthetic
true
As Of
2026-09-08

Binary xml: no in-browser preview. Download it above to open in a compatible application.

Specifications

Document Set
banking
Industry
finance
Source Kit
accounting-reconciliation
Entity
Harbour Kitchen Group
Synthetic
true
As Of
2026-09-08
Message Type
pain.008.001.08
Payment Blocks
8
Transactions
8
Control Sum
4077.58
Currency
CAD
Service Level
proprietary DOMESTIC
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Parse the message, check the group control sum against the sum of the instructed amounts, and check that every block carries the mandate reference and signature date.
Expected result
The 8 instructed amounts sum to 4077.58, the group control sum, and the transaction count is 8. Every block repeats mandate DDM-2026-0007 signed 2026-07-08, and exactly one block carries sequence type FRST.

What is a .xml file?

XML (Extensible Markup Language) is a verbose, self-describing markup language using nested tags, attributes, and namespaces to represent structured, hierarchical data. It supports schemas, entities, and validation and underlies many document and data formats. It remains common in enterprise, publishing, and interchange contexts.

How to use this file

Use an example XML file to test parsers, namespace and schema validation, XPath queries, and protection against entity-expansion and external-entity attacks.

How to use this file for testing

“Harbour Kitchen Group: ISO 20022 pain.008 direct debit initiation” is a deterministic Novus Examples fixture for Data import, Schema validation. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.

Documented properties for this file: UTF-8. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Code examples

import xml.etree.ElementTree as ET

tree = ET.parse("direct-debit-pain008.xml")
root = tree.getroot()
print(root.tag, [c.tag for c in root][:5])

Generated by generation/industry_documents_two.py. Free for any use, no attribution required, license.