Download the PHP package netipar/szamlazzhu without Composer
On this page you can find all versions of the php package netipar/szamlazzhu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netipar/szamlazzhu
More information about netipar/szamlazzhu
Files in netipar/szamlazzhu
Package szamlazzhu
Short Description Modern Laravel package for the szamlazz.hu invoicing API
License MIT
Homepage https://github.com/NETipar/szamlazzhu
Informations about the package szamlazzhu
Szamlazz.hu for Laravel
Modern Laravel package for the szamlazz.hu invoicing API. Generate invoices, receipts, proforma invoices, delivery notes, query invoice data, download PDFs, and more.
Based on the official szamlazz.hu PHP SDK v2.12.5, rebuilt for Laravel with modern PHP 8.3+ features.
Quick Example
Requirements
- PHP 8.3+
- Laravel 12 or 13
- A szamlazz.hu account with API key
Installation
Publish the config file:
Or publish the config and the sessions migration together:
Add your API key to .env:
Usage
Obtaining the Client
Always obtain the Client via dependency injection or the service container:
Generate an Invoice
Simplified Invoice Image
The line items can be printed in a simplified form on the invoice image (simpleItems):
It works on invoices, proforma invoices, pre-payment and final invoices. On delivery notes and corrective invoices the package throws a ValidationException before sending the request.
Generate a Receipt
Generate a Proforma Invoice
Generate a Delivery Note
Reverse (Storno) an Invoice
Reverse (Storno) a Receipt
Record a Payment
Query Invoice Data
Download Invoice PDF
Query Receipt Data
Download Receipt PDF
Query Taxpayer Data
Delete a Proforma Invoice
Document Types
| Class | Purpose |
|---|---|
Invoice |
Standard invoice |
PrePaymentInvoice |
Pre-payment (advance) invoice |
FinalInvoice |
Final invoice |
CorrectiveInvoice |
Corrective invoice |
ReverseInvoice |
Reverse (storno) invoice |
Receipt |
Receipt |
ReverseReceipt |
Reverse (storno) receipt |
Proforma |
Proforma invoice |
DeliveryNote |
Delivery note |
All document classes live in NETipar\Szamlazzhu\Document\.
Enums
Always use enum cases instead of raw strings:
PaymentMethod-BankTransfer,Cash,CreditCard,Check,CashOnDelivery,PayPal,Szep,Otp,Compensation,Voucher,Barion,OtherCurrency-HUF,EUR,USD,GBP,CHF, and 30+ ISO currenciesLanguage-Hungarian,English,German,Italian,Romanian,Slovak,Croatian,French,Spanish,Czech,Polish,Bulgarian,Dutch,Russian,SlovenianVatRate-Percent27,Percent5,Percent0,TAM,AAM,EU,EUK,MAA, and moreLookupType-InvoiceNumber,OrderNumber,ExternalIdDocumentType-Invoice,ReverseInvoice,CorrectiveInvoice,PrepaymentInvoice,FinalInvoice,Proforma,DeliveryNote,Receipt,ReverseReceipt
Response Handling
Every Client method returns an ApiResponse:
Error Handling
Entity Properties
All entity, header, item, and document properties are public and can be read or written directly. Fluent setters are also available for chaining:
Deprecations
InvoiceHeader::setProfitVat()(arresAfa) andInvoiceItem::setPriceGapVatBase()(arresAfaAlap) are deprecated since SDK 2.12.5: the official szamlazz.hu SDK removes them after 2027-02-15. Until then they still work; on PHP 8.4+ calling them triggers a deprecation notice.
Configuration
Key .env variables:
The session driver supports cache (default), file, database, and null (for testing).
For the database session driver, publish and run the migration first:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please review our contributing guide before opening a pull request.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of szamlazzhu with dependencies
ext-dom Version *
ext-libxml Version *
ext-simplexml Version *
guzzlehttp/guzzle Version ^7.5
illuminate/http Version ^12.0||^13.0
illuminate/support Version ^12.0||^13.0