Credit Notes

Upload Credit Note PDF

You can either send the PDF in a multipart/form-data request (ie. a regular "file upload" in HTML) or a JSON request with the file encoded in base64.

post/credit_notes/{creditNoteId}/pdf

Request

  • Base URL
    https://api.upflow.io/v1
  • Auth
    API key in header X-Api-Key and API key in header X-Api-Secret

Request body

datastring byte required

Base64 encoded string for the PDF file. Mandatory when using application/json.

Example request

{
  "data": "JVBERi0xLjYNJeLjz9MNCjE5IDAgb2JqDTw8L0Zp...DSUlRU9GDQ=="
}

Response

PDF uploaded successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.