SaleEvent_CreditOnHold Error when creating an Invoice

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
Autolync
3 Posts
User

3Posts

0Kudos

0Solutions

SaleEvent_CreditOnHold Error when creating an Invoice

When using the AccountRight application itself (and having the flag set), attempting to create an Invoice against a Customer that has Stop Credit will provide a warning but will still allow creation of said Invoice.

 

When attempting to create an Invoice via the API in the same scenario, we instead get a SaleEvent_CreditOnHold Error and the creation is aborted.

 

Is there a flag or something we can post via the API to force creation, or ignore the setting or something?

 

We have in our UI (prior to sending the Invoice to MYOB) a message to confirm the Invoice should still be created to match what MYOB does too.

 

Thanks

1 REPLY 1
Hannah_B
MYOB Moderator
142 Posts
MYOB Moderator
Australia
MYOB Moderator

142Posts

33Kudos

25Solutions

Re: SaleEvent_CreditOnHold Error when creating an Invoice

Hi @Autolync 

 

Thanks for reaching out. We are unable to POST an invoice via the API if a credit hold has been placed on the card file. Even with the preference selected to warn and continue we would not be able POST this invoice. The only way to POST the invoice via the API would be to remove this credit hold on the card file. 


Thanks,
@Hannah_B


MYOB API Specialist


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post