Send booking feedback
Your accountant adjusts an account or VAT code on the proposal. Product-wise the ledger stays yours; Docpier records the correction. Architecturally this is a batch POST of complete booking resources keyed by bookingJobId, not by a Docmind documentId.
HTTP status is 200; each item has SUCCESS or ERROR.
/api/docbooks/v1/feedbackresourceId is the Docbooks bookingJobId (not a Docmind
documentId). resource is the complete corrected area, same
shape as the GET.
Authentication
AuthorizationstringheaderrequiredBearer token with scope docbooks.bookings.
Body
dataFeedbackItem[]bodyrequiredOne to 100 items. resourceId must be unique in the batch.
data[].resourceIdstringbodyrequiredbookingJobId from submit / GET.
data[].resourceobjectbodyrequiredComplete corrected booking payload.
data[].reasonsFieldReason[]bodyOptional per-field annotations. Each needs jsonPath and reasonCategory; add
reasonText (≤500) for context.
data[].commentsstring (≤500)bodyFree text for the whole item.
Reason categories
reasonCategory is one of MISSING, INCORRECT_VALUE, EXTRA, WRONG_FORMAT,
WRONG_CLASSIFICATION, INCOMPLETE, DUPLICATE, OCR_ERROR, OTHER. The list grows
per product; OTHER is the permanent escape hatch — pair it with reasonText.
jsonPath points into the corrected resource, e.g. postings[0].debit[0].number. The
corrected value is already in resource, so it is not repeated in the reason.
Schema: Docbooks API reference (Feedback). Docmind extraction feedback is a different POST — Send extraction feedback.