Skip to content

SP01 Middleware (eSeal Solution) is the simplest way to connect your business to Egyptian Tax Authority (ETA)

Notifications You must be signed in to change notification settings

SPSphinx/Egyptian-eInvoicing-eSeal-Solution

Repository files navigation

Egyptian eInvoicing eSeal Solution Provider

eSeal Solution is a smart service to deliver the eInvoice from the taxpayers ERP business to the Egyptian Tax Authority (ETA) with high efficiency and short time, it will do all the calculation, serialization, signing of their invoices and send all to (ETA) system.

How to use

MiddlwareLibraryCore is the main library to communicate with the eSeal Solution

  • Initialize a new Invoice type by using object initializers.
var invoice = new Invoice ();
  • Recieves the invoice information from your ERP or your Database
invoice. DateTimeIssued = DateTime.UtcNow;
invoice.InternalId = "IID001";
invoice.ExtraDiscountAmount = 5;
  • Initialize a new generic HttpClientHelper type of type Invoice by using object initializers.
IHttpClientHelper<Invoice> helper = new HttpClientHelper<Invoice>();
  • Pass the URL of the eSeal Solution as the first Parameter and the initalized invoice to generic PostAsync method.
var url = "<Middleware Ulr>";
var result = default(ResponseModel);
helper.PostAsync<ResponseModel>(url, invoice).ContinueWith(t => result = t.Result);

About

SP01 Middleware (eSeal Solution) is the simplest way to connect your business to Egyptian Tax Authority (ETA)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages