forked from XeroAPI/XeroOAuth-PHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
39 lines (37 loc) · 1.13 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<html>
<head>
<title>Xero OAuth PHP</title>
</head>
<body>
<h1>Howdy</h1>
<ol>
<li>A sample script for Private API applications <a href="private.php">private.php</a>
</li>
<li>A sample script for Public API applications <a href="public.php">public.php</a>
</li>
<li>A sample script for Partner API applications <a href="partner.php">partner.php</a>
</li>
</ol>
</body
</html>
https://api.xero.com/api.xro/2.0/{Endpoint}/{Guid}/Attachments/{Filename
<Invoices>
<Invoice>
<Type>ACCREC</Type>
<Contact>
<Name>Samuep R Medina</Name>
</Contact>
<Date>2017-07-24T00:00:00</Date>
<DueDate>2017-07-31T00:00:00</DueDate>
<LineAmountTypes>Exclusive</LineAmountTypes>
<Url>https://go.xero.com/app/!5QzDn/dashboard<Url>
<LineItems>
<LineItem>
<Description>Monthly rental for property a<prepare_method/Description>
<Quantity>4.3400</Quantity>
<UnitAmount>395.00</UnitAmount>
<AccountCode>200</AccountCode>
</LineItem>
</LineItems>
</Invoice>
</Invoices>