ahmedeid/e-invoice-eg

This is a dedicated tool for the Egyptian electronic invoice portal

v1.0.0 2022-10-08 20:58 UTC

This package is auto-updated.

Last update: 2024-11-09 01:34:13 UTC


README

Latest Version on Packagist Total Downloads License: MIT

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Installation

You can install the package via composer:

composer require ahmedeid/e-invoice-eg

To publish Config

php artisan vendor:publish --provider="Ahmedeid\EInvoiceEg\EInvoiceEgServiceProvider" --tag="config"

add to env file

API_BASE_URL=https://api.preprod.invoicing.eta.gov.eg
ID_SRV_BASE_URL=https://id.preprod.eta.gov.eg
CLIENT_ID=******************
CLIENT_SECRET=********************************

Usage

GetDocumentTypes

    $einvoice = new ETAEGCommon();
    $getDocumentTypes = $einvoice->getDocumentTypes();

output


Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email ahmed.m.eid.2001@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.