Skip to content

Commit

Permalink
full build from master OAS
Browse files Browse the repository at this point in the history
  • Loading branch information
SerKnight committed May 28, 2021
1 parent eb6bb08 commit 5887ac6
Show file tree
Hide file tree
Showing 5 changed files with 724 additions and 359 deletions.
4 changes: 2 additions & 2 deletions docs/accounting/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12246,7 +12246,7 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
opts = {
date: Date.parse('2019-03-31'), # Date | The date for the Bank Summary report e.g. 2018-03-31

period: 2, # Integer | The number of periods to compare (integer between 1 and 12)
periods: 2, # Integer | The number of periods to compare (integer between 1 and 12)

timeframe: 3 # Integer | The period size to compare to (1=month, 3=quarter, 12=year)
}
Expand All @@ -12267,7 +12267,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**xero_tenant_id** | **String**| Xero identifier for Tenant |
**date** | **Date**| The date for the Bank Summary report e.g. 2018-03-31 | [optional]
**period** | **Integer**| The number of periods to compare (integer between 1 and 12) | [optional]
**periods** | **Integer**| The number of periods to compare (integer between 1 and 12) | [optional]
**timeframe** | **Integer**| The period size to compare to (1=month, 3=quarter, 12=year) | [optional]

### Return type
Expand Down
2 changes: 2 additions & 0 deletions docs/accounting/LineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**unit_amount** | **BigDecimal** | LineItem Unit Amount | [optional]
**item_code** | **String** | See Items | [optional]
**account_code** | **String** | See Accounts | [optional]
**account_id** | **String** | The associated account ID related to this line item | [optional]
**tax_type** | **String** | The tax type from TaxRates | [optional]
**tax_amount** | **BigDecimal** | The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated <TaxAmount> is not correct. | [optional]
**line_amount** | **BigDecimal** | If you wish to omit either of the <Quantity> or <UnitAmount> you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100) | [optional]
Expand All @@ -29,6 +30,7 @@ instance = XeroRuby::Accounting::LineItem.new(line_item_id: 00000000-0000-0000-0
unit_amount: null,
item_code: null,
account_code: null,
account_id: 00000000-0000-0000-0000-000000000000,
tax_type: null,
tax_amount: null,
line_amount: null,
Expand Down
Loading

0 comments on commit 5887ac6

Please sign in to comment.