eINVOICING
  1. Delivery Notes
eINVOICING
  • eInvoicing Service
    • About Us
    • What We Offer
    • Changelog
    • On Boarding
    • FAQ (EN)
    • FAQ (GR)
    • eInvoicing Service API
      • API Authentication
        • API Key Authentication
          • /Authentication/login
            POST
        • Bearer Token Authentication
          • Authentication Login Bearer Token
            POST
          • Authentication Refresh
            POST
      • API Endpoints
        • API Validations
        • Sending a Document
          • Sending a Document
          • Mandatory and Optional (Best Practice) Fields Descriptions
          • Mobile Notifications
          • IAPR SIGN POLICY METHODS
          • QR OF THE DOCUMENT
          • Record Type
          • Invoice/json
            POST
          • /Invoice/credit
            POST
        • Purchase Orders for F&B
          • FnB Purchase Orders Documentation
          • Offline QR Code Implementation
          • Retrieve Open Order Documents (FnB)
            GET
        • Document Management
          • Retrieving a document
          • PDF Invoice as an Attachment
        • Alternative Currency Holding
          • ALTERNATIVE CURRENCY (AC)
        • Delivery Notes
          • Delivery Notes Documentation
          • /Invoice/cancelDeliveryNote
            POST
        • POS Integration
          • POS Integration
          • POS Offline QR Code Implementation
          • /PosSignatures/{issuerTin}
            POST
          • /Receipt
            POST
          • /PosTransactions/signpos
            POST
        • Delayed POS Payment
          • Delayed POS Payment
        • B2G Documents
          • B2G Documents
          • B2G Mandatory Fields
          • B2G Status response
          • B2G Soft Reject
          • RESEED INVOICE
          • BT-10 BuyerReference
          • B2G fields for ERP Configurator 3
          • ΕΓΚΥΚΛΙΟΣ ΠΡΟΣ ΠΑΡΟΧΟΥΣ-ΠΡΟΜΗΘΕΥΤΕΣ ΥΠΗΡΕΣΙΩΝ ΥΓΕΙΑΣ ΓΙΑ ΤΗΝ ΗΛΕΚΤΡΟΝΙΚΗ ΤΙΜΟΛΟΓΗΣΗ
          • /B2GInvoice/ReSeedInvoice
            POST
          • /B2GInvoice/GetLastStatus
            GET
      • JSON Structures & Payloads
        • EliseCoreDocument Structure
          • EliseCoreDocument Structure
        • Minimum & Conditional Fields
          • Minimum & Conditional Fields
        • Response Examples & Error Handling
          • Response Examples & Error Handling
      • Offline QR Code
        • Offline QR Code Instructions
      • Status MyData
        • MyData/status
          GET
      • Extra Functionalities
        • Archiver
          • Archiver Functionality
      • Terminology
        • Document Type Codes
        • VAT & TAX Codes
        • Country & Currency Codes
        • Measurement Unit Codes (IAPR & EN16931)
        • Self-Billing Remarks (IAPR)
        • Classification & Payment Method Codes (IAPR)
        • Special Invoice Category
      • VAT Validation
        • Greek VAT Check
        • EU VAT Check
      • Attachments
        • Attaching Media & PDFs
        • Invoice Document Upload (Invoice/File)
      • SOFTONE ERP Related Segments
        • SOFTONE Configurator
          • SOFTONE Configurator - B2G Mapping
    • eInvoicing Portal
      • Template Configuration (Default Template)
      • Single Sign-On (SSO)
        • Single Sign-on (SSO) Setup Instructions
        • Single Sign-On (SSO)
    • WIKI JSON Samples
      • 1.1 B2B
      • 1.3 B2B Sales Invoice Third Country
      • 5.2 B2B Credit Invoice Non-Associated
      • 2.1 B2B Service Rendered Invoice
      • 1.1 Debit B2G
      • 11.1 B2C Retail Sales Receipt
      • 11.4 Retail Sales Credit Note
  1. Delivery Notes

/Invoice/cancelDeliveryNote

IMPACT DEMO API
https://einvoiceapiuat.impact.gr
IMPACT DEMO API
https://einvoiceapiuat.impact.gr
POST
/Invoice/cancelDeliveryNote
The CancelDeliveryNote POST API call is used to cancel a previously issued delivery note by submitting its unique identifying details. This ensures the cancellation is formally registered and acknowledged by the relevant tax authority system (myDATA).
Request Format:
Headers:
APIKey (string): A valid API key used to authenticate the request.
Body (JSON):
vat (string): The VAT number of the entity requesting the cancellation.
mark (string): The unique identification number (MARK) of the delivery note to be canceled.
notificationEmails (array - string): The emails of the recipients that you want to notify about the cancellation of the delivery note.
Functionality:
When a valid request is submitted, the system processes the cancellation of the specified delivery note. The response provides confirmation along with detailed metadata related to the original document and the cancellation action.
Validations for cancelDeliveryNote:
Disallows cancellation if not a Delivery Note (type 9.3)
Disallows cancellation if already canceled
Disallows cancellation if not submitted via Provider
Response Fields:
mark: The MARK of the original delivery note that was canceled.
cancellationMark: A new unique identifier representing the cancellation action.
authenticationCode: A code confirming the authenticity and integrity of the cancellation.
myDataResponse: The raw response or message from the myDATA system.
status: Indicates the outcome of the cancellation request (e.g., "Success", "Failed").
series: The series code of the original delivery note.
number: The document number of the original delivery note.
dateIssued: The date when the original delivery note was issued.
erpQRCode: A URL returned by myDATA that redirects to the official document entry on the IAPR (Independent Authority for Public Revenue) website.
success: Boolean flag (true / false) indicating whether the cancellation was successful.

Request

Header Params

Body Params application/json

Example
{
    "vat": "string",
    "mark": 0,
    "notificationEmails": [
        "string"
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://einvoiceapiuat.impact.gr/Invoice/cancelDeliveryNote' \
--header 'apiKey;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "vat": "string",
    "mark": 0,
    "notificationEmails": [
        "string"
    ]
}'

Responses

🟢200OK
application/json
OK
Body

Example
{
    "success": true,
    "message": "string",
    "integritySignature": "string",
    "signature": "string",
    "uid": "string",
    "mark": 0,
    "cancellationMark": 0,
    "authenticationCode": "string",
    "myDataResponse": "string",
    "status": "UNKNOWN",
    "series": "string",
    "number": "string",
    "dateIssued": "2019-08-24T14:15:22Z",
    "domain": "string",
    "url": "string",
    "qrCodeString": "string",
    "erpQrCode": "string"
}
🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Modified at 2025-06-17 07:57:09
Previous
Delivery Notes Documentation
Next
POS Integration
Built with