Distribution issue with GST/PST rebates

We have a customer that is using GST/PST rebates in invoices. The integrating app is not calculating taxes.

When the invoice is sent the API is returning :

{"Error":"Failed to save invoice","Details":["The total percent distributed must equal 100%."],"ErrorPath":null}

After some troubleshooting we determined that this was caused by not having the distributions for the GST/PST rebates.

Is there a way to either create the invoice with an error or create the transaction type with a blank Tax type?

9bb2356ef37e95e94c61ef8eee218d0c-huge-im

Categories