|
1512 | 1512 | "format" : "uuid", |
1513 | 1513 | "readOnly" : true |
1514 | 1514 | }, |
| 1515 | + "FromIsReconciled" : { |
| 1516 | + "type" : "boolean", |
| 1517 | + "description" : "The Bank Transaction boolean to show if it is reconciled for the source account", |
| 1518 | + "example" : false, |
| 1519 | + "default" : false |
| 1520 | + }, |
| 1521 | + "ToIsReconciled" : { |
| 1522 | + "type" : "boolean", |
| 1523 | + "description" : "The Bank Transaction boolean to show if it is reconciled for the destination account", |
| 1524 | + "example" : false, |
| 1525 | + "default" : false |
| 1526 | + }, |
| 1527 | + "Reference" : { |
| 1528 | + "type" : "string", |
| 1529 | + "description" : "Reference for the transactions." |
| 1530 | + }, |
1515 | 1531 | "HasAttachments" : { |
1516 | 1532 | "type" : "boolean", |
1517 | 1533 | "description" : "Boolean to indicate if a Bank Transfer has an attachment", |
|
1828 | 1844 | "x-is-msdate" : true |
1829 | 1845 | }, |
1830 | 1846 | "Amount" : { |
1831 | | - "type" : "integer", |
1832 | | - "description" : "LineItem Quantity" |
| 1847 | + "type" : "number", |
| 1848 | + "description" : "LineItem Quantity", |
| 1849 | + "format" : "double", |
| 1850 | + "x-is-money" : true |
1833 | 1851 | }, |
1834 | 1852 | "UnitAmount" : { |
1835 | | - "type" : "integer", |
1836 | | - "description" : "Budgeted amount" |
| 1853 | + "type" : "number", |
| 1854 | + "description" : "Budgeted amount", |
| 1855 | + "format" : "double", |
| 1856 | + "x-is-money" : true |
1837 | 1857 | }, |
1838 | 1858 | "Notes" : { |
1839 | 1859 | "maxLength" : 255, |
|
5901 | 5921 | <option data-url="https://xeroapi.github.io/xero-php-oauth2/docs/v2/payroll_au/index.html" value="PayrollAu">Payroll AU</option> |
5902 | 5922 | <option data-url="https://xeroapi.github.io/xero-php-oauth2/docs/v2/payroll_uk/index.html" value="PayrollUk">Payroll UK</option> |
5903 | 5923 | <option data-url="https://xeroapi.github.io/xero-php-oauth2/docs/v2/payroll_nz/index.html" value="PayrollNz">Payroll NZ</option> |
5904 | | - <option data-url="https://xeroapi.github.io/xero-php-oauth2/docs/v2/appstore/index.html" value="AppStore">AppStore</option> |
| 5924 | + <option data-url="https://xeroapi.github.io/xero-php-oauth2/docs/v2/appstore/index.html" value="AppStore">App Store</option> |
5905 | 5925 | </select> |
5906 | 5926 | </fieldset> |
5907 | 5927 | <div class='api-set-wrapper'> |
|
5943 | 5963 | <nav id="scrollingNav"> |
5944 | 5964 | <ul class="sidenav nav nav-list"> |
5945 | 5965 | <li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li> |
5946 | | - <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>2.8.1</li> |
| 5966 | + <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>2.9.0</li> |
5947 | 5967 | <li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li> |
5948 | 5968 | <li data-group="Accounting" data-name="createAccount" class=""> |
5949 | 5969 | <a href="#api-Accounting-createAccount">createAccount</a> |
@@ -7637,7 +7657,7 @@ <h2>Parameters</h2> |
7637 | 7657 | "schema" : { |
7638 | 7658 | "$ref" : "#/components/schemas/BankTransfers" |
7639 | 7659 | }, |
7640 | | - "example" : "{ \"BankTransfers\": [ { \"FromBankAccount\": { \"Code\": \"090\", \"Name\": \"My Savings\", \"AccountID\": \"00000000-0000-0000-0000-000000000000\", \"Type\": \"BANK\", \"BankAccountNumber\": \"123455\", \"Status\": \"ACTIVE\", \"BankAccountType\": \"BANK\", \"CurrencyCode\": \"USD\", \"TaxType\": \"NONE\", \"EnablePaymentsToAccount\": false, \"ShowInExpenseClaims\": false, \"Class\": \"ASSET\", \"ReportingCode\": \"ASS\", \"ReportingCodeName\": \"Assets\", \"HasAttachments\": false, \"UpdatedDateUTC\": \"2016-10-17T13:45:33.993-07:00\" }, \"ToBankAccount\": { \"Code\": \"088\", \"Name\": \"Business Wells Fargo\", \"AccountID\": \"00000000-0000-0000-0000-000000000000\", \"Type\": \"BANK\", \"BankAccountNumber\": \"123455\", \"Status\": \"ACTIVE\", \"BankAccountType\": \"BANK\", \"CurrencyCode\": \"USD\", \"TaxType\": \"NONE\", \"EnablePaymentsToAccount\": false, \"ShowInExpenseClaims\": false, \"Class\": \"ASSET\", \"ReportingCode\": \"ASS\", \"ReportingCodeName\": \"Assets\", \"HasAttachments\": false, \"UpdatedDateUTC\": \"2016-06-03T08:31:14.517-07:00\" }, \"Amount\": \"50.00\" } ] }" |
| 7660 | + "example" : "{ \"BankTransfers\": [ { \"FromBankAccount\": { \"Code\": \"090\", \"Name\": \"My Savings\", \"AccountID\": \"00000000-0000-0000-0000-000000000000\", \"Type\": \"BANK\", \"BankAccountNumber\": \"123455\", \"Status\": \"ACTIVE\", \"BankAccountType\": \"BANK\", \"CurrencyCode\": \"USD\", \"TaxType\": \"NONE\", \"EnablePaymentsToAccount\": false, \"ShowInExpenseClaims\": false, \"Class\": \"ASSET\", \"ReportingCode\": \"ASS\", \"ReportingCodeName\": \"Assets\", \"HasAttachments\": false, \"UpdatedDateUTC\": \"2016-10-17T13:45:33.993-07:00\" }, \"ToBankAccount\": { \"Code\": \"088\", \"Name\": \"Business Wells Fargo\", \"AccountID\": \"00000000-0000-0000-0000-000000000000\", \"Type\": \"BANK\", \"BankAccountNumber\": \"123455\", \"Status\": \"ACTIVE\", \"BankAccountType\": \"BANK\", \"CurrencyCode\": \"USD\", \"TaxType\": \"NONE\", \"EnablePaymentsToAccount\": false, \"ShowInExpenseClaims\": false, \"Class\": \"ASSET\", \"ReportingCode\": \"ASS\", \"ReportingCodeName\": \"Assets\", \"HasAttachments\": false, \"UpdatedDateUTC\": \"2016-06-03T08:31:14.517-07:00\" }, \"Amount\": \"50.00\", \"FromIsReconciled\": true, \"ToIsReconciled\": true, \"Reference\": \"Sub 098801\" } ] }" |
7641 | 7661 | } |
7642 | 7662 | }, |
7643 | 7663 | "required" : true |
@@ -20485,7 +20505,7 @@ <h2>Parameters</h2> |
20485 | 20505 | <article id="api-Accounting-getBudget-0" data-group="User" data-name="getBudget" data-version="0"> |
20486 | 20506 | <div class="pull-left"> |
20487 | 20507 | <h1>getBudget</h1> |
20488 | | - <p>Retrieves a specific budgets, which includes budget lines</p> |
| 20508 | + <p>Retrieves a specific budget, which includes budget lines</p> |
20489 | 20509 | </div> |
20490 | 20510 | <div class="pull-right"></div> |
20491 | 20511 | <div class="clearfix"></div> |
@@ -20516,9 +20536,11 @@ <h3>Usage and SDK Samples</h3> |
20516 | 20536 | ); |
20517 | 20537 | $xeroTenantId = "YOUR_XERO_TENANT_ID"; |
20518 | 20538 | $budgetID = "00000000-0000-0000-0000-000000000000"; |
| 20539 | +$dateTo = new DateTime("2019-10-31"); |
| 20540 | +$dateFrom = new DateTime("2019-10-31"); |
20519 | 20541 |
|
20520 | 20542 | try { |
20521 | | - $result = $apiInstance->getBudget($xeroTenantId, $budgetID); |
| 20543 | + $result = $apiInstance->getBudget($xeroTenantId, $budgetID, $dateTo, $dateFrom); |
20522 | 20544 | } catch (Exception $e) { |
20523 | 20545 | echo 'Exception when calling AccountingApi->getBudget: ', $e->getMessage(), PHP_EOL; |
20524 | 20546 | } |
@@ -20596,6 +20618,59 @@ <h2>Parameters</h2> |
20596 | 20618 | </div> |
20597 | 20619 | </div> |
20598 | 20620 | </td> |
| 20621 | +</tr> |
| 20622 | + |
| 20623 | + </table> |
| 20624 | + <div class="methodsubtabletitle">Query parameters</div> |
| 20625 | + <table id="methodsubtable"> |
| 20626 | + <tr> |
| 20627 | + <th width="150px">Name</th> |
| 20628 | + <th>Description</th> |
| 20629 | + </tr> |
| 20630 | + <tr><td style="width:150px;">DateTo</td> |
| 20631 | +<td> |
| 20632 | + |
| 20633 | + |
| 20634 | + <div id="d2e199_getBudget_dateTo"> |
| 20635 | + <div class="json-schema-view"> |
| 20636 | + <div class="primitive"> |
| 20637 | + <span class="type"> |
| 20638 | + date |
| 20639 | + </span> |
| 20640 | + <span class="format"> |
| 20641 | + (date) |
| 20642 | + </span> |
| 20643 | + |
| 20644 | + <div class="inner description marked"> |
| 20645 | +Filter by start date |
| 20646 | + </div> |
| 20647 | + </div> |
| 20648 | + </div> |
| 20649 | + </div> |
| 20650 | +</td> |
| 20651 | +</tr> |
| 20652 | + |
| 20653 | + <tr><td style="width:150px;">DateFrom</td> |
| 20654 | +<td> |
| 20655 | + |
| 20656 | + |
| 20657 | + <div id="d2e199_getBudget_dateFrom"> |
| 20658 | + <div class="json-schema-view"> |
| 20659 | + <div class="primitive"> |
| 20660 | + <span class="type"> |
| 20661 | + date |
| 20662 | + </span> |
| 20663 | + <span class="format"> |
| 20664 | + (date) |
| 20665 | + </span> |
| 20666 | + |
| 20667 | + <div class="inner description marked"> |
| 20668 | +Filter by end date |
| 20669 | + </div> |
| 20670 | + </div> |
| 20671 | + </div> |
| 20672 | + </div> |
| 20673 | +</td> |
20599 | 20674 | </tr> |
20600 | 20675 |
|
20601 | 20676 | </table> |
@@ -20637,8 +20712,8 @@ <h3>Usage and SDK Samples</h3> |
20637 | 20712 | ); |
20638 | 20713 | $xeroTenantId = "YOUR_XERO_TENANT_ID"; |
20639 | 20714 | $iDs = array("00000000-0000-0000-0000-000000000000") |
20640 | | -$dateTo = new DateTime("2013-10-20"); |
20641 | | -$dateFrom = new DateTime("2013-10-20"); |
| 20715 | +$dateTo = new DateTime("2019-10-31"); |
| 20716 | +$dateFrom = new DateTime("2019-10-31"); |
20642 | 20717 |
|
20643 | 20718 | try { |
20644 | 20719 | $result = $apiInstance->getBudgets($xeroTenantId, $iDs, $dateTo, $dateFrom); |
@@ -22054,9 +22129,10 @@ <h3>Usage and SDK Samples</h3> |
22054 | 22129 | $page = 1; |
22055 | 22130 | $includeArchived = true; |
22056 | 22131 | $summaryOnly = true; |
| 22132 | +$searchTerm = "searchTerm=Joe Bloggs"; |
22057 | 22133 |
|
22058 | 22134 | try { |
22059 | | - $result = $apiInstance->getContacts($xeroTenantId, $ifModifiedSince, $where, $order, $iDs, $page, $includeArchived, $summaryOnly); |
| 22135 | + $result = $apiInstance->getContacts($xeroTenantId, $ifModifiedSince, $where, $order, $iDs, $page, $includeArchived, $summaryOnly, $searchTerm); |
22060 | 22136 | } catch (Exception $e) { |
22061 | 22137 | echo 'Exception when calling AccountingApi->getContacts: ', $e->getMessage(), PHP_EOL; |
22062 | 22138 | } |
@@ -22259,6 +22335,26 @@ <h2>Parameters</h2> |
22259 | 22335 | </div> |
22260 | 22336 | </div> |
22261 | 22337 | </td> |
| 22338 | +</tr> |
| 22339 | + |
| 22340 | + <tr><td style="width:150px;">searchTerm</td> |
| 22341 | +<td> |
| 22342 | + |
| 22343 | + |
| 22344 | + <div id="d2e199_getContacts_searchTerm"> |
| 22345 | + <div class="json-schema-view"> |
| 22346 | + <div class="primitive"> |
| 22347 | + <span class="type"> |
| 22348 | + String |
| 22349 | + </span> |
| 22350 | + |
| 22351 | + <div class="inner description marked"> |
| 22352 | +Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields. |
| 22353 | + </div> |
| 22354 | + </div> |
| 22355 | + </div> |
| 22356 | + </div> |
| 22357 | +</td> |
22262 | 22358 | </tr> |
22263 | 22359 |
|
22264 | 22360 | </table> |
@@ -31539,10 +31635,10 @@ <h3>Usage and SDK Samples</h3> |
31539 | 31635 | ); |
31540 | 31636 | $xeroTenantId = "YOUR_XERO_TENANT_ID"; |
31541 | 31637 | $ifModifiedSince = new DateTime("2020-02-06T12:17:43.202-08:00"); |
31542 | | -$dateFrom = new DateTime("2013-10-20"); |
31543 | | -$dateTo = new DateTime("2013-10-20"); |
31544 | | -$expiryDateFrom = new DateTime("2013-10-20"); |
31545 | | -$expiryDateTo = new DateTime("2013-10-20"); |
| 31638 | +$dateFrom = new DateTime("2019-10-31"); |
| 31639 | +$dateTo = new DateTime("2019-10-31"); |
| 31640 | +$expiryDateFrom = new DateTime("2019-10-31"); |
| 31641 | +$expiryDateTo = new DateTime("2019-10-31"); |
31546 | 31642 | $contactID = "00000000-0000-0000-0000-000000000000"; |
31547 | 31643 | $status = "DRAFT"; |
31548 | 31644 | $page = 1; |
@@ -33679,9 +33775,9 @@ <h3>Usage and SDK Samples</h3> |
33679 | 33775 | ); |
33680 | 33776 | $xeroTenantId = "YOUR_XERO_TENANT_ID"; |
33681 | 33777 | $contactId = "00000000-0000-0000-0000-000000000000"; |
33682 | | -$date = new DateTime("2013-10-20"); |
33683 | | -$fromDate = new DateTime("2013-10-20"); |
33684 | | -$toDate = new DateTime("2013-10-20"); |
| 33778 | +$date = new DateTime("2019-10-31"); |
| 33779 | +$fromDate = new DateTime("2019-10-31"); |
| 33780 | +$toDate = new DateTime("2019-10-31"); |
33685 | 33781 |
|
33686 | 33782 | try { |
33687 | 33783 | $result = $apiInstance->getReportAgedPayablesByContact($xeroTenantId, $contactId, $date, $fromDate, $toDate); |
@@ -33872,9 +33968,9 @@ <h3>Usage and SDK Samples</h3> |
33872 | 33968 | ); |
33873 | 33969 | $xeroTenantId = "YOUR_XERO_TENANT_ID"; |
33874 | 33970 | $contactId = "00000000-0000-0000-0000-000000000000"; |
33875 | | -$date = new DateTime("2013-10-20"); |
33876 | | -$fromDate = new DateTime("2013-10-20"); |
33877 | | -$toDate = new DateTime("2013-10-20"); |
| 33971 | +$date = new DateTime("2019-10-31"); |
| 33972 | +$fromDate = new DateTime("2019-10-31"); |
| 33973 | +$toDate = new DateTime("2019-10-31"); |
33878 | 33974 |
|
33879 | 33975 | try { |
33880 | 33976 | $result = $apiInstance->getReportAgedReceivablesByContact($xeroTenantId, $contactId, $date, $fromDate, $toDate); |
@@ -34308,8 +34404,8 @@ <h3>Usage and SDK Samples</h3> |
34308 | 34404 | $config |
34309 | 34405 | ); |
34310 | 34406 | $xeroTenantId = "YOUR_XERO_TENANT_ID"; |
34311 | | -$fromDate = new DateTime("2013-10-20"); |
34312 | | -$toDate = new DateTime("2013-10-20"); |
| 34407 | +$fromDate = new DateTime("2019-10-31"); |
| 34408 | +$toDate = new DateTime("2019-10-31"); |
34313 | 34409 |
|
34314 | 34410 | try { |
34315 | 34411 | $result = $apiInstance->getReportBankSummary($xeroTenantId, $fromDate, $toDate); |
@@ -34846,8 +34942,8 @@ <h3>Usage and SDK Samples</h3> |
34846 | 34942 | $config |
34847 | 34943 | ); |
34848 | 34944 | $xeroTenantId = "YOUR_XERO_TENANT_ID"; |
34849 | | -$fromDate = new DateTime("2013-10-20"); |
34850 | | -$toDate = new DateTime("2013-10-20"); |
| 34945 | +$fromDate = new DateTime("2019-10-31"); |
| 34946 | +$toDate = new DateTime("2019-10-31"); |
34851 | 34947 | $periods = 3; |
34852 | 34948 | $timeframe = "MONTH"; |
34853 | 34949 | $trackingCategoryID = "00000000-0000-0000-0000-000000000000"; |
|
0 commit comments