Forum Discussion
Hi Doc,
You should be able to post the order UID to the /Sale/Invoice/{UID} end point. That will create your invoice/bill. The Order isn't deleted in MYOB.
This will create an invoice for the sales order.
AS for payments these can be created using /Sale/CustomerPayment
We use these two endpoints in a similar way to you.
Cheers
Jeremy
- The_Doc3 days agoUltimate Cover User
Thanks Jeremy
My point was it seems you have to 'resend' the Order to the /Sale/Invoice/ endpoint - i.e. there is no way to magically trip the order to a sale as you can in the front end with the SALE button.
No matter - have already started building ORDER saving in the integrator so I don't have to rebuild the Invoice.
DELETING the ORDER is easy - works for my B Order system where I have to delete the existing B Order and regenerate if B Order can't be filled in-full and post a part invoice.
As for payments - if a customer pays for an order - the staff apply a payment to that ORDER - locking it - and locking the payment to that ORDER - so posting an Invoice for this ORDER then creates an orphan payment - a very messy affair in MYOB to unscramble.
Ask, will be to stop admin staff doing this - however, instead of customer payment ( which is only a guest - not really a customer - my intention is to just add a sales invoice line - called 'payment' to the invoice which credits the deposit acct in liability or assets.
The Doc
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.