public UpdateInvoiceResponse(Map<String, String> map, String prefix) {

		if( map.containsKey(prefix + "responseEnvelope" + ".timestamp") ) {
			String newPrefix = prefix + "responseEnvelope" + '.';
			this.responseEnvelope =  new ResponseEnvelope(map, newPrefix);
		}
		if( map.containsKey(prefix + "invoiceID") ) {
			this.invoiceID = map.get(prefix + "invoiceID");
		}
		if( map.containsKey(prefix + "invoiceNumber") ) {
			this.invoiceNumber = map.get(prefix + "invoiceNumber");
		}
		if( map.containsKey(prefix + "invoiceURL") ) {
			this.invoiceURL = map.get(prefix + "invoiceURL");
		}
		for(int i=0; i<10; i++) {
			if( map.containsKey(prefix + "error" + '(' + i + ')'+ ".errorId") ) {
				String newPrefix = prefix + "error" + '(' + i + ')' + '.';
				this.error.add(new ErrorData(map, newPrefix));
			}
		}
	}