REST DocumentationReceiptsDELETE Delete a receipt

Delete a receipt

Also removes its amount lines and any attached file.

Availability: Full version only — a Clock instance answers 404 for this endpoint.

Request

DELETE /api/v1/receipts/{id}
curl --request DELETE \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/receipts/{id}' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Path parameters

  • Name
    id
    Type
    integer
    Description

    The receipt ID

Response

{
  "success": true
}

Response fields

  • Name
    success
    Type
    boolean
    Description

    Whether the operation succeeded.

Generated from the OpenAPI specification — edit the source code, not this page.