Cancelling claims
Invoice cancellation is supported at any time until the claim/invoice goes into the SETTLING status. A claim enters SETTLING status at 5pm on the day the invoice is adjudicated (ie approved) by Comcare.
SDK supports cancellation of claims and it can be done as follows:
import medipassTransactionSDK from '@medipass/partner-sdk';
...
await medipassTransactionSDK.transactions.cancelBusinessTransaction({ transactionId });