Update Invoice Attr
### **Update Invoice Attr**
This API use to update invoice details.
API endpoint allow user to update invoice attributes by sending an HTTP POST request to the specified URL. The request should include the invoice ID, data, type, logo, posting triggered timestamp, posting errors, posting document number, and posting status flags.
### Request Body
| Param | Required | Type | Description |
| --- | --- | --- | --- |
| invoiceId | Mandatory | String | The ID of the invoice to be updated. |
| data | Mandatory | Object | The updated data for the invoice. |
| type | Optional | String | The type of the invoice. |
| logo | Optional | String | The logo associated with the invoice. |
| postingTriggeredAt | Optional | Timestamp | Timestamp indicating when the posting was triggered. |
| postingErrors | Optional | String | Any errors that occurred during posting. |
| postingDocNo | Optional | String | The document number generated during posting. |
| postingTriggered | Optional | Boolean | Boolean flag indicating if posting was triggered. |
| postingFailed | Optional | Boolean | Boolean flag indicating if posting failed. |
| postingSynced | Optional | Boolean | Boolean flag indicating if posting was synced. |
### Response
Upon successful execution, the API returns a JSON object with a `success` key, indicating whether the update was successful.
#### Example Response
``` json
{
"success": true
}
```
Headers
DICE-APP-ID
Company Code of client
X-CLIENT-ID
API Client ID
X-CLIENT-SECRET
API Client Secret
Request
This endpoint expects an object.
invoiceId
data
type
logo
postingTriggeredAt
postingErrors
postingDocNo
postingTriggered
postingFailed
postingSynced
Response
OK
success

