node-red-contrib-sepa

A Node-RED-node that generates SEPA payment files.

At the moment, only the SEPA Credit Transfer node is working, Direct Debit node is experimental!

Input

The input accepts a message object with following attributes (values of the object are dummy values):

{
  "topic":  "",
  "initname": "your name",
  "initiban": "DE00123456781234567890",
  "initbic": "MARKDEFFXXX",
  "messagetype": "pain.001.001.03",
  "msgid": "your message id",
  "batchbooking": true,
  "executiondate": "2021-11-11",
  "tx": [
    {
      "name": "your customers name",
      "iban": "your customers iban",
      "amount": 1.23,
      "purpose": "payment description, e.g. invoice-nr",
      "id": "end-to-end-id, customer reference"
    }, 
    {
      ...
    }
  ],
}

If tx.idis empty, an ISO-timestamp is used instead.

Node attributes

An item in the message object with the same name overwrites the values given in the node attributes!

Edit dialog

Output

msg.payload contains a xml-string representing the SEPA-payment file. Use the write file-node to save as a xml-file.