# Get latest reporting status for a document Returns the most recent reporting status for the specified document ID. Endpoint: POST /rest/v1/documents/getLatestReportingStatus Version: v1.0.0 Security: ## Request fields (application/json): - `documentId` (string, required) The unique identifier of the document Example: "64a1b2c3d4e5f6789012345a" ## Response 200 fields (application/json): - `successful` (boolean) Whether the reporting was successful Example: true - `errorMessage` (string) Error message if reporting failed Example: "Invalid reporting format" - `errorCode` (string) Error code if reporting failed Example: "FORMAT_ERROR" - `shouldRetry` (boolean) Whether the reporting should be retried - `timestamp` (string) Timestamp when the reporting was attempted Example: "2024-01-15T10:30:00Z" - `reportingRequestId` (string) Unique identifier for the reporting attempt Example: "RPT-2024-001234" - `reportingResponseId` (string) Reference number from the reporting system Example: "REF-12345678-2024" - `fiscalizationType` (string) Type of fiscalization process Enum: "FISCALIZATION", "FISCALIZATION_REJECTION_REPORT", "FISCALIZATION_PAYMENT_REPORT", "FISCALIZATION_NOT_DELIVERED_REPORT" ## Response 401 fields ## Response 404 fields ## Response 500 fields