# Reject Invoice Accepts a JSON payload to Set Invoice as Reject. Endpoint: POST /rest/v1/documents/reject Version: v1.0.0 Security: ## Request fields (application/json): - `documentId` (string, required) The unique identifier of the invoice document. Example: "6787a98e15306d37eed688a8" - `documentNumber` (string, required) The number of the document. Example: "12322" - `issueDate` (string, required) The date when the invoice was issued. Example: "2023-10-01T12:00:00Z" - `senderVatNumber` (string, required) The VAT number of the sender. Example: "HR12345678910" - `receiverVatNumber` (string, required) The VAT number of the receiver. Example: "HR09876543210" - `rejectionDate` (string, required) The date when the invoice was rejected. Example: "2023-10-02T12:00:00Z" - `rejectionReason` (string) The reason for the rejection of the invoice. Example: "Invoice not valid" - `rejectionReasonCode` (string, required) The code indicating the reason for rejection Can be N, U or O. Example: "N|U|O" - `rejectionReasonDescription` (string) The description of the reason for rejection. Example: "Invoice not valid" ## Response 201 fields (application/json): - `statusCode` (integer, required) Http status code of the response. Example: 200 - `resultMessage` (string, required) Result message. Example: "Company registered successfully." ## Response 400 fields (application/json): - `statusCode` (integer, required) Http status code of the response. Example: 200 - `resultMessage` (string, required) Result message. Example: "Company registered successfully." ## Response 401 fields (application/json): - `statusCode` (integer, required) Http status code of the response. Example: 200 - `resultMessage` (string, required) Result message. Example: "Company registered successfully." ## Response 500 fields (application/json): - `statusCode` (integer, required) Http status code of the response. Example: 200 - `resultMessage` (string, required) Result message. Example: "Company registered successfully."