# Changelog ## v1.8.2 ### Added - `Sale` now has the following new attribute: * `receivable_account_total_amount` ## v1.8.1 ### Fixes - Changed URL encoding to support special characters. Ex: '&' ## v1.8.0 ### Added - The following resources now have `classification_center_classifications`: * `CreditCard` * `CreditCardTransaction` * `FinancialTransaction` * `Sale` * `SaleAccount` * `ReceivableAccount` * `PayableAccount` ## v1.7.0 ### Added - `ReceivableAccount` now has the following new attribute: * `eletronic_invoices` ## v1.6.6 ### Added - `Sale` now has the following new attributes: * `amount_difference` * `competency_month` * `installments` - `SaleAccount` now has the following new attribute: * `expected_deposit_account_id` - `FinancialAccount` now has the following new attributes: * `sale_account_id` * `sale_ids` ### Removed - `Sale` no longer has the followng new attributes: * `api_related` ## v1.6.5 ### Added - `Sale` now has the following new attributes: * `document` * `document_emission_date` * `installment_count` * `installment_number` * `provider_code` * `original_sale_id` ## v1.6.4 - Add headers information in RequestError object ## v1.6.3 - Change `mime-types` dependency to allow a broader range of versions so as to continue supporting Rails 3 ## v1.6.2 - `SaleAccount` now has the following new attribute: - `consolidate`, which represents wether associated `sales` will be consolidated into one `ReceivableAccount` per date or one per `Sale` ## v1.6.1 - `Sale` now has the following new attribute: - `net_amount`, which represents the `total_amount` - withholded `tax_charges` ## v1.6.0 - `Sale` can now receive `attachments` and `links` from Myfinance app - `attachments` returns the attachments of the `Sale` - `links` returns a few endpoints related to the `Sale` object, such as associated Attachments and Financial Transaction ## v1.5.0 ### New Endpoints - Add endpoints for `CustomClassifier` and `CustomClassifierValue` ### New Attributes - `CreditCard`, `CreditCardTransaction`, `FinancialAccount`, `FinancialTransaction`, `Sale` and `SaleAccount` now respond_to `custom_classifications` ## v1.4.1 - In v1.4.0 we broke the API by renaming `financial_account_taxes_attributes` to `tax_charges_attributes`. We added `financial_account_taxes_attributes` back. Both can be used for the same purpose. - We also renamed `tax_charges_attributes` to `tax_charges` as an effort to move away from the `_attributes` suffix. ## v1.4.0 ### New attributes - `Sale` now has the following new attributes: - `attachments_count`, reflecting the fact that `Sale` can now have attachments - `ticket_amount`, amount needed to pay due to some kind of penalty - `interest_amount`, interest amount - `discount_amount`, amount that will be reduced because of a discount - `total_amount`, equals nominal_amount + ticket_amount + interest_amount - discount_amount - `api_related`, `true` if `Sale` was created by the API, `false` otherwise - `tax_charges_attributes`, reflecting the fact that `Sale` can now have taxes ### Attributes renamed - `Sale`: - `liquidation_week_day` changed to `liquidation_weekday`, conforming to Rails' convention - `FinancialAccount`: - `financial_account_taxes_attributes` was changed to `tax_charges_attributes` ## v1.3.1 ### Fixes - Fix lib require to be relatively ## v1.3.0 ### New Endpoints - Add endpoints for `Sale`, `SaleAccount` and `SaleRule` ## v1.2.0 ### Endpoints improvements - The `#find_all` method of all endpoints that support filtering can now receive parameters to refine the results and paginate. ### Deprecations - No longer supports `#find_by`. Use `#find_all` instead, passing filters as a hash if needed. ### Fixes - Params encoding set to Rack. This is necessary in order to fix an issue with Array parameters. ## v1.1.0 ### New Endpoints - Add endpoint Deposit Accounts filtering. - Add endpoint Entities filtering. ## v1.0.0 ### New Endpoints - Add Bank Statements endpoints. - Add Categories endpoints. - Add Credit Cards endpoints. - Add Credit Cards Transactions endpoints. - Add Reconciles endpoints. - More endpoints for Financial Accounts (`find_all`, `find`). ### Improvements - Implement search by attributes in Categories. ### Deprecations - `FinancialAccount#destroy` and `#update` signatures are now `(entity_id, id, params)` instead of `(id, entity_id, params)`.