docs/ReceivedDocument.md in fattureincloud_ruby_sdk-2.0.16 vs docs/ReceivedDocument.md in fattureincloud_ruby_sdk-2.0.17
- old
+ new
@@ -2,35 +2,35 @@
## Properties
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
-| **id** | **Integer** | Unique identifier of the document. | [optional] |
+| **id** | **Integer** | Received document id | [optional] |
| **type** | [**ReceivedDocumentType**](ReceivedDocumentType.md) | | [optional][default to 'expense'] |
| **entity** | [**Entity**](Entity.md) | | [optional] |
-| **date** | **Date** | Date of the document [If not specified, today date is used]. | [optional] |
-| **category** | **String** | Document category. | [optional] |
-| **description** | **String** | Document description. | [optional] |
-| **amount_net** | **Float** | Total net amount. | [optional] |
-| **amount_vat** | **Float** | Total vat amount. | [optional] |
-| **amount_withholding_tax** | **Float** | Withholding tax amount. | [optional] |
-| **amount_other_withholding_tax** | **Float** | Other withholding tax amount. | [optional] |
-| **amount_gross** | **Float** | [Read Only] Total gross amount. | [optional][readonly] |
-| **amortization** | **Float** | Amortization value | [optional] |
-| **rc_center** | **String** | Revenue center. | [optional] |
-| **invoice_number** | **String** | Invoice number | [optional] |
-| **is_marked** | **Boolean** | | [optional] |
-| **is_detailed** | **Boolean** | | [optional] |
-| **e_invoice** | **Boolean** | [Read Only] Indicates if this is an e-invoice. | [optional] |
-| **next_due_date** | **Date** | [Read Only] Next due date. | [optional][readonly] |
+| **date** | **Date** | Received document date [defaults to today's date] | [optional] |
+| **category** | **String** | Received document category | [optional] |
+| **description** | **String** | Received document description | [optional] |
+| **amount_net** | **Float** | Received document total net amount | [optional] |
+| **amount_vat** | **Float** | Received document total vat amount | [optional] |
+| **amount_withholding_tax** | **Float** | Received document withholding tax amount | [optional] |
+| **amount_other_withholding_tax** | **Float** | Received document other withholding tax amount | [optional] |
+| **amount_gross** | **Float** | [Read Only] Received document total gross amount | [optional][readonly] |
+| **amortization** | **Float** | Received document amortization value | [optional] |
+| **rc_center** | **String** | Received document revenue center | [optional] |
+| **invoice_number** | **String** | Received document invoice number | [optional] |
+| **is_marked** | **Boolean** | Received document is marked | [optional] |
+| **is_detailed** | **Boolean** | Received document has items | [optional] |
+| **e_invoice** | **Boolean** | [Read Only] Received document is an e-invoice | [optional] |
+| **next_due_date** | **Date** | [Read Only] Received document date of the next not paid payment | [optional][readonly] |
| **currency** | [**Currency**](Currency.md) | | [optional] |
-| **tax_deductibility** | **Float** | Tax deducibility percentage. | [optional] |
-| **vat_deductibility** | **Float** | Vat deducibility percentage. | [optional] |
+| **tax_deductibility** | **Float** | Received document tax deducibility percentage | [optional] |
+| **vat_deductibility** | **Float** | Received document vat deducibility percentage | [optional] |
| **items_list** | [**Array<ReceivedDocumentItemsListItem>**](ReceivedDocumentItemsListItem.md) | | [optional] |
| **payments_list** | [**Array<ReceivedDocumentPaymentsListItem>**](ReceivedDocumentPaymentsListItem.md) | | [optional] |
-| **attachment_url** | **String** | [Temporary] [Read Only] Public url of the attached file. Authomatically set if a valid attachment token is passed via POST /received_documents or PUT /received_documents/{documentId}. | [optional][readonly] |
-| **attachment_preview_url** | **String** | [Temporary] [Read Only] Attachment preview url. | [optional][readonly] |
-| **auto_calculate** | **Boolean** | If set to false total items amount and total payments amount can be different. | [optional] |
-| **attachment_token** | **String** | Uploaded attachement token. | [optional] |
-| **created_at** | **String** | | [optional] |
-| **updated_at** | **String** | | [optional] |
+| **attachment_url** | **String** | [Temporary] [Read Only] Received document url of the attached file | [optional][readonly] |
+| **attachment_preview_url** | **String** | [Temporary] [Read Only] Received document url of the attachment preview | [optional][readonly] |
+| **auto_calculate** | **Boolean** | Received document total items amount and total payments amount can differ if this field is set to false | [optional] |
+| **attachment_token** | **String** | [Write Only] Received document attachment token returned by POST /received_documents/attachment | [optional] |
+| **created_at** | **String** | Received document creation date | [optional] |
+| **updated_at** | **String** | Received document last update date | [optional] |