---
updatedAt: 2026-10-01T04:40:49.000Z
agentTools:
  projectIndex: https://developers.peakaccount.com/llms.txt
---

# Void Statement

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "PeakAPIs.Core",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.peakaccount.com",
      "description": "Production"
    },
    {
      "url": "https://peakengineapidev.azurewebsites.net",
      "description": "UAT"
    }
  ],
  "paths": {
    "/api/v1/Statement/void": {
      "post": {
        "tags": [
          "Statement"
        ],
        "summary": "Void Statement",
        "parameters": [
          {
            "name": "Time-Stamp",
            "in": "header",
            "description": "Timestamp (yyyyMMddHHmmss)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Time-Signature",
            "in": "header",
            "description": "HMAC-SHA1 encrypted Time-Stamp where Secret Key is connectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "User-Token",
            "in": "header",
            "description": "This token will be generated by PEAK.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Client-Token",
            "in": "header",
            "description": "Token used to identify between client and PEAK to call API.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "PeakStatements"
                ],
                "type": "object",
                "properties": {
                  "PeakStatements": {
                    "required": [
                      "statementId"
                    ],
                    "type": "object",
                    "properties": {
                      "statementId": {
                        "type": "string",
                        "description": "The Unique Identifier of the statement entry to void. Must be a valid UUID. An entry that has already been voided or reconciled cannot be voided"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "Void a statement entry": {
                  "value": {
                    "PeakStatements": {
                      "statementId": "8d3e6b1a-2f47-4c9e-b5a0-7e1d2c3b4a59"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeakWCFModelsAPI.Shared.APIResponseModel"
                },
                "examples": {
                  "Success": {
                    "value": {
                      "resCode": "200",
                      "resDesc": "Success"
                    }
                  },
                  "Statement not found": {
                    "value": {
                      "resCode": "626",
                      "resDesc": "Statement not found"
                    }
                  },
                  "Statement already reconciled": {
                    "value": {
                      "resCode": "627",
                      "resDesc": "Cannot perform this operation because the statement has already been reconciled."
                    }
                  },
                  "Statement already deleted": {
                    "value": {
                      "resCode": "628",
                      "resDesc": "Cannot perform this operation because the statement has been deleted."
                    }
                  },
                  "Internal server error": {
                    "value": {
                      "resCode": "500",
                      "resDesc": "PEAK internal server error. Please contact our support team for assistance. (Code:0, CorrelationId:3f6c2a8e-91b4-4d7a-b0e5-6c1d9f2a8b43)"
                    }
                  }
                }
              }
            }
          }
        },
        "x-readme": {
          "code-samples": [
            {
              "language": "json",
              "name": "Void a statement entry",
              "code": "{\n  \"PeakStatements\": {\n    \"statementId\": \"8d3e6b1a-2f47-4c9e-b5a0-7e1d2c3b4a59\"\n  }\n}",
              "correspondingExample": "Void a statement entry"
            }
          ],
          "samples-languages": [
            "json"
          ]
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PeakWCFModelsAPI.Shared.APIResponseModel": {
        "type": "object",
        "properties": {
          "resCode": {
            "type": "string"
          },
          "resDesc": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false
  }
}
```