Error "The customer or item tax class is not valid for this order." during OE Invoice Entry

SUGGESTED

Hi All,

I am creating a new customize program to import invoice in bulk from excel file while referring to a recorded macro on Sage. The import of Shipment number and its detail lines are fine. But when I try to insert to OEINVH, I got this error "The customer or item tax class is not valid for this order." and my insert function return "6666", and I am not sure what is it error about.

I tested the same data on the OE Invoice Entry, but did not encounter similar error. Can anyone help me please? Thank you

  • 0
    SUGGESTED

    this is either you are importing bad values ; like if a customer belongs to a tax group that only has taxable and  you are trying to set to non-taxable

    or you are setting the customer code to someone who does not own that shipment

    manually type in the transaction using ONLY the values you imported - you get better error messages and more light on the problem