Docpier IDP API
  1. api
Docpier IDP API
  • IDP API
  • Webhook
  • Endpoints
    • Agent Login (client credential flow)
      POST
    • Upload a document
      POST
    • Retrieve structured data
      GET
    • Provide feedback
      PATCH
  • Schemas
    • Schemas
      • api
        • ApiError
        • DocumentInProgressResponse
        • FeedbackRequest
        • DocumentResponse
      • document
        • element
          • Amount
          • Identification
          • PaymentMethod
          • TaxId
          • CreditCardInfo
        • Unknown
        • Core Document
        • Invoice
        • Reminder
        • CreditCard Statement
        • Insurance Policy
        • Policy Adjustment
      • workspace
        • Workspace
        • Membership
        • Document
        • FlowLog
        • Error
  1. api

FeedbackRequest

{
    "overallRating": 4,
    "comments": "The VAT amount was incorrectly extracted. It should be 7.70, not 7.07.",
    "fieldCorrections": {
        "documentType": "INVOICE",
        "externalDocumentId": "INV-2025-00123",
        "items": [
            {
                "correctedFields": {
                    "vatAmount": 7.7,
                    "description": "Corrected Service Description for Q2"
                }
            }
        ],
        "sender": {
            "correctedFields": {
                "emails": [
                    "corrected.info@docpier.com"
                ]
            }
        }
    }
}
Built with