Return Assistant

 

Please make sure to contact Gini customer support to enable this feature in our platform.

The Return Assistant feature lets your users view and edit payable items in an invoice. The total amount is the sum of only those items which the user opts to pay. To enable this feature, set returnAssistantEnabled to true in the CaptureConfiguration object inside the Bank-SDK:

CaptureConfiguration(returnAssistantEnabled = true)

Gini Bank SDK automatically shows the Return Assistant if 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 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 compoundExtractions field of the CaptureResult.

For more information about the return assistant’s extractions, see the Gini Bank API’s documentation.