Delete specific invoice

DELETE /api/billing/invoice/yard/{yardId}/carrier/{carrierId}/periodCode/{periodCode}

Deletes the pre-generated invoice for the provided yard, carrier and period.

Path parameters

Responses

  • 404 application/json

    Bad Request Not Found, eg. tried to delete a pre-generated invoice that doesn't exist

  • Not Authorized

  • Not Allowed

DELETE /api/billing/invoice/yard/{yardId}/carrier/{carrierId}/periodCode/{periodCode}
curl \
 -X DELETE https://api-dev.gatego.io/api/billing/invoice/yard/{yardId}/carrier/{carrierId}/periodCode/{periodCode}
Response examples (404)
{
  "error_code": "bad-request-not-found"
}