parse_pacs008
Parse pacs.008 ISO 20022 credit transfer messages to extract group header and transaction details, returning structured data or error for invalid input.
Instructions
Parse a pacs.008.001.08 (FI-to-FI Customer Credit Transfer) message.
pacs.008 is the most common ISO 20022 message in cross-border payments and is required for all SWIFT cross-border traffic from November 2025. Each message carries one or more credit transfer instructions between financial institutions.
Returns a structured ParsedPacs008 with the group header (message-level metadata) and a list of transactions (each instruction). On parse or validation failure, returns {"error": "..."} so the agent can explain rather than crashing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The pacs.008 XML message as a string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |