eINVOICING
  1. Delivery Notes
eINVOICING
  • eInvoicing Service
    • About Us
    • What We Offer
    • FAQ
    • Changelog
    • On Boarding
    • eInvoicing Service API
      • API Authentication
        • API Key Authentication
          • /Authentication/login
        • Bearer Token Authentication
          • Authentication Login Bearer Token
          • Authentication Refresh
      • API Endpoints
        • API Validations
        • Sending a Document
          • Sending a Document
          • Mandatory Fields B2C, B2B
          • Mobile Notifications
          • IAPR SIGN POLICY METHODS
          • QR OF THE DOCUMENT
          • einvoice/json
          • Invoice/credit
        • Purchase Orders for F&B
          • FnB Purchase Orders Documentation
          • Offline QR Code Implementation
          • Retrieve Open Order Documents (FnB)
        • Document Management
          • Retrieving a document
          • PDF Invoice Attachment
        • Alternative Currency Holding
          • ALTERNATIVE CURRENCY (AC)
        • Delivery Notes
          • Delivery Notes Documentation
          • /Invoice/cancelDeliveryNote
            POST
        • POS Integration
          • POS Integration
          • Offline QR Code Implementation
          • /PosSignatures/{issuerTin}
          • /Receipt
          • /PosTransactions/signpos
        • Delayed POS Payment
          • Delayed POS Payment
        • B2G Documents
          • B2G Documents
          • B2G Mandatory Fields
          • B2G Status response
          • B2G Soft Reject
          • RESEED INVOICE
          • ΕΓΚΥΚΛΙΟΣ ΠΡΟΣ ΠΑΡΟΧΟΥΣ-ΠΡΟΜΗΘΕΥΤΕΣ ΥΠΗΡΕΣΙΩΝ ΥΓΕΙΑΣ ΓΙΑ ΤΗΝ ΗΛΕΚΤΡΟΝΙΚΗ ΤΙΜΟΛΟΓΗΣΗ
          • BT-10 BuyerReference
          • /B2GInvoice/ReSeedInvoice
          • /B2GInvoice/GetLastStatus
      • 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
      • 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
Invoice
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
apiKey
string 
optional
Body Params application/json
vat
string  | null 
optional
mark
integer <int64>
optional
notificationEmails
array[string] | null 
optional
Example
{
    "vat": "string",
    "mark": 0,
    "notificationEmails": [
        "string"
    ]
}

Request 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
success
boolean 
optional
message
string  | null 
optional
integritySignature
string  | null 
optional
signature
string  | null 
optional
uid
string  | null 
optional
mark
integer <int64> | null 
optional
cancellationMark
integer <int64> | null 
optional
authenticationCode
string  | null 
required
myDataResponse
string  | null 
optional
status
enum<string> 
required
Allowed values:
UNKNOWNSUBMITTEDPENDINGINVALIDSELFSIGNEDCANCELEDNOBLOBSUBMITTEDERP
series
string  | null 
required
number
string  | null 
required
dateIssued
string <date-time> | null 
required
domain
string  | null 
optional
url
string  | null 
optional
qrCodeString
string  | null 
optional
erpQrCode
string  | null 
optional
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