Xero · Example Payload
Xero Updateorcreatemanualjournals Example
AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business
Xero Updateorcreatemanualjournals 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
{
"operationId": "updateOrCreateManualJournals",
"method": "POST",
"path": "/ManualJournals",
"summary": "Xero Updates or creates a single manual journal",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ManualJournals": [
{
"Narration": "Journal Desc",
"JournalLines": [
{
"LineAmount": 100,
"AccountCode": "400",
"Description": "Money Movement"
},
{
"LineAmount": -100,
"AccountCode": "400",
"Description": "Prepayment of things",
"Tracking": [
{
"Name": "North",
"Option": "Region"
}
]
}
],
"Date": "2019-03-14"
}
]
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"Id": "45dfa608-0fcb-4f30-a377-c82cd348569c",
"Status": "OK",
"ProviderName": "Provider Name Example",
"DateTimeUTC": "/Date(1552595972952)/",
"ManualJournals": [
{
"Date": "/Date(1552521600000+0000)/",
"Status": "DRAFT",
"LineAmountTypes": "NoTax",
"UpdatedDateUTC": "/Date(1552595972920+0000)/",
"ManualJournalID": "d312dd5e-a53e-46d1-9d51-c569ef4570b7",
"Narration": "Foo bar",
"JournalLines": [
{
"Description": "Hello there",
"TaxType": "NONE",
"LineAmount": 100.0,
"AccountCode": "400",
"Tracking": [],
"AccountID": "c4f29c22-28c2-4a13-9eab-ecbbd641ffdf",
"IsBlank": false
},
{
"Description": "Goodbye",
"TaxType": "NONE",
"LineAmount": -100.0,
"AccountCode": "400",
"Tracking": [
{
"Name": "Simpsons",
"Option": "Bart",
"TrackingCategoryID": "6a68adde-f210-4465-b0a9-0d8cc6f50762",
"TrackingOptionID": "dc54c220-0140-495a-b925-3246adc0075f"
}
],
"AccountID": "c4f29c22-28c2-4a13-9eab-ecbbd641ffdf",
"IsBlank": false
}
],
"ShowOnCashBasisReports": true,
"Warnings": [
{
"Message": "Account code ''476'' has been removed as it does not match a recognised account."
}
],
"ValidationErrors": [
{
"Message": "The total debits (100.00) must equal total credits (-10.00)"
}
]
}
]
}
}
]
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-updateorcreatemanualjournals-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.