API allows caller to get details of a single submission to check its processing status after initially submitting it and getting back unique submission identifier.
This API is available to submitter only as it might contain documents issued to multiple receivers.
API is REST based API that takes unique ID of the submission as URL parameter and returns details of the submission and summary information of the documents part of the submission.
Because submission might have quite some number of the documents as part of it, list of the documents returned by this API is paged.
This API accepts standard eInvoicing API header parameters for authenticated call.
|Unique ID of the document submission to retrieve.
|Optional: number of the page to retrieve. Typically this parameter value is derived from initial parameter less call when caller learns total amount of page of certain size
|Optional: number of the documents to retrieve per page. Page size cannot exceed system configured maximum page size for this API
API returns HTTP status code
The resulting structure is a single object containing the attributes as defined in the table:
|Unique document submission ID in eInvoicing
|Total count of documents in submission that were accepted for processing
|The date and time when the submission was received by eInvoicing.
|Overall status of the batch processing. Values:
|List of the retrieved batch documents in current page.
|Information on object count.
|Unique document ID in eInvoicing
|Unique long temporary Id that can be used to query document data anonymously
|LIJAF97HJJKH 8298KHADH0990 8570FDKK9S2LSIU HB377373
|Internal ID used in submission for the document
|Unique name of the document type that can be used in submission of the documents.
|‘i’ [invoice], ‘c’ [credit note], ‘d’ [debit note], ‘ii’ [import invoice], ‘ei’ [export invoice], ‘ec’ [export credit note], ‘ed’ [export debit note]
|Name of the document type version within the document type that can be used in document submission to identify document type version being submitted
|Registration number of issuer
|Issuer company name
|Optional: receiver registration number (can be national ID or foreigner ID).
|Optional: receiver name (can be company name or person’s name)
|The date and time when the document was issued.
|Total amount of the document in EGP.
|Status of the document - “submitted”, “valid”, “invalid”, “rejected”, “cancelled”
|Optional: Late submission request identifier. Used to identify which late request no. used when submitting the document.
|Total count of pages based on the supplied (or default) page size
|Total count of matching objects
Error situations are reported back by this API through the standard error response.
Additional specialized error messages can be returned:
|HTTP Status Code
|Returned when caller of the endpoint is trying to query a submission while caller profile has ‘B2B Deny ERP Document Retrieval’ tag assigned to it by ETA Admin.
Maximum page size allowed is defined by eInvoicing system administrators.
API is available to issuers that are querying their submissions. This also includes authorized intermediaries (service providers) who submitted the documents on behalf of the taxpayer they represent.