Skip to content

Releases: firebed/aade-mydata

v5.3.0

10 Jan 22:50
Compare
Choose a tag to compare

Bug: Fix gross value calculation to ignore informational taxes.

v5.2.5

03 Jan 16:50
Compare
Choose a tag to compare

New myDATA release v1.0.10

  1. New Method for E3 Record Retrieval (by invoice or day).
  2. Fuel Invoice Transmission via ERP Channel (fuelInvoice = true).
  3. Removed Active Business Check for Wholesale.
  4. Dispatch Note Transmission (9.3) via ERP and Providers (FUEL format).
  5. Allow Past dispatchDate with transmissionFailure.
  6. Added new XSD Files (v1.0.10).

v5.2.4

19 Nov 15:04
Compare
Choose a tag to compare

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

20 Oct 09:54
a8fe1f7
Compare
Choose a tag to compare

What's Changed

  • Add comments, fix code on HasIterator and TypeClassification by @adamusgr in #26

Full Changelog: v5.2.1...v5.2.2

v5.2.1

16 Oct 08:47
Compare
Choose a tag to compare
  • Add coments for clarity by @adamusgr 9f079e9
  • Handle special characters in XML generation dbd467d
  • Added test coverage for xml special characters 470a939
  • Change InvoicesDocWriter document version to v1.0.9 d255c81
  • Better environment detection d790b26

v5.2.0

12 Oct 19:02
Compare
Choose a tag to compare
  • Fixed $totalInformationalTaxAmount variable name and setTotalInformationalTaxAmount 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 to InvoiceSummary::setTotalInformationalTaxAmount
  • If trait SummarizesInvoiceTaxes is implemented for personal use cases, please refer to the new changes.

v5.1.4

12 Oct 18:45
Compare
Choose a tag to compare
  • 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 and incomeClassification in set method by @adamusgr Closes #24 dc9161b
  • Rounding total gross values inside the getter for consistency by @adamusgr Closes #24 0963c14

v5.1.0

27 Aug 20:19
Compare
Choose a tag to compare

Set $groupedPerDay parameter default value to 'false' in RequestVatInfo::handle for backwards compatibility.

v5.0.0

21 Aug 06:48
Compare
Choose a tag to compare

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.

v4.0.7

07 Jun 21:08
Compare
Choose a tag to compare

Bug fixes:

  • setOtherMeasurementUnitQuantity
  • setOtherMeasurementUnitTitle