@Override
    public Booking createNewChild(TreeMap<String, String> properties){
        Account account = accounts.getBusinessObject(properties.get(Booking.ACCOUNT));
        String debitString = properties.get(Booking.DEBIT);
        String creditString = properties.get(Booking.CREDIT);
        boolean debit= true;
        BigDecimal amount = BigDecimal.ZERO;
        if(debitString!=null){
            debit = true;
            amount = new BigDecimal(debitString);
            if(creditString!=null){
                System.err.println("Movement cannot contain both 'debit' and 'credit' !!!");
            }
        } else if(creditString!=null){
            debit = false;
            amount = new BigDecimal(creditString);
        } else {
            System.err.println("No 'debit' or 'credit' tag found in Movement !!!");
        }
        int id = Integer.parseInt(properties.get(Booking.ID));
        return new Booking(account, amount, debit, id);
//        return new Booking(accounts, properties);
    }