This method allows you to get the content of a certain invoice in bytes.



  • Method: POST
  • Content-Typeapplication/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • invoiceId (required)(integer:20): ID of the invoice that you want to get. 
  • enableDistributeAdditionalCharges (optional) (boolean: true or false): If it's true the system will distribute the additional charges through the items added to the invoice. By default this value is false. 
  • addAdditionalChargesInUnitPrice (optional) (boolean: true or false). If it's true, the system will show the description of the additional charges in the invoice when they are distributed. If it's false, the system won't show the description of the additional charges in the invoice nor the amount. By default this value its false. This filter will only work when the parameter enableDistributeAdditionalCharges is true.  

  "authenticationToken": "token_goes_here",
  "invoiceId": 11678925



  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • suggestedFileName (string:50): Suggested file name of the invoice generated. 
  • file (array of bytes): Array of bytes that represents the invoice file generated.