Skip to content

teamMay/Sepa-JS-XML

 
 

Repository files navigation

Sepa JS XML

This is a library to generate SEPA xml files.

Note that this library has not been tested 100%
If you find a problem, please report it

Documentation

You can find the Docs here

Example

import { createSepaXML } from "sepa-js-xml";

createSepaXML({
  id: "1",
  creationDate: new Date(2022, 5, 16, 0, 0),
  initiatorName: "Test",
  positions: [
    {
      name: "Test",
      iban: "",
      bic: "",
      requestedExecutionDate: new Date(2022, 5, 16, 0, 0),
      id: "123",
      payments: [
        {
          id: "Payment 1",
          amount: 123,
          iban: "",
          bic: "",
          name: "Test",
          remittanceInformation: "WOW 1",
        },
        {
          id: "Payment 2",
          amount: 123.83,
          iban: "",
          bic: "",
          name: "Test",
          remittanceInformation: "WOW 2",
        },
        {
          id: "Payment 3",
          amount: 69,
          iban: "",
          bic: "",
          name: "Test",
          remittanceInformation: "WOW 3",
        },
      ],
    },
  ],
});

License

MIT

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.0%
  • JavaScript 1.0%