fastbill / fastbill-php-sdk Goto Github PK
View Code? Open in Web Editor NEWphp sdk for the api of https://www.fastbill.com/
Home Page: https://apidocs.fastbill.com/
License: MIT License
php sdk for the api of https://www.fastbill.com/
Home Page: https://apidocs.fastbill.com/
License: MIT License
It is not possible to create an ItemEntity with a vatPercent of 0.
Now the result gives this error:
Uncaught FastBillSdk\Common\MissingPropertyException: The property vatPercent is not valid!
According to https://apidocs.fastbill.com/fastbill/en/invoice.html#invoice.create the VAT_PERCENT is required.
But when I comment out the required property checks in the SDK, the API accepts the value of 0.
I think there are cases when 0 is a valid option (no tax is applied for transactions outside of EU for example)
What is your opinion?
Best regards,
Julien
Hello all,
I'm using the last release 0.0.5. and I get an error if i call this function $invoiceService->getInvoice(...)
The provided xml key SERVICE_PERIOD_START is not mapped at the moment in FastBillSdk\Invoice\InvoiceEntity
(ErrorException(code: 0): the provided xml key SERVICE_PERIOD_START is not mapped at the moment in FastBillSdk\Invoice\InvoiceEntity at ./fastbill-php-sdk/src/Invoice/InvoiceEntity.php:240)
Could you please fix it?
Thanks!
Hi,
i try to set the "payment Type" for an invoice to "Lastschrtift = 2". But it does not have any affects. I was expecting to see the SEPA Text on the invoice. Instead the regular text is still showing. Is there a way to set the text for the payment for an invoice?
I thought this would change the default Text on the invoice to SEPA text:
$invoiceEntity->paymentType = 2;
Best regards
Jan
The RecurringInvoiceEntity.php already exists, but the repo is missing the necessary files to create a recurring invoice, like for invoices or estimates.
Sample Code:
$invoiceSearchStruct = new InvoiceSearchStruct(); $invoiceSearchStruct->setStartDueDate(new \DateTime('2018-12-01'));
Results in Error:
In XmlService.php line 85:
Catchable Fatal Error: Object of class DateTime could not be converted to string
Using Carbon it works:
$invoiceSearchStruct = new InvoiceSearchStruct(); $invoiceSearchStruct->setStartDueDate(new Carbon('2018-12-01'));
Worked locally
I try to setup an invoice with some free products. It is not possible to add an item with the unitPrice set to 0.
Would it be possible to change this like it is done in this issue: #29
That would be so great.
Thanks a lot.
In InvoiceEntity.php line 237:
User Notice: the provided xml key COMMENTS is not mapped at the moment in FastBillSdk\Invoice\InvoiceEntit
START_DATE | Invoices from a specific date
END_DATE | Invoices until a specific date
is missing
Case:
This fails, if any html specialchars are present (e.g. & in the title), because they are decoded on retrieval into the DAO and NOT encoded during xml request generation.
yes, i will try to do a pull request .... :)
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.