Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteInvoiceitemsInvoiceitem
Synopsis
- deleteInvoiceitemsInvoiceitem :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteInvoiceitemsInvoiceitemResponse)
- data DeleteInvoiceitemsInvoiceitemResponse
Documentation
deleteInvoiceitemsInvoiceitem Source #
:: forall m. MonadHTTP m | |
=> Text | invoiceitem | Constraints: Maximum length of 5000 |
-> ClientT m (Response DeleteInvoiceitemsInvoiceitemResponse) | Monadic computation which returns the result of the operation |
DELETE /v1/invoiceitems/{invoiceitem}
<p>Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.</p>
data DeleteInvoiceitemsInvoiceitemResponse Source #
Represents a response of the operation deleteInvoiceitemsInvoiceitem
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), DeleteInvoiceitemsInvoiceitemResponseError
is used.
DeleteInvoiceitemsInvoiceitemResponseError String | Means either no matching case available or a parse error |
DeleteInvoiceitemsInvoiceitemResponse200 DeletedInvoiceitem | Successful response. |
DeleteInvoiceitemsInvoiceitemResponseDefault Error | Error response. |