<?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_AgedPayablesByContact</id>
	<title>Xero Accounting Endpoint: AgedPayablesByContact - 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_AgedPayablesByContact"/>
	<link rel="alternate" type="text/html" href="https://help.odatalink.com/index.php?title=Xero_Accounting_Endpoint:_AgedPayablesByContact&amp;action=history"/>
	<updated>2026-10-26T12:31:27Z</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:_AgedPayablesByContact&amp;diff=2505&amp;oldid=prev</id>
		<title>Nic: Created page with &quot;== Overview ==  The Xero &#039;&#039;&#039;AgedPayablesByContact&#039;&#039;&#039; endpoint provides details of all outstanding supplier invoices for a given contact as at a s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://help.odatalink.com/index.php?title=Xero_Accounting_Endpoint:_AgedPayablesByContact&amp;diff=2505&amp;oldid=prev"/>
		<updated>2021-12-17T00:19:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview ==  The Xero &amp;#039;&amp;#039;&amp;#039;AgedPayablesByContact&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 details of all outstanding supplier invoices for a given contact as at a s...&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;AgedPayablesByContact&amp;#039;&amp;#039;&amp;#039; [[Xero Accounting Endpoints|endpoint]] provides details of all outstanding supplier invoices for a given contact as at a specific date.&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 AgedPayablesByContactendpoint is a [[Function Endpoints|function]] that accepts the following parameters.&lt;br /&gt;
&lt;br /&gt;
;ContactID&lt;br /&gt;
:A [[Field Type: GUID|GUID field]] that determines the contact for which to produce values.&lt;br /&gt;
:This parameter is mandatory.&lt;br /&gt;
&lt;br /&gt;
;Date&lt;br /&gt;
:A [[Field Type: Date|date field]] that determines the date for which to produce the report.&lt;br /&gt;
:This determines the cut-off date for payments.&lt;br /&gt;
&lt;br /&gt;
;FromDate&lt;br /&gt;
:A [[Field Type: Date|date field]] that determines the start date for which to include invoices on the report.&lt;br /&gt;
&lt;br /&gt;
;ToDate&lt;br /&gt;
:A [[Field Type: Date|date field]] that determines the end date for which to include invoices on the report.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Fields ==&lt;br /&gt;
&lt;br /&gt;
The following fields are available for the BalanceSheet endpoint.&lt;br /&gt;
&lt;br /&gt;
;ContactID&lt;br /&gt;
:A [[Field Type: GUID|GUID field]] that indicates the contact for which to produce values.&lt;br /&gt;
:This will match the ContactID entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;Date&lt;br /&gt;
:A [[Field Type: Date|date field]] that indicates the date used to produce the values.&lt;br /&gt;
:This will match the Date entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;FromDate&lt;br /&gt;
:A [[Field Type: Date|date field]] that indicates the start date used to filter invoices.&lt;br /&gt;
:This will match the FromDate entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;ToDate&lt;br /&gt;
:A [[Field Type: Date|date field]] that indicates the end date used to filter invoices.&lt;br /&gt;
:This will match the ToDate entered as [[#Parameters|parameter]].&lt;br /&gt;
&lt;br /&gt;
;UpdatedDateUTC&lt;br /&gt;
:A [[Field Type: DateTimeOffset|date time field]] that indicates when the data was calculated.&lt;br /&gt;
&lt;br /&gt;
;Lines&lt;br /&gt;
:A [[Field Type: Table|table field]] that provides the list of values.&lt;br /&gt;
:See [[#Lines Fields|Lines Fields]] for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lines Fields ==&lt;br /&gt;
&lt;br /&gt;
The [[#Fields|Lines Fields]] include the following sub fields.&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;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;
;InvoiceID&lt;br /&gt;
:A [[Field Type: GUID|GUID field]] that provides the id of the invoice.&lt;br /&gt;
:This field can be used to link to the [[Xero Accounting Endpoint: Invoices|Invoices]] and [[Xero Accounting Endpoint: InvoicesExpanded|InvoicesExpanded]] 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;
;Reference&lt;br /&gt;
:A [[Field Type: Text|text field]] that provides the reference entered on the invoice.&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;
;Date&lt;br /&gt;
:A [[Field Type: Date|date field]] that indicates the date of the invoice.&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;
;DueDate&lt;br /&gt;
:A [[Field Type: Date|date field]] that indicates the due date of the invoice.&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;
;Total&lt;br /&gt;
:A [[Field Type: Decimal|decimal field]] that provides the total amount of the invoice or row.&lt;br /&gt;
&lt;br /&gt;
;Paid&lt;br /&gt;
:A [[Field Type: Decimal|decimal field]] that provides the total amount paid on the invoice or row.&lt;br /&gt;
&lt;br /&gt;
;Credited&lt;br /&gt;
:A [[Field Type: Decimal|decimal field]] that provides the total amount credited on the invoice or row.&lt;br /&gt;
&lt;br /&gt;
;Due&lt;br /&gt;
:A [[Field Type: Decimal|decimal field]] that provides the total amount due on the invoice or 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##aged-payables-by-contact 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: Contacts|Contacts]]&lt;br /&gt;
:[[Xero Accounting Endpoint: ContactsExpanded|ContactsExpanded]]&lt;br /&gt;
:[[Xero Accounting Endpoint: Invoices|Invoices]]&lt;br /&gt;
:[[Xero Accounting Endpoint: InvoicesExpanded|InvoicesExpanded]]&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>