Change log
1 December 2008
- New API method – GET Invoices
- Gets all invoice records for a particular Xero customer
- Allows you to apply a filter to only get invoice records created or had payments applied since a timestamp
9th November 2008
- Xero API updated along with core Xero App for Credit Notes Release
- PUT Invoice:
- Returns contact ID for created or loaded contact
- Validates contact details:
- If contact id is provided that contact must exist
- If contact number is provided, without contact name, the contact must exist
- If contact name is provided the contact will be created if it doesn’t exist
- Created contact will populate default fields for all addresses and phone number types if not specified
- Contact history/notes are created to show how the contact was created within the main xero app
- Contacts can include SypeUserName and BankAccountDetails fields
- Invoice totals must now calculate to specified amounts
- POST Contact:
- Creates default blank fields for all address types and phone types if not specified
- If contact id is provided that contact must exist
- If contact number is provided, without contact name, the contact must exist
- If contact name is provided the contact will be created if it doesn’t exist
- Contacts can include SypeUserName and BankAccountDetails fields
- GET Invoice:
- Returns list of payments made against an invoice
- Returns fields FullyPaidOnDate, AmountDue, AmountCredited, AmountPaid
- Help Updated
- Removed minOccurs=”0? for Tracking element in POST /api.xro/1.0/invoice and POST /api.xro/1.0/invoices
- Updated Business Rules for Invoices
- Included for PUT /api.xro/1.0/invoice and PUT /api.xro/1.0/invoices
- Removed minOccurs=”0? for Addresses element in POST /api.xro/1.0/contact
- Removed minOccurs=”0? for Addresses element in POST /api.xro/1.0/invoice and POST /api.xro/1.0/invoices
6th August 2008
- Added updated After filter to GET /api.xro/1.0/contacts
- Added UpdatedDateUTC element to Contact