The Genius Scan SDK can automatically extract bank account details from documents during the scanning process. This includes IBAN (International Bank Account Number) and BIC/SWIFT codes that are commonly found on bank statements, invoices, and financial documents.
To enable bank details extraction, configure the scan flow with the bank details structured data type. For optimal results, we recommend disabling multi-page mode and skipping the post-processing screen.
let configuration = GSKScanFlowConfiguration()
// Enable bank details extraction
configuration.structuredData = [.bankDetails]
configuration.multiPage = false
configuration.skipPostProcessingScreen = true
// Start scan flow
self.scanFlow = GSKScanFlow(configuration: configuration)
scanFlow.start(from: viewController, onSuccess: { result in
// Access bank details
if let bankDetails = result.scans.first?.structuredDataResult?.bankDetails {
print("IBAN: \(bankDetails.iban ?? "")")
print("BIC/SWIFT: \(bankDetails.bic ?? "")")
}
}, failure: { error in
// Handle error
})
The bank details extraction provides the following fields:
© 2025 The Grizzly Labs. All rights reserved.