Errors

billing_details_required

400: Who is buying was not said.

Who is buying was not said. Answered with 400.

What it means

A paid order has to know whether the buyer is a consumer or a business: the two carry different mechanics, and a business is invoiced with its VAT ID. The body said neither, or said business and gave no VAT ID.

What to do

Send billing_kind as consumer or business, and a vat_id with business. The VAT ID is kept for the invoice and is not checked against VIES.

The body

{
  "type": "https://tigby.eu/problems/billing_details_required",
  "title": "Who is buying was not said",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "billing_details_required",
  "doc_url": "https://docs.tigby.eu/errors/billing_details_required",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.