easybill / zugferd-php Goto Github PK
View Code? Open in Web Editor NEWZUGFeRD PHP SDK (Factur-X, XRechnung)
Home Page: https://www.easybill.de
License: MIT License
ZUGFeRD PHP SDK (Factur-X, XRechnung)
Home Page: https://www.easybill.de
License: MIT License
[Wed Nov 25 22:50:36.855512 2020] [proxy_fcgi:error] [pid 26804:tid 140112159565568] [client 93.208.26.207:50344] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /srv/www/vhosts/domain/httpdocs/xrechnung/vendor/jms/serializer/src/XmlSerializationVisitor.php:99\nStack trace:\n#0 /srv/www/vhosts/domain/httpdocs/xrechnung/vendor/jms/serializer/src/XmlSerializationVisitor.php(90): JMS\Serializer\XmlSerializationVisitor->createDocument()\n#1 /srv/www/vhosts/domain/httpdocs/xrechnung/vendor/jms/serializer/src/Visitor/Factory/XmlSerializationVisitorFactory.php(47): JMS\Serializer\XmlSerializationVisitor->__construct()\n#2 /srv/www/vhosts/domain/httpdocs/xrechnung/vendor/jms/serializer/src/Serializer.php(146): JMS\Serializer\Visitor\Factory\XmlSerializationVisitorFactory->getVisitor()\n#3 /srv/www/vhosts/domain/httpdocs/xrechnung/vendor/jms/serializer/src/Serializer.php(158): JMS\Serializer\Serializer->getVisitor()\n#4 /srv/www/vhosts/domain/httpdocs/xrechnung/vendor/easybill/zugferd-php/src/zugferd211/Builder.php(20): JMS\Ser...'
Thanks for this package! Would it also be possible to add the AllowanceCharge (used in HeaderTradeSettlement)? I'll supply my implementation as a pull request.
First of all, thanks for this great package! I'm using it for a little test project right now. for this project i've to use the comfort version of zugferd - which requires a schemeID for the GlobalID-Node in the TradeParty-Node. Can you please add the possibility to add a value for the schemaID?
Would it also be possible to add the Testindicator-Node?
That would be just wonderful!
This project looks promising but is development still active?
Any chance to get an official release which is available on packagist.org?
test
In version 3.30.0 of jms/serializer
the dependency on doctrine/annotations
was dropped. (See schmittjoh/serializer#1471)
This causes the parsing of xml to fail because the serializer cannot read the annotations anymore if the project using this library does not explicitly require doctrine/annotations
.
This issue could be solved by either depending on doctrine/annotations
or by converting the annotations to php attributes.
Any critical constructs used from PHP 7.4 that makes this library unusable for PHP 7.2?
Hi,
in file
src/zugferd10/Model/Trade/Agreement.php
the function has an error:
Is:
public function getBuyerReference() { return $this->name; }
Should be:
public function getBuyerReference() { return $this->buyerReference; }
Hi,
when I try to build a document I get this error:
PHP Parse error: syntax error, unexpected 'ExchangedDocumentContext' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/app/data/vendor/easybill/zugferd-php/src/zugferd211/Model/CrossIndustryInvoice.php on line 26
I've tried php 7.2 to 8.1 but only got a progress on php 7.4. But there I get this error.
I've installed zugferd-php by composer and checked php modules. I'm using autoloader.
What am I doing wrong?
In the file "FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd" there is a "ExemptionReason" in "TradeTaxType", that is missing in zugferd211/Model/TradeTax.php.
Hi!
Thanks for your nice library! It seems like a field is missing for our use-case, correct me if I'm wrong.
System is German, GIZ Lieferantenporal.
Required field is BT-133, which seems to be called ReceivableSpecifiedTradeAccountingAccount
It should belong to this class, I think: https://github.com/easybill/zugferd-php/blob/master/src/zugferd211/Model/LineTradeSettlement.php
But there is says, name = "Booking reference". ๐ค
Another source says BT-133 = "Invoice line Buyer accounting reference"
Would you accept a PR?
There exists a new release of ZUGFeRD https://www.ferd-net.de/zugferd/zugferd-2.0/index.html which is not yet supported. Would be nice tu support it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.