-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from XeroAPI/budgets_and_reports_fixes
Add Budgets and Fix how nz aus Tax reports work
- Loading branch information
Showing
24 changed files
with
2,205 additions
and
655 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# XeroRuby::Accounting::Budget | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**budget_id** | **String** | Xero identifier | [optional] | ||
**type** | **String** | Type of Budget. OVERALL or TRACKING | [optional] | ||
**description** | **String** | The Budget description | [optional] | ||
**updated_date_utc** | **DateTime** | UTC timestamp of last update to budget | [optional] | ||
**budget_lines** | [**BudgetLines**](BudgetLines.md) | | [optional] | ||
**tracking** | [**TrackingCategory**](TrackingCategory.md) | | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Accounting' | ||
|
||
instance = XeroRuby::Accounting::Budget.new(budget_id: null, | ||
type: null, | ||
description: null, | ||
updated_date_utc: /Date(1573755038314)/, | ||
budget_lines: null, | ||
tracking: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# XeroRuby::Accounting::BudgetLines | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**period** | **Date** | Period the amount applies to (e.g. “2019-08”) | [optional] | ||
**amount** | **Integer** | LineItem Quantity | [optional] | ||
**unit_amount** | **Integer** | Budgeted amount | [optional] | ||
**notes** | **String** | Any footnotes associated with this balance | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Accounting' | ||
|
||
instance = XeroRuby::Accounting::BudgetLines.new(period: null, | ||
amount: null, | ||
unit_amount: null, | ||
notes: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# XeroRuby::Accounting::Budgets | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**budgets** | [**Array<Budget>**](Budget.md) | | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Accounting' | ||
|
||
instance = XeroRuby::Accounting::Budgets.new(budgets: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.