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
          • Authorization 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
          • Record Type
          • Offline QR Code Implementation
          • Invoice/json
            POST
        • Purchase Orders for F&B
          • FnB Purchase Orders Documentation
          • Offline QR Code Implementation 8.6
          • Retrieve Open Order Documents (FnB)
            GET
        • Document Management
          • Retrieving a document
          • PDF Invoice as an Email Attachment
        • Alternative Currency Holding
          • ALTERNATIVE CURRENCY (AC)
        • Heating Allowance
          • Heating Allowance Requirements
        • Delivery Notes
          • Delivery Notes Documentation
          • /Invoice/cancelDeliveryNote
            POST
        • POS Integration
          • POS Integration
          • POS Offline QR Code Implementation
          • Offline POS Connection Procedure
          • /PosSignatures/{issuerTin}
            POST
          • /PosTransactions/signpos
            POST
        • IRIS Integration
          • IRIS Payments via POS
          • IRIS Payments via Provider
            • Provider IRIS Documentation
            • 1.1 With IRIS via Provider Payment Method
            • /IrisPayments/InitiatePayment
            • /IrisPayments/GetPaymentStatus
        • 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
        • Parallel PDF Viewing (pdfUrl)
        • 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
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
    • Schemas
      • AccountPackageResponse
      • ActivationRequest
      • Orientation
      • IrisErrorResponse
      • AdditionalDetails
      • ActivationResponse
      • PdfHtmlOptions
      • IrisPaymentStatusSuccessResponse
      • Address
      • AdditionalFieldDto
      • GetKeysRequest
      • PdfUrlOptions
      • IrisPaymentsRequest
      • AddressType
      • GetTemplateResponse
      • ProblemDetails
      • IrisQrSuccessResponse
      • AllowanceCharge
      • Address2
      • UploadImageRequest
      • AzureFunctionPayload
      • StringStringKeyValuePair
      • PayeeInfo
      • IrisQrSuccessResponseDto
      • AllowanceChargeTypeEnum
      • UploadImageResponse
      • PaymentStatus
      • AuthenticationRequest
      • AddressX
      • YpahesEnum
      • AuthenticationResponse
      • AlcType
      • B2GDetails
      • AlcX
      • B2GInvoiceStatusResponse
      • B2GLastStatusResponse
      • B2GReseedInvoiceRequest
      • Attribute
      • BadRequestResult
      • BadRequestResponse
      • Bank
      • BaseResponse
      • CardLine
      • CashLine
      • ChequeLine
      • Classification
      • CompanyAuthenticationError
      • ContractOrderDetails
      • NullableOfGeoLocation
      • CountryType
      • Bank2
      • CreditInvoiceDto
      • CustomField
      • CurrencyType
      • DeliveryDetails
      • DeliveryNoteCancellationRequest
      • Detail
      • Dienergia
      • DistributionDetails
      • Classification2
      • DocumentStatusEnum
      • EcrTokenType
      • CoreDoc
      • FieldType
      • EliseCoreDocument
      • FnBDocumentResponse
      • EliseCoreReceipt
      • CountryX
      • GeoLocation
      • EntityType
      • ExpensesClassification
      • ExpensesClassificationCategory
      • ExpensesClassificationType
      • DeliveryDetails2
      • IAPRSignPolicyEnum
      • PackingDeclaration
      • IaprError
      • IaprTaxType
      • IncomeClassification
      • PosPaymentsRequestDto
      • PaymentMethodMetaData
      • IncomeClassificationCategory
      • PosPaymentsResponseDto
      • IncomeClassificationType
      • PaymentUpdate
      • Int32StringKeyValuePair
      • Invoice
      • Entity
      • InvoiceHeader
      • Entity2
      • PosSignaturesRequestDto
      • InvoiceLine
      • InvoiceSummary
      • InvoiceType
      • InvoicesEnvelope
      • MiscellaneousData
      • HeaderX
      • NspCode
      • OtherDeliveryNoteHeaderType
      • IFormFile
      • Party
      • PartyType
      • PaymentDetails
      • PaymentMethod
      • PaymentMethodType
      • PaymentTerm
      • ProviderSignatureType
      • RecordTypeEnum
      • RefreshToken
      • RemittanceLine
      • Response
      • ResponseEnvelope
      • KeyValuePairOfintAndstring
      • ShipType
      • LineX
      • SignatureDurationTypeCodes
      • SignaturePlaygroundData
      • MorfotyposDetailsDto
      • SignaturePlaygroundResponse
      • MyDataClassification
      • SignatureResponse
      • MyDataConnectPayload
      • SignedData
      • MyDataDirection
      • SigningDataRequestModel
      • NullableOfAddressX
      • SigningECCKeyPair
      • NullableOfB2GDetailsX
      • SpecialInvoiceType
      • NullableOfCountryX
      • StringStringValueTuple
      • NullableOfCurrencyX
      • Summaries
      • NullableOfDeliveryDetail
      • Tax
      • NullableOfDeliveryDetail2
      • TransmissionFailureEnum
      • NullableOfDistributionDetailsX
      • TransmissionFailureType
      • NullableOfPaymentDetailsX
      • TransportDetail
      • NullableOfValueTupleOfstringAndstring
      • UpdatePaymentMethodRequest
      • UsedSignature
      • ValidateProviderSignatureResponse
      • Party2
      • Vat
      • Party3
      • VesselDetails
      • VoucherLine
      • PartyType2
      • XmlSerializerNamespaces
      • PaymentMethod2
      • PaymentMethodMd
      • PaymentTermX
      • ProviderInfo
      • ReceptionEmailsType
      • ReceptionProvider
      • RefreshTokenDto
      • SummaryX
      • SynopsiClassificationsDto
      • SynopsiDetailsDto
      • TaxTotalDto
      • UblAllowancesCharge
      • UblInvoiceDocumentReferenceType
      • VatX
  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 that the cancellation is formally registered and acknowledged by the tax authority system (myDATA).


Request Format

Headers

  • APIKey (string): A valid API key used to authenticate the request.

Body (JSON)

{
  "vat": "string",                    // VAT number of the entity requesting the cancellation
  "mark": "string",                   // MARK of the delivery note to be canceled
  "notificationEmails": ["string"]    // Email addresses to notify about the cancellation
}

Note: Email notifications regarding cancellations are optional.

Functionality

When a valid request is submitted, the system processes the cancellation of the specified delivery note.
The response includes confirmation along with detailed metadata related to both the original document and the cancellation action.

Validations for cancelDeliveryNote

Cancellation is not allowed if the document is not a Delivery Note (type 9.3).

Cancellation is not allowed if the document is already canceled.

Cancellation is not allowed if the document was not submitted via Provider.

Response Fields

FieldTypeDescription
markintegerThe MARK of the original delivery note that was canceled.
cancellationMarkintegerA new unique identifier representing the cancellation action.
authenticationCodestringA code confirming the authenticity and integrity of the cancellation.
myDataResponsestringThe raw response or message from the myDATA system.
statusenumIndicates the outcome of the cancellation request (e.g., "Success", "Failed")
seriesstringThe series code of the original delivery note.
numberstringThe document number of the original delivery note.
dateIssuedstring (date-time)The date when the original delivery note was issued.
erpQrCodestringA URL returned by myDATA that redirects to the official document entry on the IAPR website.
successbooleanBoolean flag indicating whether the cancellation was successful.
messagestringAdditional message describing the request outcome or error details.

Request

Header Params

Body Params application/json-patch+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-patch+json' \
--data-raw '{
    "vat": "string",
    "mark": 0,
    "notificationEmails": [
        "string"
    ]
}'

Responses

🟢200OK
application/json
OK
Body

Example
{
    "success": true,
    "message": "string",
    "statusCode": "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",
    "uniqueId": "string",
    "internalId": "string"
}
🟠400Bad Request
🟠401Unauthorized
🔴500Internal Server Error
Modified at 2025-12-11 13:43:15
Previous
Delivery Notes Documentation
Next
POS Integration
Built with