checkIfDocumentContainsMultipleDocuments

Checks whether the invoice contains multiple documents by fetching the invoice and its extractions from the Gini Pay API and verifying whether it has multiple documents or not.

Return

true if the document contains multiple documents and false otherwise

Throws

if there was an error while retrieving the document or the extractions