Delete Customer (DKUB)

Name convention

DKUB_<CompanyNumber>_<DateTime>_<SEQNO>.DAT

Names ComponentDescription
CompanyNumberThe company number in PayEx ledger system
DateTimeDate created in format YYMMDDHHMMSS
SEQNOUnbroken serial number sequence.

For example: DKUB_1234_20210226124421_1.DAT

Change log

VersionDateDescriptionCreated by
1.02021-03-05

Created document

Jakob Flodman


General information and explanation of records

The input file (DKUB) specifies which customers should be set to inactive and marked for removal in the billing system (D-record).

In order to change a customer status to inactive, it is required that there are no unbilled records for usage or non recurring fees for actual customer.

Recurring fees need to be completed with an end -date before deactivation is done. This applies for all recurring fees except recurring fees that are typed as "invoice fees". These fees are cleared automatically in case of inactivation.

In case of inactivation and closed fees all customer information will be considered as not existing. After a given number of days, the customer will be removed entirely from the system. The recommended number of days is 40 days.

Within this mentioned number of days the inactivated customer can be activated again. Please note that a cleared invoice fee needs to be added to the customer again.

Limitation

Max number of records for DKUB is 100 000 in each DKUB-file

Format description

Semicolons separate the file.

The format field is written in the way that numerical values are written as N where ”n” is the maximum number of characters or in certain cases number of characters that must exist. Alphanumerical characters are written as X. The decimal separator on amounts must be comma ”,”. Some records are not obligatory but if they exist can some fields in the record be obligatory. Mandatory records are described with the abbreviation ”Req.” in the type column.

Response files

Examples of an extract from a receipt and a error -file:

Receipt and Error -file example

Record description

H - Header record

Field nameField no.FormatTypeDescription
Record type1HReq.Header record
CompanyNumber2N(5)Req.Company number
CompanyName3X(40)Req.Company name
Creationdate4N(6)Req.YYMMDD – Same date as in filename
Creationtime5N(4)Req.HHMM – Time when the file was created

D - Delete record -Delete criteria

Field nameField no.FormatTypeDescription
Record type1DReq.Delete Criteria record
CustomerNo2XReq.Customer Number

R - Reactivate record – Reactive criteria

Field nameField no.FormatTypeDescription
Record type1RReq.Reactive Criteria record
CustomerNo2XReq.Customer NumberS - 

S - Trailer record

Field nameField no.FormatTypeDescription
Record type1SReq.Trailer record
Number of records2N(8)Req.Total number of records including header and trailer
Number of delete (D) records3N(8)Req.Total number of delete records
Number of reactivate (R) records4N(8)Req.Total number of reactivate records

Example

H;1234;TestCompany;180226;1244

D;123456

R;586595

S;4;1;1

 

Created by Anders Göthberg on 2021/04/21 13:33