# SEPA Direct Debit XML (pain.008.001.08) Subscription Maker

**Use case:** 

Create EPC-compliant SEPA Direct Debit (pain.008.001.08) XML collection files for recurring RCUR/FRST SaaS billing and B2B mandates with Creditor Identifier checks.

## Input

```json
{
  "schema": "pain.008.001.08",
  "initiatingPartyName": "Acme Europe GmbH",
  "initiatingPartyIban": "DE89370400440532013000",
  "initiatingPartyBic": "COBADEFFXXX",
  "initiatingPartyCountry": "DE",
  "initiatingPartyCity": "Berlin",
  "creditorSchemeId": "DE98ZZZ09999999999",
  "sequenceType": "RCUR",
  "batchBooking": true,
  "transactions": [
    {
      "name": "EuroClient BV",
      "iban": "NL91ABNA0417164300",
      "amount": 99,
      "remittanceInfo": "SUB-2026-11",
      "mandateId": "MNDT-2026-01",
      "mandateDate": "2026-01-15",
      "country": "NL",
      "city": "Rotterdam"
    }
  ],
  "includeInlineXml": true
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "schema": {
    "label": "Schema",
    "format": "string"
  },
  "paymentMethod": {
    "label": "Payment method",
    "format": "string"
  },
  "transactionCount": {
    "label": "Transaction count",
    "format": "integer"
  },
  "controlSumEur": {
    "label": "Control sum eur",
    "format": "string"
  },
  "executionDate": {
    "label": "Execution date",
    "format": "string"
  },
  "xmlDownloadUrl": {
    "label": "Xml download url",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEPA XML Generator & IBAN Validator (pain.001 & pain.008) Actor is ready to run with the inputs already set for "SEPA Direct Debit XML (pain.008.001.08) Subscription Maker". [Sign up or log in](https://console.apify.com/create-task-from-example/pyCMcLMljbRYdE1sZ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "SEPA Direct Debit XML (pain.008.001.08) Subscription Maker" task

The SEPA XML Generator & IBAN Validator (pain.001 & pain.008) Actor will start running based on the input automatically. You can also change all the input fields, like ISO 20022 SEPA Standard, your company name, and more, to match your specific use case.

### 3. Receive the "SEPA Direct Debit XML (pain.008.001.08) Subscription Maker" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as status, schema, payment method, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "SEPA Direct Debit XML (pain.008.001.08) Subscription Maker" task via API](https://apify.com/finops_studio/sepa-xml-generator.md).

## FAQ

### Does this support RCUR and FRST mandate sequence types?

Yes. Pass sequenceType as RCUR, FRST, OOFF, or FNAL along with mandateId and mandateDate.

### Are structured debtor postal addresses included?

Yes. pain.008.001.08 outputs full EPC 2026 structured PstlAdr nodes.

## About this Actor

This example demonstrates how to use [SEPA XML Generator & IBAN Validator (pain.001 & pain.008)](https://apify.com/finops_studio/sepa-xml-generator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/finops_studio/sepa-xml-generator.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/finops_studio/sepa-xml-generator.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
