Xero · Example Payload

Xero Getreportagedreceivablesbycontact Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Getreportagedreceivablesbycontact 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": "getReportAgedReceivablesByContact",
  "method": "GET",
  "path": "/Reports/AgedReceivablesByContact",
  "summary": "Xero Retrieves report for aged receivables by contact",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "b977b607-955d-47cb-92fd-7c29b3dd755c",
        "Status": "OK",
        "ProviderName": "Java Public Example",
        "DateTimeUTC": "/Date(1556032862815)/",
        "Reports": [
          {
            "ReportName": "Aged Receivables By Contact",
            "ReportType": "AgedReceivablesByContact",
            "ReportTitles": [
              "Invoices",
              "ABC",
              "From 10 October 2017 to 23 April 2019",
              "Showing payments to 23 April 2019"
            ],
            "ReportDate": "23 April 2019",
            "UpdatedDateUTC": "/Date(1556032862815)/",
            "Fields": [],
            "Rows": [
              {
                "RowType": "Header",
                "Cells": [
                  {
                    "Value": "Date"
                  },
                  {
                    "Value": "Number"
                  },
                  {
                    "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-05-13 00:00:00",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "IV1242016",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "2018-06-22 00:00:00",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "305 days overdue",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "100.00",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "0.00",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "0.00",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "100.00",
                        "Attributes": [
                          {
                            "Value": "40ebad47-24e2-4dc9-a5f5-579df427671b",
                            "Id": "invoiceID"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "RowType": "Row",
                    "Cells": [
                      {
                        "Value": "2019-04-23 00:00:00",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "INV-0086",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "2019-05-07 00:00:00",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "50.00",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "0.00",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "0.00",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      },
                      {
                        "Value": "50.00",
                        "Attributes": [
                          {
                            "Value": "ca0483ce-fa43-4335-8512-751e655337b8",
                            "Id": "invoiceID"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "RowType": "SummaryRow",
                    "Cells": [
                      {
                        "Value": "Total"
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": "150.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "150.00"
                      }
                    ]
                  }
                ]
              },
              {
                "RowType": "Section",
                "Title": "",
                "Rows": [
                  {
                    "RowType": "SummaryRow",
                    "Cells": [
                      {
                        "Value": "Closing Balance"
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": ""
                      },
                      {
                        "Value": "150.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "0.00"
                      },
                      {
                        "Value": "150.00"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}