Skip to main content
POST
/
credit-notes
/
pdf
/
batch
Upload credit note PDF (max 10)
curl --request POST \
  --url https://api.leanpay.fr/v1/public/credit-notes/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

Credit notes upload objects

files
object[]
Maximum array length: 10

Response

PDF uploaded