Xero · Example Payload

Xero Updatemanualjournal Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Updatemanualjournal 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": "updateManualJournal",
  "method": "POST",
  "path": "/ManualJournals/{ManualJournalID}",
  "summary": "Xero Updates a specific manual journal",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ManualJournals": [
          {
            "Narration": "Hello Xero",
            "ManualJournalID": "00000000-0000-0000-0000-000000000000",
            "JournalLines": []
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "b694559c-686c-4047-b657-661ba6c0dd1f",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1552357736850)/",
        "ManualJournals": [
          {
            "Date": "/Date(1552262400000+0000)/",
            "Status": "DRAFT",
            "LineAmountTypes": "NoTax",
            "UpdatedDateUTC": "/Date(1552357736820+0000)/",
            "ManualJournalID": "07eac261-78ef-47a0-a0eb-a57b74137877",
            "Narration": "Hello Xero",
            "JournalLines": [
              {
                "Description": "Hello there",
                "TaxType": "NONE",
                "TaxAmount": 0.0,
                "LineAmount": 100.0,
                "AccountCode": "400",
                "Tracking": [],
                "AccountID": "c4f29c22-28c2-4a13-9eab-ecbbd641ffdf",
                "IsBlank": false
              },
              {
                "Description": "Goodbye",
                "TaxType": "NONE",
                "TaxAmount": 0.0,
                "LineAmount": -100.0,
                "AccountCode": "400",
                "Tracking": [],
                "AccountID": "c4f29c22-28c2-4a13-9eab-ecbbd641ffdf",
                "IsBlank": false
              }
            ],
            "ShowOnCashBasisReports": true,
            "HasAttachments": false,
            "Attachments": []
          }
        ]
      }
    }
  ]
}