Skip to main content
POST
/
invoices
/
pdf
/
batch
Upload invoices PDF (max 10)
curl --request POST \
  --url https://api.leanpay.fr/v1/public/invoices/pdf/batch \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "files": [
    {
      "base64": "aSDinaTvuI8gbWludGxpZnk=",
      "reference": "<string>"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

Body

application/json

Invoices upload objects

files
object[]
Maximum array length: 10

Response

PDF uploaded