Delete invoice attachment
Deletes an invoice that's attached to a file.
Authentication
requestTokenstring
API Key authentication via header
Path parameters
idInvoice
Invoice ID
filename
The filename in Payabli. Filename is zipName in response to a request to /api/Invoice/\{idInvoice}. Here, the filename is `0_Bill.pdf“.
“DocumentsRef”: {
“zipfile”: “inva_269.zip”,
“filelist”: [
{
“originalName”: “Bill.pdf”,
“zipName”: “0_Bill.pdf”,
“descriptor”: null
}
]
}
Response
Success
isSuccess
Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.
responseCode
Code for the response. Learn more in API Response Codes.
responseData
If isSuccess = true, this contains the identifier of the invoice. If isSuccess = false, this contains the reason for the failure.
responseText
Response text for operation: ‘Success’ or ‘Declined’.
pageidentifier
Auxiliary validation used internally by payment pages and components.
roomId
Field not in use on this endpoint. It always returns 0.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error