API explorer

Theme switcher

Invoice Download

Summary of Download Endpoint Error Codes

The Download endpoint error codes are mainly related to missing or invalid input data, client or master client lookup failures, and issues generating or retrieving the required PDF or ZIP files.

Common problems include:

  • Missing or empty required fields such as billinkID, billinkUsername, year, or number.
  • Submitting data that is not a valid JSON array.
  • Providing a billinkID or billinkUsername that does not correspond to an existing client.
  • Master client not found when using grouped invoice logic.
  • Invoice not found based on the given input.
  • Required files (PDF or HTML) are missing or cannot be generated from HTML.

All available error codes and messages for the Download endpoint:

Code
Message

400

No data is sent

400

No array provided

400

Field billinkID is not provided

400

Field billinkUsername is not provided

400

Field year is not provided

400

Field number is not provided

400

Invoice is not found

404

Client is not found

404

Master client is not found

404

Could not get or generate pdf file. Please, see error log file for details

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Invoice Download