Forum Discussion

kobecreation's avatar
4 years ago

API Invoice Backorder

Hi team,

 

Is there any way I can POST invoice with an item which does not have sufficient item stock as a backorder?

 

I have looked at the MYOB AR API documentation, but there is no Backorder Quantity attibutes.

https://developer.myob.com/api/accountright/v2/sale/invoice/invoice_item/

 

I look forward to hearing from you,

 

Regards,

 

MyIntegrator

Ryota

  • Hannah_B's avatar
    Hannah_B
    MYOB Moderator

    Hi kobecreation,

     

    Thanks for reaching out, With AccountRight, when processing an item invoice in-product there is a backorder option that will create a purchase order for you if there is not enough stock.
    Through the API, this is not possible, you would have to manually POST the request to create the order using the /Purchase/Order endpoint. Then convert the order to a Bill to receive the items. From there then you would be able to run a POST for an invoice transaction.