Skip to content

Commit

Permalink
Add Item and AccountID to line items on invoice stream (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
butkeraites-hotglue authored Sep 17, 2024
1 parent a947244 commit f9a65d0
Showing 1 changed file with 46 additions and 3 deletions.
49 changes: 46 additions & 3 deletions tap_xero/schemas/line_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,51 @@
"exclusiveMinimum": true,
"exclusiveMaximum": true
},
"ItemCode": {
"type": [
"null",
"string"
]
},
"AccountCode": {
"type": [
"null",
"string"
]
},
"ItemCode": {
"AccountID":{
"type": [
"null",
"string"
]
},
"Item":{
"type": [
"null",
"object"
],
"properties": {
"ItemID": {
"type": [
"null",
"string"
]
},
"Name": {
"type": [
"null",
"string"
]
},
"Code": {
"type": [
"null",
"string"
]
}
},
"additionalProperties": false
},
"LineItemID": {
"type": [
"string"
Expand All @@ -53,7 +86,7 @@
"string"
]
},
"LineAmount": {
"TaxAmount": {
"type": [
"null",
"number"
Expand All @@ -63,7 +96,7 @@
"exclusiveMinimum": true,
"exclusiveMaximum": true
},
"TaxAmount": {
"LineAmount": {
"type": [
"null",
"number"
Expand All @@ -83,6 +116,16 @@
"exclusiveMinimum": true,
"exclusiveMaximum": true
},
"DiscountAmount": {
"type": [
"null",
"number"
],
"minimum": -1e+33,
"maximum": 1e+33,
"exclusiveMinimum": true,
"exclusiveMaximum": true
},
"Tracking": {
"items": {
"$ref": "tracking_categories"
Expand Down

0 comments on commit f9a65d0

Please sign in to comment.