Invoice distributions Account number and Credit/Debit entry mis-match

Hello,

We have used invoice post API https://api.sky.blackbaud.com/accountspayable/v1/invoices

Having problem is, when we create distributions, at that time the entry is differentiated for account number and Credit/Debit entry.

We need distributions entry in FENXT like below shown entry.

5828d16c2ee25df627eb7e25e595d8d1-huge-im

For that we have pass below attach JSON to create distributions in invoice endpoint.

JsonDataForCreateInvoice.txt

When invoice is been created using this JSON distribution entry, below is the snapshot of the entry been created.

8f95c6f30c9d37ba57455d89468793b7-huge-im
FENXT Entry

Correct us if we have committed some mistake.

Does anyone have any recommendations/suggestions?


We appreciate your time to answer my question. Have a great day!

Comments

  • Hi Nikunj, all entry amounts, whether debit or credit, are passed as positive. In other words, you would pass “100.00” and a “Credit” if it were a credit, or the same amount and a “Debit”. There's no “-100.00” - you should never pass that negative sign/dash. Hope this helps. Thanks!

  • Hello Eddie,

    Really appreciate your quick response on it. But earlier we are facing some error with specific scenario.

    Our some of the clients are ding entry as like below for total amount 1000

    c72fe8d685f5cedf22455f36b75e7911-origina

    So now if we are creating its request body as match issue.txt then it is giving error like as below

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

    So to avoid it we have introduced passing negative values. But after then as you can see its creating mismatch issue.

    One more thing we noticed that for some of the records its showing proper in UI but while i am trying to get schema as like entriesinterchange.txt in that credits and debits entries are interchanged.

    So not sure why that happens can you helps on it?

Categories