FE Sky API - Create Invoice - Error- Distribution must equal 100% (GST enabled environment)

We're trying to create an invoice in FE. and for one of our client it is failing. The client has GST enabled on their FE company. (This is the difference that we can think of compared to other clients)

Create Invoice Request fail with the error: “The total percent distributed must equal 100%.

We know that it is failing because we've not specified GST portion in distribution split. We tried doing that as well but no luck.

Here is the error:

5b65e181ad0cd24df4a17739a9898f3b-huge-cr

I've attached the Create Invoice JSON request for your reference.

Create_Invoice.json

I've also attached the Get Invoice JSON response for a similar invoice (Created using FE NXT) with similar configuration. As you can see in the response that distribution split has an entry for amount $40.2 that is for GST part of the invoice.

Get_Invoice.json

So we are not sure how can we specify the same while creating the invoice ?

Tried to look around any documentation for Sky API but couldn't find any reference. Appreciate any pointers.

Thanks,

Himal

Comments

Categories