v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB
Invoice Imports

Fix one import row inline

Merges the sent canonical fields onto the row's mapped data, re-validates it, and returns the updated row plus the new batch tally. 409 once the import has left review (the worker is already creating invoices).

patch/v1/invoices/imports/{id}/rows/{row_id}

Path parameters

idstring required

Import batch ID

row_idstring required

Row ID

Request body

fieldsobject required

Example request

{
  "fields": {
    "customer_email": "juan@example.com"
  }
}

Response

OK

has_moreboolean

Example response

{
  "data": {
    "error_rows": 11,
    "ready_rows": 249,
    "row": {
      "error_reason": "customer_email is required",
      "id": "impr_abc123",
      "row_number": 2
    },
    "total_rows": 260
  }
}