Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

/invoice/delete/item

This action deletes an invoice item from the invoice associated with a work order.

Request

FieldDescriptionTypeRequired
line_idUnique identifier for the invoice item in the invoicenumberYes

Example:

{
  "line_id": 875
}
curl -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer ACCESS_TOKEN' \
     -d '{"line_id":875}' \
     https://ppw.web/svc/invoice/delete/item

Response

FieldDescriptionType
resultDelete invoice item result stringstring

Example successful response:

{
  "result": "Invoice item deleted"
}

Errors

Error TypeDescriptionStatus Code
access_deniedAccess token is invalid or expired401
scope_invalidClient app does not have the required OAuth scope403
line_id_requiredline_id is required400