eINVOICING
  1. Delayed POS Payment
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. Delayed POS Payment

Delayed POS Payment

The function of the "update payment" updates the payment details in an invoice that has already been submitted to I.A.P.R. and has a MArK. To make the "update payment" call, you must first make the POST:POS transaction (unlock the POS Payment).
Once we have the MArK of the invoice that we have submitted, as well as the providerSignature, posInput, and transactionId (from the POST:POS transaction), we proceed with an HTTP POST request to the following endpoint along with the parameters. This results in updating the POS payment details in AADE.
POST Domain/Invoice/updatePayment
Impact:
• https://einvoiceapiuat.impact.gr/Invoice/updatePayment (uat)
• https://einvoiceapi.impact.gr/Invoice/updatePayment (prod)
Softone:
• https://einvoice-demo.s1ecos.gr/Invoice/updatePayment (uat)
• https:einvoice.coreapi.s1ecos.gr/Invoice/updatePayment (prod)

Delayed POS Payment procedure diagram#

image.png

Steps Description#

1.
ERP
Get MARK from the existing debit invoice (Invoice has already been issued and submitted to IAPR at an earlier time within the same day with payment method different to “7” (see IAPR payment method table)
Calls IMPACT (/PosTransactions/signpos)
2.
IMPACT
Return response message (Response includes Provider Signature & input)
3.
ERP
Receives & store Provider Signature
Call NSP(See NSP’s documentation for further information)
4.
NSP / POS
POS communicates with NSP & Acquirer
Response message with information about succeed or failed transaction.
In case of Successful transaction, NSP provides transactionId.
In case of failure transaction, the flow starts from the beginning (1. ERP)
5.
ERP
Receives transactionId from NSP / POS (See NSP’s documentation for further information)
Already holds Provider Signature & input (2. IMPACT)
6.
ERP
Calls IMPACT’s API (/Invoice/updatePayment), including payment methods, transactionId, provider signature, input, MARK etc.
7.
IMPACT
Sends Payment Info to IAPR
Return Response with payment MARK
8.
ERP
Stores IMPACT's response

Parameters#

NameDescriptionTypeLocation
APIKeyAPI Access KeystringHeader
AuthorizationAuthorization RequeststringHeader (Optional)

Request JSON Body#

{ "mark": 0, 
"entityVatNumber": "string", 
"paymentMethods": [ 
{ "paymentMethodId": "PM_1", 
"paymentMethodType": "Bank Deposit", 
"paymentMethodTypeCode": 3, 
"amount": 16, 
"transactionId": "123ABCxyz456", 
"cardNumber": "**** *** **** *** 1234", 
"remarks": "Credited on customer XXX", 
"stan": "207535", 
"rrn": "30900820735", 
"ttc": "string", 
"aid": "A0000000041010", 
"auth": "207535", 
"applicationLabel": "Debit Mastercard", 
"contactless": true, 
"tipAmount": 1.8, 
"providersSignature":"o0094r3Yk3KTqASLkW3evlDsnIg/ZAdUUf6UC
XDtjqpI/dquzAT4WNX3yzS/GLciVNbT75H4pj8hLOV0EpHtzw==",
"ecrToken":"o0094r3Yk3KTqASLkW3evlDsnIg/ZAdUUf6UCXDtjqpI/d
quzAT4WNX3yzS/GLciVNbT75H4pj8hLOV0EpHtzw==", 
"posInput":"AD33729F4ED749928AAFA00B90EE4EA91551BAC1;;202
31204080313;1051;10000;2400;12400;POS_1", 
"terminalId": "string" 
} ] 

Data types of previous json model#

NameTypeRequirementDescription
markLongMandatoryUnique number of document (of previous issued credit/debit document)
EntityVatNumberStringMandatoryIssuer VAT number
paymentMethodTypeCodeNumberMandatoryPayment method type code based on IAPR Documentation
AmountNumberMandatoryPayable amount
TransactionIdStringMandatoryUnique payment ID (provided by NSP)
TipAmountNumberOptional
providersSignatureStringMandatoryUnique provider signature (provided by Impact)
posInputStringMandatoryUnique payment ID (provided by Impact)
terminalIdStringMandatoryCode of POS terminal

Responses#

CodeDescriptionMedia TypeDetails
200Successapplication/jsonMessage describing the status of the request

Example response JSON body (for 200 - Success):
{  
"success": true, 
 "message": "Payment MARK"  
}
Modified at 2025-09-16 11:58:23
Previous
/PosTransactions/signpos
Next
B2G Documents
Built with