-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full documentation to use this package. #44
Comments
You should post that question in the calcinai/xero-php Issues section. The above code you posted showx exactly how to create an invoice, and to add multiple line items, just do If you open the Invoice class in the calcinai package you will see all the properties and methods that can be used. |
@seanmccabe This is my code: This is the error.
|
I get the basic idea of using this package, but it would be great if there is a detailed documentation of this package as there are so many scopes and using each of them is very different. I Explored the calcinai/xero-php and Xero api explorer but understanding of CREATE scope is much complicated than that of GET scope.
I am trying to convert the idea given on calcinai/xero-php 's README page:
Suppose I have multiple LineItems that I wanted to add in a single invoice. I know the values required to set a LineItem is
{ "Description": "Acme Tires", "Quantity": 2, "UnitAmount": 20, "AccountCode": "200", "TaxType": "NONE", "LineAmount": 40 }
but there is no proper documentation to show how to set these values and there is no example exists.Can you please at least help me in creating an invoice and save it in xero crm?
The text was updated successfully, but these errors were encountered: