Forum Discussion

PowerProRTO's avatar
10 months ago

Can I create a Customer Payment without an invoice (using the MyOB API)?

Good morning,

 

We are using the API to push Cards, Sales and Payments from our software to MyOB. We use that same sequence and so far good.

However, one of our clients requires payments to be created before an Invoice exists. We are using the

/Sale/CustomerPayment endpoint of the API to create these and it seems the API requires the Invoices[] array to be polulated - the message is "At least one item in the collection is required. Invoices".

 

Is this a limitation of the API? Shoule we be using a different endpoint in these cases?

 

Thank you in advance,

Pedro Fonseca