Build PHP Xero Class to Get and Post invoices

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

I'm looking for a PHP class that can talk to Xero to get and post invoices.

I don't want to use the calcinai version as it's too overkill for what I want.

To get the invoices, I want to do the following:

Give an invoice ID and get a detailed result

$result = $xero->get_invoice($invoice_id);

Give a date and get all invoices modified since then

$result = $xero->get_invoices('2019-01-01');

Post a draft invoice to Xero by sending the data in an array and returning the invoice ID

$data = array('client_id'=>'123','invoice_date'=>date('Y-m-d'),'invoice_total'=>'200');

$result = $xero->put_invoice($data);

PHP Xero

Project ID: #18632309

About the project

4 proposals Remote project Active 5 years ago

Awarded to:

HadiDar786

Hi..How are you today? I am an experienced php website developer, I will do this work in your website. can we discuss more in the chat room? can you please share website URL? Looking for the positive response Thanks & More

£18 GBP in 1 day
(54 Reviews)
5.4

4 freelancers are bidding on average £15 for this job

ludwig333

Hi. i am a full web developer with over 5 years on freelancer.com. I have read your description and have interests in your project. I have rich experiences in projects similar to yours. I am ready for your project More

£20 GBP in 1 day
(34 Reviews)
5.9
irisinformatics

Dear Hiring Manager, I had a look at your given job post and came to know that you are looking for a Website developer to build a unique website as per your requirement. I have 5 years of experience in especiall More

£10 GBP in 1 day
(22 Reviews)
4.2