API-eda0ed

Your order update sent invoiced and status values that contradict each other. Returned as HTTP 400.

Why you're seeing this

This fires only when a single update sends both the invoiced flag and an explicit status, and the two disagree. status has three values: Estimate, RepairOrder, and Invoice.

  • invoiced: true is only valid with status: "Invoice".
  • invoiced: false is valid with any status except "Invoice".

How to resolve

  • Send only one of the two. If you set invoiced without a status, the status is derived for you (true → Invoice, false → Estimate), or
  • Make them agree: pair invoiced: true with status: "Invoice", and invoiced: false with "Estimate" or "RepairOrder".