Return Assistant
Please make sure to contact Gini customer support to enable this feature in our backend platform.
The Return Assistant feature lets your users view and edit payable items in an invoice. The total amount is updated to be the sum of only those items that the user opts to pay.
Please note that in GiniBankSDK
this feature is enabled by default by setting returnAssistantEnabled
property to true
.
To disable this feature, set returnAssistantEnabled
to false
in the GiniBankConfiguration
:
let configuration = GiniBankConfiguration.shared
configuration.returnAssistantEnabled = false
Gini Bank SDK shows to Return Assistant (Digital Invoice) that the invoice contains payable items and updates the extractions returned to your app according to the user’s changes. The amountToPay
extraction is updated to be the sum of the items the user decides to pay. It includes discounts and additional charges that might be present on the invoice. The extractions related to Return Assistant are stored in the lineItems
field of the AnalysisResult
.
We highly recommend having a QA session with Gini before releasing the Return Assistant feature to your customers.
For more information about the return assistant’s extractions, see the Gini Bank API’s documentation.
Find out how to customize this feature here.