Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/optimalbits/cfp
Nordea Corporate File Payments
https://github.com/optimalbits/cfp
Last synced: 6 days ago
JSON representation
Nordea Corporate File Payments
- Host: GitHub
- URL: https://github.com/optimalbits/cfp
- Owner: OptimalBits
- License: mit
- Created: 2014-04-28T12:40:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-05T10:16:50.000Z (over 10 years ago)
- Last Synced: 2024-11-03T14:04:13.393Z (9 days ago)
- Language: JavaScript
- Size: 176 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cfp
===Nordea Corporate File Payments.
This module can generate PO3 files suitable to automate payments using Nordea
file service.Install
=======```npm install cfp```
Usage
=====```
var cfp = require('cfp');var sender = {
id: "5568415292",
account: "123456789",
srcCurrency: "SEK",
dstCurrency: "SEK",
name: "My Example Company",
address: {
city: "Foo bar",
postcode: "12345",
street: String,
}
}var payments =
[
{
name?: String, // Recipient name
account: String, // Account number
type: String, // plusgiro, bankgiro or bankaccount
amount: String, // integer with two digits for cents.
bookkeepingDate?: Date,
ocr?: String // OCR or message like faktura number, etc.
message?: String // Message to the recipient.
clearingNumber?: String // 3300 default
address?: {
city: String,
postcode: String,
street: String,
}
note: String, // A note for the sender.
},
];var po3file = cfp(sender, payments)
```