Allows you to update a specified manual journal

POST {{baseUrl}}/ManualJournals/:ManualJournalID

Request Body

{"ManualJournals"=>[{"Narration"=>"<string>", "JournalLines"=>[{"LineAmount"=>"<double>", "AccountCode"=>"<string>", "AccountID"=>"<uuid>", "Description"=>"<string>", "TaxType"=>"<string>", "Tracking"=>[{"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "IsBlank"=>"<boolean>"}, {"LineAmount"=>"<double>", "AccountCode"=>"<string>", "AccountID"=>"<uuid>", "Description"=>"<string>", "TaxType"=>"<string>", "Tracking"=>[{"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "IsBlank"=>"<boolean>"}], "Date"=>"<string>", "LineAmountTypes"=>"<string>", "Status"=>"<string>", "Url"=>"<string>", "ShowOnCashBasisReports"=>"<boolean>", "ManualJournalID"=>"<uuid>", "StatusAttributeString"=>"<string>", "Warnings"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}], "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}], "Attachments"=>[{"AttachmentID"=>"<uuid>", "FileName"=>"<string>", "Url"=>"<string>", "MimeType"=>"<string>", "ContentLength"=>"<integer>", "IncludeOnline"=>"<boolean>"}, {"AttachmentID"=>"<uuid>", "FileName"=>"<string>", "Url"=>"<string>", "MimeType"=>"<string>", "ContentLength"=>"<integer>", "IncludeOnline"=>"<boolean>"}]}, {"Narration"=>"<string>", "JournalLines"=>[{"LineAmount"=>"<double>", "AccountCode"=>"<string>", "AccountID"=>"<uuid>", "Description"=>"<string>", "TaxType"=>"<string>", "Tracking"=>[{"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "IsBlank"=>"<boolean>"}, {"LineAmount"=>"<double>", "AccountCode"=>"<string>", "AccountID"=>"<uuid>", "Description"=>"<string>", "TaxType"=>"<string>", "Tracking"=>[{"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"TrackingCategoryID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "TrackingOptionID"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Option"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "Options"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "IsBlank"=>"<boolean>"}], "Date"=>"<string>", "LineAmountTypes"=>"<string>", "Status"=>"<string>", "Url"=>"<string>", "ShowOnCashBasisReports"=>"<boolean>", "ManualJournalID"=>"<uuid>", "StatusAttributeString"=>"<string>", "Warnings"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}], "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}], "Attachments"=>[{"AttachmentID"=>"<uuid>", "FileName"=>"<string>", "Url"=>"<string>", "MimeType"=>"<string>", "ContentLength"=>"<integer>", "IncludeOnline"=>"<boolean>"}, {"AttachmentID"=>"<uuid>", "FileName"=>"<string>", "Url"=>"<string>", "MimeType"=>"<string>", "ContentLength"=>"<integer>", "IncludeOnline"=>"<boolean>"}]}]}

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;b694559c-686c-4047-b657-661ba6c0dd1f&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552357736850)/&quot;,&quot;ManualJournals&quot;:[{&quot;Date&quot;:&quot;/Date(1552262400000+0000)/&quot;,&quot;Status&quot;:&quot;DRAFT&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552357736820+0000)/&quot;,&quot;ManualJournalID&quot;:&quot;07eac261-78ef-47a0-a0eb-a57b74137877&quot;,&quot;Narration&quot;:&quot;Hello Xero&quot;,&quot;JournalLines&quot;:[{&quot;Description&quot;:&quot;Hello there&quot;,&quot;TaxType&quot;:&quot;NONE&quot;,&quot;TaxAmount&quot;:0.0,&quot;LineAmount&quot;:100.0,&quot;AccountCode&quot;:&quot;400&quot;,&quot;Tracking&quot;:[],&quot;AccountID&quot;:&quot;c4f29c22-28c2-4a13-9eab-ecbbd641ffdf&quot;,&quot;IsBlank&quot;:false},{&quot;Description&quot;:&quot;Goodbye&quot;,&quot;TaxType&quot;:&quot;NONE&quot;,&quot;TaxAmount&quot;:0.0,&quot;LineAmount&quot;:-100.0,&quot;AccountCode&quot;:&quot;400&quot;,&quot;Tracking&quot;:[],&quot;AccountID&quot;:&quot;c4f29c22-28c2-4a13-9eab-ecbbd641ffdf&quot;,&quot;IsBlank&quot;:false}],&quot;ShowOnCashBasisReports&quot;:true,&quot;HasAttachments&quot;:false,&quot;Attachments&quot;:[]}]}