Forum Discussion

FBU-Engineer's avatar
2 years ago

MYOB API Order Items and Negative Quantities

Hi,

 

Can you please tell me if the Business API for Sales Invoice item allows for negative quantities for line items.

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

 

I can see and confirm that it works using the UI

https://community.myob.com/t5/MYOB-Business-Essentials/Negative-entry-lines/td-p/791662

 

But cannot see in the API documentation if it will allow the same thing, and if so, what field do we use? (UnitCount or ShipQuantity or something else?)

 

thanks

  • Princess_R's avatar
    Princess_R
    MYOB Moderator

    Hi FBU-Engineer 

     

    Thank you for your post. I'd like to extend you a warm welcome to the Community Forum. I hope you find it a valuable resource.

     

    For any API error integration related queries we recommend raising a support request via the following link: https://apisupport.myob.com/hc/en-us/requests/new.


    Please feel free to post again I'm happy to assist.

     

    If my response has answered your enquiry please click "Accept as Solution" to assist other users find this information.

     

    Cheers,

    Princess