throw new SwsNoInvoiceLinesForInvoiceException(invoice);
}
if(invoiceLines.size() >= SwsClient.MAX_NO_OF_INVOICE_LINES) {
// too many invoice lines
throw new SwsTooManyInvoiceLinesException(invoice);
}
final List<List<Element>> result = new LinkedList<List<Element>>();
for(final InvoiceLine currentLine : invoiceLines) {