Skip to content

Commit

Permalink
Add bank summary as a report stream (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
butkeraites-hotglue authored Oct 17, 2024
1 parent f9a65d0 commit d9006dd
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions tap_xero/schemas/reports_bank_summary.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"type": [
"null",
"object"
],
"properties": {
"from_date": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"to_date": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"account": {
"type": [
"null",
"string"
]
},
"value": {
"type": [
"null",
"string"
]
}
},
"additionalProperties": false
}
1 change: 1 addition & 0 deletions tap_xero/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,5 +354,6 @@ def sync(self, ctx):
ReportStream("reports_profit_and_loss", ["from_date"], bookmark_key="to_date"),
ReportStream("reports_balance_sheet", ["from_date"], bookmark_key="to_date"),
ReportStream("budgets", ["from_date"], bookmark_key="to_date")
ReportStream("reports_bank_summary", ["from_date"], bookmark_key="to_date"),
]
all_stream_ids = [s.tap_stream_id for s in all_streams]

0 comments on commit d9006dd

Please sign in to comment.