Download the PHP package firebed/aade-mydata without Composer
On this page you can find all versions of the php package firebed/aade-mydata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package aade-mydata
ΑΑΔΕ - AADE myDATA
Support This Project
If you find this project useful, you can show your appreciation and support by giving it a ⭐. Your support motivates us to work harder and make even better and more useful tools!
Introduction
This package provides an expressive, fluent interface to ΑΑΔΕ myDATA invoicing REST API. It handles almost all the boilerplate code for sending, cancelling and requesting invoices.
Official Documentation
All documentation is available 👉 on our documentation site
Upgrade Guide
If you are upgrading from a previous version, please see upgrade guide.
v5 Features
Ability to "squash" invoice rows
Ο Πάροχος ηλεκτρονικής τιμολόγησης και τα ERP διαβιβάζουν υποχρεωτικά μόνο τη σύνοψη γραμμών και χαρακτηρισμών των παραστατικών και όχι αναλυτικά τις γραμμές.
$invoice->squashInvoiceRows()
See Invoice Row Squashing for more details.
Ability to validate invoices
$invoice->validate()
Ability to preview invoice xml
$invoice->toXml()
Classification combinations
See Classification Combinations for more details.
Classification combinations with labels
Classification combination validation
`
Added labels to all enum types
`
Enum helper methods
New enum types
- CountryCode
- CurrencyCode
Ability to populate model attributes within constructor
Fluent model setters (chainable)
$invoice->setIssuer(...)->setCounterpart(...)
New methods
- Invoice::setTaxesTotals
- Invoice::setOtherTransportDetails
add_
methods to top up an amount to
Implemented endpoints for electronic invoice providers (Πάροχοι Ηλεκτρονικής Τιμολόγησης).
Requirements
Version | PHP | myDATA | Support |
---|---|---|---|
^v5.x | 8.1 | v1.0.9 | Active |
^v4.x | 8.1 | v1.0.8 | Ended |
^v3.x | 8.1 | v1.0.7 | Ended |
^v2.x | 8.1 | v1.0.5 | Ended |
^v1.x | 8.0 | v1.0.3 | Ended |
- guzzlehttp/guzzle >= 7.0
Installation
To install through Composer, run the following command:
Documentation
Official myDATA webpage: AADE myDATA
Official myDATA documentation: AADE myDATA REST API v1.0.9
In order to use this package, you will need first a user id and a subscription key. You can get these credentials by signing up to mydata rest api.
Development: Sign up to mydata development api
Production: Sign up to mydata production api
Setup
Once you have the user id and the subscription key use the following code to set the environment and the credentials:
For development, you may need to disable client verification if you are not using https:
Available methods
Method | Availability |
---|---|
Validate VAT Number | :white_check_mark: |
SendInvoices | :white_check_mark: |
CancelInvoice | :white_check_mark: |
RequestDocs | :white_check_mark: |
RequestTransmittedDocs | :white_check_mark: |
RequestMyIncome | :white_check_mark: |
RequestMyExpenses | :white_check_mark: |
RequestVatInfo | :white_check_mark: |
SendPaymentsMethod | :white_check_mark: |
SendIncomeClassification | Soon |
SendExpensesClassification | Soon |
Testing
Contributing
Please see CONTRIBUTING for details.
Licence
AADE myDATA is licenced under the MIT License.
Copyright 2022 © Okan Giritli