validate
Checks that the compound extractions contain valid line items.
In case it's not valid an appropriate DigitalInvoiceException subclass will be thrown.
Parameters
compound Extractions
a map of GiniCaptureCompoundExtractions
Throws
Digital Invoice Exception. Line Items Missing Exception
if line items are missing from the compound extractions
Digital Invoice Exception. Description Missing Exception
if description is missing from at least one line item
Digital Invoice Exception. Quantity Missing Exception
if quantity is missing from at least one line item
Digital Invoice Exception. Gross Price Missing Exception
if gross price is missing from at least one line item
Digital Invoice Exception. Mixed Currencies Exception
if line items contain more than one currency
Digital Invoice Exception. Quantity Parsing Exception
if a line item's quantity field could not be parsed
Digital Invoice Exception. Gross Price Parsing Exception
if a line item's gross price field could not be parsed