Skip to main content
POST
/
v1
/
businesses
/
{businessId}
/
invoices
/
bulk-delete
Bulk delete invoices
curl --request POST \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/invoices/bulk-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "deleted_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business.

Body

application/json
ids
string<uuid>[]
required

List of UUIDs to delete (max 100).

Required array length: 1 - 100 elements

Response

Invoices deleted successfully.

deleted_count
integer

Number of items deleted.