<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://help.odatalink.com/index.php?action=history&amp;feed=atom&amp;title=Xero_Accounting_Endpoint%3A_BalanceSheetAdvanced</id>
	<title>Xero Accounting Endpoint: BalanceSheetAdvanced - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://help.odatalink.com/index.php?action=history&amp;feed=atom&amp;title=Xero_Accounting_Endpoint%3A_BalanceSheetAdvanced"/>
	<link rel="alternate" type="text/html" href="https://help.odatalink.com/index.php?title=Xero_Accounting_Endpoint:_BalanceSheetAdvanced&amp;action=history"/>
	<updated>2026-10-26T14:26:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://help.odatalink.com/index.php?title=Xero_Accounting_Endpoint:_BalanceSheetAdvanced&amp;diff=3541&amp;oldid=prev</id>
		<title>Nic: Created page with &quot;== Overview ==  The Xero &#039;&#039;&#039;BalanceSheetAdvanced&#039;&#039;&#039; endpoint provides closing balance sheet values for a range of parameters to produce a number...&quot;</title>
		<link rel="alternate" type="text/html" href="https://help.odatalink.com/index.php?title=Xero_Accounting_Endpoint:_BalanceSheetAdvanced&amp;diff=3541&amp;oldid=prev"/>
		<updated>2024-09-05T03:26:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview ==  The Xero &amp;#039;&amp;#039;&amp;#039;BalanceSheetAdvanced&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/index.php?title=Xero_Accounting_Endpoints&quot; title=&quot;Xero Accounting Endpoints&quot;&gt;endpoint&lt;/a&gt; provides closing balance sheet values for a range of parameters to produce a number...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
The Xero &amp;#039;&amp;#039;&amp;#039;BalanceSheetAdvanced&amp;#039;&amp;#039;&amp;#039; [[Xero Accounting Endpoints|endpoint]] provides closing balance sheet values for a range of parameters to produce a number of different values.&lt;br /&gt;
&lt;br /&gt;
It is a [[Function Endpoints|function]] that accepts a series of parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
The BalanceSheetAdvanced is a [[Function Endpoints|function]] that accepts the following parameters.&lt;br /&gt;
&lt;br /&gt;
;FromDate&lt;br /&gt;
:A [[Field Type: Date|date field]] that determines the start date for which to produce values.&lt;br /&gt;
:If omitted, it will use the first date of the last calendar month.&lt;br /&gt;
&lt;br /&gt;
;ToDate&lt;br /&gt;
:A [[Field Type: Date|date field]] that determines the end date for which to produce values.&lt;br /&gt;
:If omitted, it will use the last date of the last calendar month.&lt;br /&gt;
&lt;br /&gt;
;PaymentsOnly&lt;br /&gt;
:A [[Field Type: Boolean|true/false field]] that determines if only payments are included.&lt;br /&gt;
:If omitted, it will be set to False.&lt;br /&gt;
&lt;br /&gt;
;StandardLayout&lt;br /&gt;
:A [[Field Type: Boolean|true/false field]] that determines if the values are produced only for accounts that are in the [[Xero Accounting Endpoint: Accounts|accounts]] endpoint.&lt;br /&gt;
:If omitted, it will be set to True.&lt;br /&gt;
&lt;br /&gt;
;Periods&lt;br /&gt;
:A [[Field Type: Integer|whole number field]] that determines the number of additional periods to include on the report. It must be used in conjunction with the &amp;#039;&amp;#039;&amp;#039;TimeFrame&amp;#039;&amp;#039;&amp;#039; parameter.&lt;br /&gt;
:If omitted, it will not include additional periods.&lt;br /&gt;
:Possible values are  1 to 11.&lt;br /&gt;
&lt;br /&gt;
;TimeFrame&lt;br /&gt;
:A [[Field Type: Text|text field]] that specifies what type of periods to compare. It must be used in conjunction with the &amp;#039;&amp;#039;&amp;#039;Periods&amp;#039;&amp;#039;&amp;#039; parameter.&lt;br /&gt;
:If omitted, it will not include additional periods.&lt;br /&gt;
:Possible values are:&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Month&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Quarter&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Year&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
;TrackingOptionID&lt;br /&gt;
:A [[Field Type: GUID|guid field]] that specifies the specific [[Xero Accounting Endpoint: TrackingCategories|tracking category option]].&lt;br /&gt;
:If omitted, OdataLink will choose one present within Xero.&lt;br /&gt;
&lt;br /&gt;
;TrackingOptionID2&lt;br /&gt;
:A [[Field Type: GUID|guid field]] that specifies a secondary list [[Xero Accounting Endpoint: TrackingCategories|tracking category options]].&lt;br /&gt;
:If omitted, OdataLink will only provide data for a single [[Xero Accounting Endpoint: TrackingCategories|tracking category option]] as specified by &amp;#039;&amp;#039;&amp;#039;TrackingCategoryID&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;TrackingOptionID&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Fields ==&lt;br /&gt;
&lt;br /&gt;
The following fields are available for the &amp;#039;&amp;#039;&amp;#039;BalanceSheetAdvanced&amp;#039;&amp;#039;&amp;#039; endpoint.&lt;br /&gt;
&lt;br /&gt;
;DataFileID&lt;br /&gt;
:A [[Field Type: GUID|guid field]] that provides the id of the xero data file as setup in OdataLink.&lt;br /&gt;
&lt;br /&gt;
;DataFileName&lt;br /&gt;
:A [[Field Type: Text|text field]] provides the name of the xero data file as setup in OdataLink.&lt;br /&gt;
&lt;br /&gt;
;DataFileCode&lt;br /&gt;
:A [[Field Type: Text|text field]] provides the code of the xero data file as setup in OdataLink.&lt;br /&gt;
&lt;br /&gt;
;Date&lt;br /&gt;
:A [[Field Type: Date|date field]] that indicates the end date used to produce the values.&lt;br /&gt;
:This will match the ToDate entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;Period&lt;br /&gt;
:A [[Field Type: Text|text field]] that indicates the periods that are being queried.&lt;br /&gt;
:Possible values are: &lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Month&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Quarter&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Year&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
;PaymentsOnly&lt;br /&gt;
:A [[Field Type: Boolean|true/false field]] that indicates if only payments are included.&lt;br /&gt;
:This will match the PaymentsOnly entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;StandardLayout&lt;br /&gt;
:A [[Field Type: Boolean|true/false field]] that indicates if values are produced only for accounts that are in the [[Xero Accounting Endpoint: Accounts|accounts]] endpoint.&lt;br /&gt;
:This will match the StandardLayout entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;Periods&lt;br /&gt;
:A [[Field Type: Integer|whole number field]] that indicates the number of additional comparison periods to include.&lt;br /&gt;
:This will match the Periods entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;TimeFrame&lt;br /&gt;
:A [[Field Type: Text|table field]] that indicates what type of periods to compare.&lt;br /&gt;
:This will match the TimeFrame entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;TrackingOptionID&lt;br /&gt;
:A [[Field Type: GUID|guid field]] that indicates the [[Xero Accounting Endpoint: TrackingCategories|tracking option]] used.&lt;br /&gt;
:This will match the TrackingOptionID entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;TrackingOptionID2&lt;br /&gt;
:A [[Field Type: GUID|guid field]] that indicates the [[Xero Accounting Endpoint: TrackingCategories|tracking option]] used.&lt;br /&gt;
:This will match the TrackingOptionID2 entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;LineType&lt;br /&gt;
:A [[Field Type: Text|text field]] that indicates the type of line.&lt;br /&gt;
:Possible values are: &lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Header&amp;#039;&amp;#039;&amp;#039;: Indicates the row contains a header.&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Detail&amp;#039;&amp;#039;&amp;#039;: Indicates the row contains the value of a given account.&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;Total&amp;#039;&amp;#039;&amp;#039;: Indicates the row contains a calculated value.&lt;br /&gt;
&lt;br /&gt;
;AccountID&lt;br /&gt;
:A [[Field Type: GUID|GUID field]] that provides the id of the account.&lt;br /&gt;
:This field can be used to link to the [[Xero Accounting Endpoint: Accounts|Accounts]] endpoints.&lt;br /&gt;
:This field will be set to null for rows whose &amp;#039;&amp;#039;&amp;#039;LineType&amp;#039;&amp;#039;&amp;#039; is not set to &amp;#039;&amp;#039;&amp;#039;Detail&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
;AccountName&lt;br /&gt;
:A [[Field Type: Text|text field]] that provides the account name or the name of a header or total.&lt;br /&gt;
&lt;br /&gt;
;AccountLineType&lt;br /&gt;
:A [[Field Type: Text|text field]] that provides the a descriptive field to indicate the type of account or row.&lt;br /&gt;
&lt;br /&gt;
;LineDescription&lt;br /&gt;
:A [[Field Type: Text|text field]] that provides the generic description for this amount.&lt;br /&gt;
&lt;br /&gt;
;Amount&lt;br /&gt;
:A [[Field Type: Decimal|decimal field]] that provides the value for the row.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Xero API ==&lt;br /&gt;
&lt;br /&gt;
For a detailed run through of the endpoint, you can see the [https://developer.xero.com/documentation/api/accounting/reports#balance-sheet Xero API].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Fields ==&lt;br /&gt;
&lt;br /&gt;
:None&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Endpoints ==&lt;br /&gt;
&lt;br /&gt;
:[[Xero Accounting Endpoint: Accounts|Accounts]]&lt;br /&gt;
:[[Xero Accounting Endpoint: BalanceSheet|BalanceSheet]]&lt;br /&gt;
:[[Xero Accounting Endpoint: BalanceSheetByMonth|BalanceSheetByMonth]]&lt;br /&gt;
:[[Xero Accounting Endpoint: BalanceSheetTable|BalanceSheetTable]]&lt;br /&gt;
:[[Xero Accounting Endpoint: BalanceSheetMultiPeriodTable|BalanceSheetMultiPeriodTable]]&lt;br /&gt;
:[[Xero Accounting Endpoint: BalanceSheetByTrackingOption|BalanceSheetByTrackingOption]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related Topics ==&lt;br /&gt;
&lt;br /&gt;
:[[Xero Accounting Models]]&lt;br /&gt;
:[[Xero Accounting Endpoints]]&lt;/div&gt;</summary>
		<author><name>Nic</name></author>
	</entry>
</feed>