Download the PHP package kenod/isdoc-exporter without Composer

On this page you can find all versions of the php package kenod/isdoc-exporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package isdoc-exporter

ISDOC Exporter

Packagist

PHP library for generating electronic invoices in the ISDOC format (version 6.0.2) -- the Czech national standard for electronic invoicing.

Interactive Demo | Packagist | Dokumentace v cestine

Features

Requirements

Installation

Quick Start

VAT Payer Invoice

Credit Note

Reverse Charge

Foreign Currency

Document Types

Type Enum Value Description
1 DocumentType::Invoice Standard invoice (default)
2 DocumentType::CreditNote Credit note
3 DocumentType::DebitNote Debit note
4 DocumentType::ProformaInvoice Proforma invoice
5 DocumentType::AdvanceInvoice Advance invoice
6 DocumentType::AdvanceCreditNote Advance credit note
7 DocumentType::SimplifiedInvoice Simplified invoice

API Reference

Invoice

Method Description
setNumber(string) Invoice number
setIssueDate(string) Issue date (YYYY-MM-DD)
setDueDate(string) Due date (YYYY-MM-DD)
setDeliveryDate(string) Delivery / tax point date
setDocumentType(DocumentType) Document type (default: Invoice)
setVatPayer(bool) Whether the supplier is a VAT payer
setReverseCharge(bool) Enable reverse charge
setReverseChargeType(string) Reverse charge code (1=gold, 2=emission, 4=construction, 5=waste)
setFooterText(string) Note / footer text
setOrderNumber(string) Order reference number
setOriginalDocumentNumber(string) Original document reference (for credit/debit notes)
setOriginalDocumentDate(string) Original document issue date (YYYY-MM-DD)
setRoundTotal(bool) Round the total to integer
setIssuingSystem(string) Name of the issuing system
setCurrencyCode(string) Local currency code (default: CZK)
setForeignCurrencyCode(string) Foreign currency code
setCurrencyRate(float) Exchange rate
setRefCurrencyRate(float) Reference exchange rate
addItem(name, qty, unit, price, priceWithVat, vatRate, note?) Add an invoice line item
export() Returns IsdocExporter instance

Invoice Properties

Property Type Description
$invoice->supplier Party Supplier party (fluent setters)
$invoice->customer Party Customer party (fluent setters)
$invoice->payment PaymentInfo Payment details (fluent setters)

Party

Method Description
setName(string) Company or person name
setStreet(string) Street with building number
setCity(string) City
setZip(string) Postal code
setCountry(string) Country name (auto-resolved to ISO code)
setCompanyId(string) Company registration number
setVatId(string) VAT identification number
setRegisterInfo(string) Commercial register info
setEmail(string) Email address
setPhone(string) Phone number
setWeb(string) Website URL

PaymentInfo

Method Description
setAccountNumber(string) Bank account number (e.g. 19-2000145399)
setBankCode(string) Bank code (e.g. 0800)
setVariableSymbol(string) Variable symbol
setConstantSymbol(string) Constant symbol
setSpecificSymbol(string) Specific symbol

IsdocExporter

Method Description
toString() Returns the ISDOC XML as a string
save(string $filepath) Saves the XML to a file
download(?string $filename) Sends the XML as an HTTP download

Development

License

MIT


All versions of isdoc-exporter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3 || ^8.4 || ^8.5
ext-dom Version *
ext-bcmath Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kenod/isdoc-exporter contains the following files

Loading the files please wait ...