کد PHP برای اتصال به سامانه مودیان مالیاتی (نظام پایانه های فروشگاهی و سامانه مودیان).
PHP code for connecting to Moadian Maliati Organization (Store Terminals and Taxpayer System).
This software is provided as is without any warranty whatsoever, including accuracy and comprehensiveness. We are not associated with Moadian Maliati Organization and we have worked with the API just as simple clients so we are limited in the amount of support and help we can give regarding the functionality of the API. We have however personally used this package and have successfully submitted tens of thousands of invoices.
composer require snapp-market-pro/moadian
- Generate an RSA key pair according to specifications in moadian admin panel.
- Upload the public key of that key pair and get a username.
- Following get-tax-org-public-key get Tax Organization public key and key ID and store them somewhere.
- Construct the
Moadian
class with your private key, tax org public key, tax org key ID, your username and base url of tax org api if needed. - Login and set the received token on
Moadian
class. - Send Invoices or Inquire their status by reference numbers following send-invoices or inquire-by-reference-numbers.