File tree Expand file tree Collapse file tree 2 files changed +83
-2
lines changed
Expand file tree Collapse file tree 2 files changed +83
-2
lines changed Original file line number Diff line number Diff line change 1035110351 "description" : " See JournalLines" ,
1035210352 "type" : " array" ,
1035310353 "items" : {
10354- "$ref" : " #/components/schemas/JournalLine "
10354+ "$ref" : " #/components/schemas/ManualJournalLine "
1035510355 }
1035610356 },
1035710357 "Date" : {
1039510395 "required" : [ " Narration" , " JournalLines" ],
1039610396 "type" : " object"
1039710397 },
10398+ "ManualJournalLine" : {
10399+ "externalDocs" : {
10400+ "url" : " http://developer.xero.com/documentation/api/manual-journals/"
10401+ },
10402+ "properties" : {
10403+ "LineAmount" : {
10404+ "description" : " total for line. Debits are positive, credits are negative value" ,
10405+ "type" : " number" ,
10406+ "format" : " float" ,
10407+ "example" : -2569.0
10408+ },
10409+ "AccountCode" : {
10410+ "description" : " See Accounts" ,
10411+ "type" : " string" ,
10412+ "example" : 720
10413+ },
10414+ "Description" : {
10415+ "description" : " Description for journal line" ,
10416+ "type" : " string" ,
10417+ "example" : " Coded incorrectly Office Equipment should be Computer Equipment"
10418+ },
10419+ "TaxType" : {
10420+ "$ref" : " #/components/schemas/TaxType"
10421+ },
10422+ "Tracking" : {
10423+ "description" : " Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements." ,
10424+ "type" : " array" ,
10425+ "items" : {
10426+ "$ref" : " #/components/schemas/TrackingCategory"
10427+ }
10428+ },
10429+ "TaxAmount" : {
10430+ "description" : " The calculated tax amount based on the TaxType and LineAmount" ,
10431+ "readOnly" : true ,
10432+ "type" : " number" ,
10433+ "format" : " float" ,
10434+ "example" : 0.0
10435+ },
10436+ "IsBlank" : {
10437+ "description" : " is the line blank" ,
10438+ "type" : " boolean" ,
10439+ "example" : false
10440+ }
10441+ },
10442+ "type" : " object"
10443+ },
1039810444 "Organisations" : {
1039910445 "type" : " object" ,
1040010446 "properties" : {
Original file line number Diff line number Diff line change @@ -7703,7 +7703,7 @@ components:
77037703 description : See JournalLines
77047704 type : array
77057705 items :
7706- $ref : ' #/components/schemas/JournalLine '
7706+ $ref : ' #/components/schemas/ManualJournalLine '
77077707 Date :
77087708 description : Date journal was posted – YYYY-MM-DD
77097709 type : string
@@ -7742,6 +7742,41 @@ components:
77427742 - Narration
77437743 - JournalLines
77447744 type : object
7745+ ManualJournalLine :
7746+ externalDocs :
7747+ url : ' http://developer.xero.com/documentation/api/manual-journals/'
7748+ properties :
7749+ LineAmount :
7750+ description : ' total for line. Debits are positive, credits are negative value'
7751+ type : number
7752+ format : float
7753+ example : -2569.00
7754+ AccountCode :
7755+ description : See Accounts
7756+ type : string
7757+ example : 720
7758+ Description :
7759+ description : Description for journal line
7760+ type : string
7761+ example : Coded incorrectly Office Equipment should be Computer Equipment
7762+ TaxType :
7763+ $ref : ' #/components/schemas/TaxType'
7764+ Tracking :
7765+ description : Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
7766+ type : array
7767+ items :
7768+ $ref : ' #/components/schemas/TrackingCategory'
7769+ TaxAmount :
7770+ description : The calculated tax amount based on the TaxType and LineAmount
7771+ readOnly : true
7772+ type : number
7773+ format : float
7774+ example : 0.00
7775+ IsBlank :
7776+ description : is the line blank
7777+ type : boolean
7778+ example : false
7779+ type : object
77457780 Organisations :
77467781 type : object
77477782 properties :
You can’t perform that action at this time.
0 commit comments