void buildRecordType000()
        {
            var lsField = new LSFieldsOUT();

            lineNumber++;
            lsField.LineNumber = lineNumber;

            lsField.RecordType = DirectDebitPaymentHelper.RECORDTYPE_000;

            lsField.Filler01 = DirectDebitPaymentHelper.processStringNum(5);
            lsField.Filler02 = DirectDebitPaymentHelper.processStringNum(15);
            lsField.Filler03 = DirectDebitPaymentHelper.processStringAlpha(7);

            lsField.DataSupplierNo   = DirectDebitPaymentHelper.processStringAlpha(6, comp.CompanyId.ToString());
            lsField.DataDeliveryType = DirectDebitPaymentHelper.processStringNum(2, DirectDebitPaymentHelper.DELIVERYTYPE_40);

            lsField.Year  = DateTime.Today.ToString("yy");
            lsField.Month = DateTime.Today.ToString("MM");
            lsField.Date  = DateTime.Today.ToString("dd");

            lsField.Filler04 = DirectDebitPaymentHelper.processStringAlpha(1);
            lsField.Filler05 = DirectDebitPaymentHelper.processStringAlpha(4, DirectDebitPaymentHelper.DELIVERY_TEST);

            lsField.Filler06 = DirectDebitPaymentHelper.processStringAlpha(1);
            lsField.Filler07 = DirectDebitPaymentHelper.processStringAlpha(3);
            lsField.Filler08 = DirectDebitPaymentHelper.processStringAlpha(9);

            lsField.DataSupplierCVR      = DirectDebitPaymentHelper.processStringNum(8, DirectDebitPaymentHelper.UNICONTA_CVR);
            lsField.DataSupplierCVRCheck = DirectDebitPaymentHelper.processStringAlpha(1);

            lsField.Filler09 = DirectDebitPaymentHelper.processStringAlpha(9);

            listOfTrans.Add(lsField);
        }
        void buildRecordType540()
        {
            var lsField = new LSFieldsOUT();

            lineNumber++;
            lsField.LineNumber = lineNumber;

            lsField.RecordType = DirectDebitPaymentHelper.RECORDTYPE_540;

            lsField.CreditorNo = DirectDebitPaymentHelper.processStringNum(5, DirectDebitPaymentHelper.CREDITORNUMBER);
            lsField.CustomerNo = DirectDebitPaymentHelper.processStringAlpha(15, debtorAccount);

            lsField.Filler01 = DirectDebitPaymentHelper.processStringNum(33);
            lsField.Filler02 = DirectDebitPaymentHelper.processStringAlpha(24);

            listOfTrans.Add(lsField);
        }
        void buildRecordType585()
        {
            var lsField = new LSFieldsOUT();

            lineNumber++;
            lsField.LineNumber = lineNumber;

            lsField.RecordType = DirectDebitPaymentHelper.RECORDTYPE_585;

            lsField.CreditorNo = DirectDebitPaymentHelper.processStringNum(5, DirectDebitPaymentHelper.CREDITORNUMBER);
            lsField.CustomerNo = DirectDebitPaymentHelper.processStringAlpha(15, debtorAccount); //TODO:Spørg NETS om de kan håndtere Kontonr. "000015" dvs. foranstillede Nul

            lsField.Filler01  = DirectDebitPaymentHelper.processStringNum(22);
            lsField.AmountStr = DirectDebitPaymentHelper.processStringNum(11, paymentAmountStr);
            lsField.Filler02  = DirectDebitPaymentHelper.processStringAlpha(24);

            listOfTrans.Add(lsField);
        }
        void buildRecordType595()
        {
            var lsField = new LSFieldsOUT();

            lineNumber++;
            lsField.LineNumber = lineNumber;

            lsField.RecordType = DirectDebitPaymentHelper.RECORDTYPE_595;

            lsField.CreditorNo = DirectDebitPaymentHelper.processStringNum(5, DirectDebitPaymentHelper.CREDITORNUMBER);
            lsField.CustomerNo = DirectDebitPaymentHelper.processStringAlpha(15, debtorAccount);

            lsField.NewCreditorNo = DirectDebitPaymentHelper.processStringNum(5, DirectDebitPaymentHelper.CREDITORNUMBER);
            lsField.NewCustomerNo = DirectDebitPaymentHelper.processStringNum(15, "88881"); //TODO:TEST

            lsField.Filler01 = DirectDebitPaymentHelper.processStringAlpha(37);

            listOfTrans.Add(lsField);
        }
        void buildRecordType510()
        {
            var lsField = new LSFieldsOUT();

            lineNumber++;
            lsField.LineNumber = lineNumber;

            lsField.RecordType = DirectDebitPaymentHelper.RECORDTYPE_510;

            lsField.CreditorNo = DirectDebitPaymentHelper.processStringNum(5, DirectDebitPaymentHelper.CREDITORNUMBER);
            lsField.CustomerNo = DirectDebitPaymentHelper.processStringAlpha(15, debtorAccount);

            lsField.DebtorRegNum    = DirectDebitPaymentHelper.processStringNum(4, debtorRegNum);
            lsField.DebtorAccNumber = DirectDebitPaymentHelper.processStringNum(10, debtorBankAccount);
            lsField.DebtorCVR       = DirectDebitPaymentHelper.processStringNum(8, debtorCvrNumber);

            lsField.Filler01 = DirectDebitPaymentHelper.processStringNum(11);
            lsField.Filler02 = DirectDebitPaymentHelper.processStringAlpha(24);

            listOfTrans.Add(lsField);
        }
        void buildRecordType001()
        {
            var lsField = new LSFieldsOUT();

            lineNumber++;
            lsField.LineNumber = lineNumber;

            lsField.RecordType = DirectDebitPaymentHelper.RECORDTYPE_001;

            lsField.CreditorNo = DirectDebitPaymentHelper.processStringNum(5, DirectDebitPaymentHelper.CREDITORNUMBER);
            lsField.Filler01   = DirectDebitPaymentHelper.processStringNum(15);

            lsField.Year  = paymentDate.ToString("yy");
            lsField.Month = paymentDate.ToString("MM");
            lsField.Date  = paymentDate.ToString("dd");

            lsField.Filler02 = DirectDebitPaymentHelper.processStringNum(14);
            lsField.Filler03 = DirectDebitPaymentHelper.processStringAlpha(37);

            lsField.CustomerNo = DirectDebitPaymentHelper.processStringAlpha(15, debtorAccount);

            listOfTrans.Add(lsField);
        }
        void buildRecordType999()
        {
            var lsField = new LSFieldsOUT();

            lineNumber++;
            lsField.LineNumber = lineNumber;

            var amountCollectionTotalStr   = NumberConvert.ToLong(Math.Abs(amountCollectionTotal) * 100d).ToString();
            var amountDisbursementTotalStr = NumberConvert.ToLong(Math.Abs(amountDisbursementTotal) * 100d).ToString();

            lsField.RecordType = DirectDebitPaymentHelper.RECORDTYPE_999;

            lsField.CreditorNo = DirectDebitPaymentHelper.processStringNum(5, DirectDebitPaymentHelper.CREDITORNUMBER);

            lsField.Filler01 = DirectDebitPaymentHelper.processStringAlpha(15);

            lsField.NumberOfDebtorsStr    = DirectDebitPaymentHelper.processStringNum(7, countDebtors.ToString());
            lsField.AmountCollectionStr   = DirectDebitPaymentHelper.processStringNum(13, amountCollectionTotalStr);
            lsField.AmountDisbursementStr = DirectDebitPaymentHelper.processStringNum(13, amountDisbursementTotalStr);

            lsField.Filler02 = DirectDebitPaymentHelper.processStringAlpha(24);

            listOfTrans.Add(lsField);
        }