Releases: firebed/aade-mydata
v5.3.0
v5.2.5
New myDATA release v1.0.10
- New Method for E3 Record Retrieval (by invoice or day).
- Fuel Invoice Transmission via ERP Channel (fuelInvoice = true).
- Removed Active Business Check for Wholesale.
- Dispatch Note Transmission (9.3) via ERP and Providers (FUEL format).
- Allow Past dispatchDate with transmissionFailure.
- Added new XSD Files (v1.0.10).
v5.2.4
Add method to handle empty receptionEmails in Response. Enhanced the Response model to handle cases where receptionEmails is empty by setting it to a new ReceptionEmails object. Added corresponding XML stub and test case to validate this change.
Fixed a potential issue in TypeArray's count method by providing a default empty array.
v5.2.2
v5.2.1
v5.2.0
- Fixed
$totalInformationalTaxAmount
variable name andsetTotalInformationalTaxAmount
method name for consistency. - Changed property visibilities to protected.
by @adamusgr Closes #24 abcfd74
Caution
Very low probability of a breaking change.
InvoiceSummary::setTotalInformationTaxAmount
renamed toInvoiceSummary::setTotalInformationalTaxAmount
- If trait
SummarizesInvoiceTaxes
is implemented for personal use cases, please refer to the new changes.
v5.1.4
- Optimize enum type checking by caching the results. Add test coverage for
enumCache
by @adamusgr Closes #24 d0cb356 - Throw InvalidResponseException if the response from myDATA API is empty by @adamusgr Closes #24 4226120
- Check for valid
expensesClassification
andincomeClassification
inset
method by @adamusgr Closes #24 dc9161b - Rounding total gross values inside the getter for consistency by @adamusgr Closes #24 0963c14
v5.1.0
v5.0.0
V5 Features
Squashing invoice rows
$invoice->squashInvoiceRows()
.
Ο Πάροχος ηλεκτρονικής τιμολόγησης και τα ERP διαβιβάζουν υποχρεωτικά μόνο τη σύνοψη
γραμμών και χαρακτηρισμών των παραστατικών και όχι αναλυτικά τις γραμμές. Δείτε Σύνοψη Γραμμών Παραστατικού για περισσότερες λεπτομέρειες.
Validating invoice xml
Ability to validate invoices against xsd files before sending them to myDATA.
$invoice->validate()
.
Previewing invoice xml
Ability to preview invoice xml before sending it to myDATA.
$invoice->toXml()
.
Model constructor
Ability to populate model attributes within constructor by using mixed array values as parameter.
use Firebed\AadeMyData\Models\InvoiceDetails;
use Firebed\AadeMyData\Enums\RecType;
use Firebed\AadeMyData\Enums\IncomeClassificationType;
use Firebed\AadeMyData\Enums\IncomeClassificationCategory;
new InvoiceDetails([
'lineNumber' => 1,
'netValue' => 5,
'recType' => RecType::TYPE_2,
'incomeClassification' => [
[
'classificationType' => IncomeClassificationType::E3_561_001,
'classificationCategory' => IncomeClassificationCategory::CATEGORY_1_1,
'amount' => '5'
]
]
])
Fluent setters
Model setters are now fluent (chainable).
Official Documentation
All documentation is available 👉 on our documentation site
Upgrade Guide
If you are upgrading from a previous version, please see upgrade guide.