Fra version 3.3. anvendes følgende fil-format til retur/kvitteringsfiler for udbetalinger, som er initieret via CUBS udbetalingsmodul:
File format
- ISO-8859-1 encoded.
- Windows line endings (CRLF) .
- Column separator is “;” (semicolon).
- Numbers formatted using Danish locale, ie. 12345,67.
- Dates formatted using Danish locale (d-m-y), ie. 31-12-2021.
Fields
- End2end string unique reference generated by CUBS in the payout file
- Amount number amount that was paid out – must be negative (credit)
- DC string One character: “D” or “C”
- Paid_at date Date where the payout was valid (dk: Valør dato) in the bank
- Reference string Reference from return file
Validation
- Amount must exists and be negative
- DC must be “C”
- Dates must exists and be valid dates
- Reference must be string and can be empty
- End2end reference must match one in CUBS that are not already registered. The payout must not be registered in CUBS if it has already be registered