Spend Manager SDK
- Get Started
This guide will take you through the process of setting up the Spend Manager SDK, incorporating:
- Installation
- Authentication
- Start/Stop procedures
For a guide on setting up standalone capture to only capture images see Standalone Capture .
Before you begin
Before you can authenticate and run the SDK you will need to setup your authentication server.
To arrange access to our SDK repositories and authentication please contact your Account Manager.
Installation
Adding Sensibill SDK to a Project
The Sensibill SDK for iOS is distributed in two formats: a binary package format (XCFramework), and a universal archive (legacy format). Both formats can be installed using CocoaPods dependency manager (a preferred method), or by adding the dependency manually to your project.
- Installation options
Overview
The iOS SDK is provided in two formats:
- a Binary Framework format (extension
xcframework
) - a legacy Universal Framework format (extension
framework
)
and can be installed in one of two ways:
- Using Cocoapods - a quick and convenient way to download external dependencies for an iOS project.
- Via Direct Download (where the SDK is copied to the project)
Note that Binary Framework and Universal Framework are stored in different repositories.
- Capture Documents
Overview
The Spend Manager SDK allows the user to capture receipts and invoices.
Capabilities
The document capture module provides the following features:
- Automatic and manual Capture Modes.
- Ability to select an image from Photo gallery.
- Ability to turn the Flash on and off.
- Cropping a document image.
- Attach user’s device Location data to captured document.
- User feedback during the capture process.
Receipt Document only
- Long Receipt capturing mode.
Spend Manager only
- Analytics
Introduction
Allows an integrating application to track one or more data events emitted by the SDK. This is helpful if an integrating app requires the ability to be notified when receipt is deleted by the user while using Spend Manager.
Note that this feature is currently supported for API v1 only.
Receipt Management
Receipt Deletion Events
Subscribing to Receipt Deletion events will allow your listener to be notified whenever a user deletes a receipt.
- Bank Transaction Linking
Overview
We provide the ability to submit a bank account transaction identifier when capturing image for a paper document of type either
receipt
orinvoice
.This provides facilitates creating link between a particular document and a bank account transaction.
This is helpful if an integrating app requires the ability to display a document associated with a particular bank account transaction, or display all document associated with a particular bank account.
- Headless SDK
- Accessing Documents
Uploading Documents
Overview
In addition to Capture Flow , where the documents are automatically sumitted to the Sensibill API for processing, the SDK provides a set of features to allow the integrator to directly submit images to the Sensibill API for processing. This feature also provides the ability to monitor document processing progress and receive notifications when the processing status changes, or when the processing completes.
In this flow, uploading the documents includes the following steps:
- Android Lifecyle
Android lifecycle walkthrough
- iOS Debugging
Using the OSLog framework to help with debugging the iOS SDK