-
Notifications
You must be signed in to change notification settings - Fork 0
Overpayments
Michael Newman edited this page Aug 7, 2017
·
3 revisions
See Overpayments at Xero Developer for more information.
see the home page for application setup.
$xero->overpayments()->get();
$overpaymentId = 'c293218a-7360-11e7-8cf7-a6006ad3dba0';
$invoiceId = '3fd27838-68f5-11e7-907b-a6006ad3dba0';
$appliedAmount = 100.00;
$xero->overpayments()->allocate($overpaymentId, $invoiceId, $appliedAmount);
$xero->overpayments()->modifiedAfter('2017-03-28T12:00:00')->get();
$xero->overpayments()->where('Status=="PAID"')->get();
//Ascending
$xero->overpayments()->order('Contact.Name')->get();
//Descending
$xero->overpayments()->order('Contact.Name', 'DESC')->get();
$xero->overpayments()->page(1)->get();
$xero->overpayments()->summarizeErrors()->allocate( ... );