Skip to content

French (XML in PDF) usage of european invoicing EN 16931 standard

Notifications You must be signed in to change notification settings

Tiime-Software/Factur-X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Factur-X PHP Library

Install with Composer

composer require tiime/factur-x

Usage

Generate Factur-X

Create a Factur-X compliant PDF document by merging provided PDF content with XML data and optionally adding a logo.

use Tiime\FacturX\Writer;

$writer = new Writer();
$facturxContent = $writer->generate(
    pdfContent: $pdfContent,
    xmlContent: $xml,
    addLogo: true
);

file_put_contents('generated_facturx.pdf', $facturxContent);

Extract XML from Factur-X

Extract XML data from a Factur-X compliance PDF document.

use Tiime\FacturX\Reader;

$extractedXml = (new Reader())->extractXML($writer);

About

French (XML in PDF) usage of european invoicing EN 16931 standard

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages