Xero · Example Payload

Xero Getreportagedpayablesbycontact Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Getreportagedpayablesbycontact Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getReportAgedPayablesByContact",
  "method": "GET",
  "path": "/Reports/AgedPayablesByContact",
  "summary": "Xero Retrieves report for aged payables by contact",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "5a33f9d4-44a6-4467-a812-4f025506ee35",
        "Status": "OK",
        "ProviderName": "Java Public Example",
        "DateTimeUTC": "/Date(1555971088085)/",
        "Reports": [
          {
            "ReportName": "Aged Payables By Contact",
            "ReportType": "AgedPayablesByContact",
            "ReportTitles": [
              "Invoices",
              "ABC",
              "From 10 October 2017 to 22 April 2019",
              "Showing payments to 22 April 2019"
            ],
            "ReportDate": "22 April 2019",
            "UpdatedDateUTC": "/Date(1555971088085)/",
            "Fields": [],
            "Rows": [
              {
                "RowType": "Header",
                "Cells": [
                  {
                    "Value": "Date"
                  },
                  {
                    "Value": "Reference"
                  },
                  {
                    "Value": "Due Date"
                  },
                  {
                    "Value": ""
                  },
                  {
                    "Value": "Total"
                  },
                  {
                    "Value": "Paid"
                  },
                  {
                    "Value": "Credited"
                  },
                  {
                    "Value": "Due"
                  }
                ]
              },
              {
                "RowType": "Section",
                "Title": "",
                "Rows": [
                  {
                    "RowType": "Row",
                    "Cells": [
                      {
                        "Value": "2017-10-10 00:00:00"
                      },
                      {
                        "Value": "Opening Balance"
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": "0.00"
                      }
                    ]
                  }
                ]
              },
              {
                "RowType": "Section",
                "Title": "",
                "Rows": [
                  {
                    "RowType": "Row",
                    "Cells": [
                      {
                        "Value": "2018-10-09 00:00:00",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "2018-10-23 00:00:00",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "181 days overdue",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "250.00",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "0.00",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "0.00",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "250.00",
                        "Attributes": [
                          {
                            "Value": "1f3960ae-0537-4438-a4dd-76d785e6d7d8",
                            "Id": "invoiceID"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "RowType": "SummaryRow",
                    "Cells": [
                      {
                        "Value": "Total"
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": "250.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "250.00"
                      }
                    ]
                  }
                ]
              },
              {
                "RowType": "Section",
                "Title": "",
                "Rows": [
                  {
                    "RowType": "SummaryRow",
                    "Cells": [
                      {
                        "Value": "Closing Balance"
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": "250.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "250.00"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}