{"id":19499711,"url":"https://github.com/apsl/sepakit","last_synced_at":"2025-10-30T22:07:43.727Z","repository":{"id":57640520,"uuid":"166074874","full_name":"APSL/sepakit","owner":"APSL","description":"Converts AEB 19.14 Direct Debit TXT file to SEPA XML (Core scheme)","archived":false,"fork":false,"pushed_at":"2023-02-23T01:27:55.000Z","size":6330,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-25T21:18:14.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/APSL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-16T16:41:56.000Z","updated_at":"2023-11-01T11:07:18.000Z","dependencies_parsed_at":"2024-06-20T15:35:24.780Z","dependency_job_id":"6cd312bc-025a-4038-977a-1d8b28715248","html_url":"https://github.com/APSL/sepakit","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"0839edb8f3104cd16bf78e369fb13aa89e5258df"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/APSL/sepakit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fsepakit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fsepakit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fsepakit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fsepakit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/APSL","download_url":"https://codeload.github.com/APSL/sepakit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fsepakit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281889906,"owners_count":26579018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T22:06:06.260Z","updated_at":"2025-10-30T22:07:43.695Z","avatar_url":"https://github.com/APSL.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sepakit \n\nConverts AEB 19.14 Direct Debit TXT file to SEPA XML (Core scheme)\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/apsl/sepakit)](https://goreportcard.com/report/github.com/apsl/sepakit)\n\nsepakit implements a small golang library and command line tool that can parse a **AEB 19-14** direct debit text file, and generate a SEPA  ISO-20022 XML **PAIN.008.001.02** (Core scheme) direct debit file.\n\n*Motivation*: European banks no longer admit Direct Debit files in plain text AEB 19.14 format, and some legacy programs do not provide means to transform its output to the new European SEPA norm.\n\nCommand sepakit takes filenames or stdin/stdout as arguments and converts from AEB 1419 to SEPA XML.\nFile [input-aeb1914.txt](input-aeb1914.txt) is provided as an example of input AEB 1914 text file.\n\n\nCan be used as a library:\n\n* package *aeb1914* implements the AEB-1914 parser. Accepts io.Reader as input parameter.\n* package *sepadebit* implements the SEPA XML writer. Outputs to an io.Writer.\n* package *convert* uses the former ones and do the whole parsing and XML generation. \n\n**note**: Eeach country and bank has its particularities on SEPA usage. This tool was coded for converting old aeb format to the SEPA XML used by CAIXABANK spanish banking entity, who requires iso-8859-1 format, and a hard restriction on its allowed characters. Not tested for other banks/countries, but should work with some modifcation.\nSome Creditor and payment optional parameters have been suited following CAIXABANK SEPA manuals. BIC is hardcoded (a BIC generator should be implemented). See [convert.go](convert/convert.go))\n\nSee also http://github.com/bercab/txp for a simple convert desktop utility (linux and windows) using this package.\n\n\n## Install\n\n```\ngo get github.com/apsl/sepakit\n```\n\n## Example command line usage\n\n```\nsepakit input-aeb1914.txt out.xml\n```\n\n\n\n## Exampe package aeb1914 usage \n\n```go\n    import \"github.com/apsl/sepakit/aeb1914\"\n\n    parser := NewParser()\n    r, err := os.Open(\"input-aeb1914.txt\")\n    doc, err := parser.Parse(r)\n    fmt.Printf(\"%s\\n\", doc.InitiatingParty.Name)\n    fmt.Printf(\"%f\\n\", doc.TotalAmount)\n\n```\n\n## Example sepadebit usage\n\n\n```go\n    import \"github.com/apsl/sepakit/sepadebit\"\n\n    docxml := sepadebit.NewDocument()\n    docxml.SetInitiatingParty(initiatingPartyName, creditorID)\n    //[...]\n    w := os.Stdout\n    err = docxml.WriteLatin1(w)\n```\n\nSee  DebitTxtToXML on convert package for a full sepadebit.Document generation.\n\n## Example full convert usage\n\n```go\n    import \"github.com/apsl/sepakit/convert\"\n\n    r := os.Stdin\n    w := os.Stdout\n    err = convert.Latin1DebitTxtToXML(r, w)\n```\n\n## Other SEPA ISO-20022 XML golang packages\n\nApart from Direct Debit transfers, there are other SEPA estandard documents not covered here.\n\nSee also [gosepa](https://github.com/Softinnov/gosepa) for a golang pain.002.001.03 schema (Customer Credit Transfer Initiation V03) file generator.\n\n## Author\n\nBernardo Cabezas - bcabezas at [apsl.net](https://www.apsl.net) - [bercab](https://github.com/bercab)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsl%2Fsepakit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapsl%2Fsepakit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsl%2Fsepakit/lists"}