NAV

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.

[2.10.18] - 2024.04.18

Removed

[2.10.17] - 2023.06.14

Added

[2.10.16] - 2023.01.25

Fixed

[2.10.15] - 2022.10.26

Added

[2.10.14] - 2022.09.28

Removed

Legacy request mode has been removed! If you have used any of the request mode constants (e.g. CALL_METHOD_) or the request mode handler function, update your code. The default request mode is CURL and you don't need to set it in the constructor now.

Added

Changed

[2.10.13] - 2022.07.13

Added

[2.10.12] - 2022.06.01

Added

    $agent = SzamlaAgentAPI::create('agentApiKey');
    ...
    $buyer = new Buyer('Kovacs Bt.', '2030', 'Érd', 'Tarnoki street 23.');
    ...
    $buyer->setGroupIdentifier('12345678-5-42');

[2.10.11] - 2022.03.02

Added

    $agent = SzamlaAgentAPI::create('agentApiKey');
    $agent->setCertificationPath('path');
    ...

[2.10.10] - 2022.02.23

Changed

Fixed

[2.10.9] - 2021.12.08

Added

    $agent = SzamlaAgentAPI::create('agentApiKey');
    $agent->getSetting()->setTaxNumber('taxNumber');
    ...

Deprecated

[2.10.8] - 2021.09.01

Added

[2.10.7] - 2021.08.25

Added

[2.10.6] - 2021.07.30

Removed

[2.10.5] - 2021.07.07

Added

    $agent = SzamlaAgentAPI::create('agentApiKey');
    ...
    $agent->setXmlFileSave(true);
    // if you don't want to save the request xml (opcional)
    $agent->setRequestXmlFileSave(false);
    // if you don't want to save the response xml (opcional)
    $agent->setResponseXmlFileSave(false);
    SzamlaAgentUtil::emptyXmlDir();
    SzamlaAgentUtil::emptyPdfDir();
    SzamlaAgentUtil::emptyLogDir();

[2.10.4] - 2021.06.30

Added

    $agent = SzamlaAgentAPI::create('agentApiKey');
    ...
    $invoice = new Invoice(Invoice::INVOICE_TYPE_E_INVOICE);
    $header = $invoice->getHeader();
    ...
    $header->setEuVat(true);

[2.10.3] - 2021.06.23

Added

    $agent = SzamlaAgentAPI::create('agentApiKey');  
    $agent->setRequestTimeout(60);

[2.10.2] - 2021.04.14

Changed

[2.10.1] - 2021.03.24

Changed

    $itemLedger = new InvoiceItemLedger('economic event type', 'vat economic event type', 123, 467);

[2.10.0] - 2021.03.10

Added

[2.9.10] - 2021.01.27

Added

    $invoice = new Invoice(Invoice::INVOICE_TYPE_E_INVOICE);  
    $invoice->getHeader()->setPreviewPdf(true);
    $agent = SzamlaAgentAPI::create('agentApiKey');  
    $agent->setPdfFileSave(false);

Changed

Deprecated

[2.9.9] - 2020.12.10

Added

Changed

[2.9.8] - 2020.11.24

Fixed

[2.9.7] - 2020.10.07

Added

[2.9.6] - 2020.09.16

Changed

Deprecated

    const TAXPAYER_JOINT_VENTURE = 5;
    const TAXPAYER_INDIVIDUAL_BUSINESS = 4;
    const TAXPAYER_PRIVATE_INDIVIDUAL_WITH_TAXNUMBER = 3;
    const TAXPAYER_OTHER_ORGANIZATION_WITH_TAXNUMBER = 2;
    const TAXPAYER_PRIVATE_INDIVIDUAL = -2;
    const TAXPAYER_OTHER_ORGANIZATION_WITHOUT_TAXNUMBER = -3;

[2.9.5] - 2020.07.15

Added

    const TAXPAYER_NON_EU_ENTERPRISE = 7;
    const TAXPAYER_EU_ENTERPRISE = 6;

[2.9.4] - 2020.07.08

Added

[2.9.3] - 2020.06.24

Added

    $data = SzamlaAgentAPI::create('agentApiKey')->getTaxPayer('12345678')->toJson();
    $data = SzamlaAgentAPI::create('agentApiKey')->getTaxPayer('12345678')->getDataObj();

Fixed

[2.9.2] - 2020.06.19

Changed

[2.9.1] - 2020.06.17

Added

[2.9.0] - 2020.06.10

Added

    $invoice->getHeader()->setInvoiceTemplate(Invoice::INVOICE_TEMPLATE_8CM);
    // successful response handing
    if (​ $result->isSuccess()​ ) {
        echo 'A számla sikeresen elkészült. Számlaszám: ' . $result->getDocumentNumber();
    }
    // if notification sending fails, we can handle it
    if (​ $result->hasInvoiceNotificationSendError()​ ) {
        var_dump($result->getDataObj());
    }

[2.8.4] - 2020.05.21

Added

Changed

[2.8.3] - 2020.05.06

Changed

Removed

[2.8.2] - 2019.12.26

Added

[2.8.1] - 2019.11.20

Fixed

[2.8.0] - 2019.10.24

Added

[2.7.0] - 2019.09.04

Added

[2.6.0] - 2019.08.28

Added

[2.5.0] - 2019.07.25

Added

[2.4.0] - 2019.07.25

Changed

Fixed

[2.3.0] - 2019.06.26

Changed

[2.2.0] - 2019.06.05

Added

[2.1.0] - 2019.05.21

Added

[2.0.0] - 2019.03.20

Added