diff --git a/Gemfile.lock b/Gemfile.lock index cc6925b5..82c74d35 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - xero-ruby (13.0.0) + xero-ruby (14.0.0) faraday (>= 2.0, < 3.0) json (~> 2.1, >= 2.1.0) json-jwt (~> 1.16, >= 1.16.3) diff --git a/docs/accounting/AccountingApi.md b/docs/accounting/AccountingApi.md index c4759e7f..e5f17099 100644 --- a/docs/accounting/AccountingApi.md +++ b/docs/accounting/AccountingApi.md @@ -10883,7 +10883,9 @@ opts = { unitdp: 4, # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts - page_size: 100 # Integer | Number of records to retrieve per page + page_size: 100, # Integer | Number of records to retrieve per page + + invoice_numbers: ['"INV-001", "INV-002"'] # Array | Filter by a comma-separated list of InvoiceNumbers } begin @@ -10907,6 +10909,7 @@ Name | Type | Description | Notes **page** | **Integer**| e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment | [optional] **unitdp** | **Integer**| e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts | [optional] **page_size** | **Integer**| Number of records to retrieve per page | [optional] + **invoice_numbers** | [**Array<String>**](String.md)| Filter by a comma-separated list of InvoiceNumbers | [optional] ### Return type diff --git a/docs/accounting/Prepayment.md b/docs/accounting/Prepayment.md index e6bf1c69..31dae082 100644 --- a/docs/accounting/Prepayment.md +++ b/docs/accounting/Prepayment.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **total_tax** | **BigDecimal** | The total tax on the prepayment | [optional] **total** | **BigDecimal** | The total of the prepayment(subtotal + total tax) | [optional] **reference** | **String** | Returns Invoice number field. Reference field isn't available. | [optional] +**invoice_number** | **String** | Returns Invoice number for prepayment receive document only. | [optional] **updated_date_utc** | **DateTime** | UTC timestamp of last update to the prepayment | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **prepayment_id** | **String** | Xero generated unique identifier | [optional] @@ -40,6 +41,7 @@ instance = XeroRuby::Accounting::Prepayment.new(type: null, total_tax: null, total: null, reference: null, + invoice_number: null, updated_date_utc: /Date(1573755038314)/, currency_code: null, prepayment_id: null, diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 8eb57e8f..56f543b9 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -4758,6 +4758,11 @@ "description" : "Returns Invoice number field. Reference field isn't available.", "readOnly" : true }, + "InvoiceNumber" : { + "type" : "string", + "description" : "Returns Invoice number for prepayment receive document only.", + "readOnly" : true + }, "UpdatedDateUTC" : { "type" : "string", "description" : "UTC timestamp of last update to the prepayment", @@ -6350,7 +6355,7 @@