SendMail API

De tfhkacolwiki
Ir a la navegación Ir a la búsqueda

The SendMail API is a development developed by The Factory HKA team which provides the possibility for the taxpayer to share the Scheduled or previously scheduled Reports by email. It can be used in the demo environment and in the production or when consuming the service through the SendMail API.

@IMPORTANT: For the consumption of this service, two specific urls have been established in the DEMO environment and the PRODUCTION environment, which can be found below:

For more information you can consult the URLs in the following section:

 SendEmail

The structure that must be considered in the construction of the Request and Response of the SendMail service is documented below and in this way guarantee the implementation of this new method:

REQUEST
Parameters to Send
Type Identifier Description
String Nit Document number of the issuing taxpayer.
String CompanyToken Supplied by The Factory HKA Colombia according to the environment to be consulted
TokenPassword
String SecretKey Defined by the issuing taxpayer from the root user through the HKA Electronic Invoice portal in a demo environment and in a production environment COMING SOON
Array <ShippingData> Shipping Data Parameters that make up the SendData Array

Where Class.DatosEnvio contains the following information:

Type Identifier Description
String ReportId Code with which the report to be downloaded is identified.
String Mail Corresponds to the email to which the report will be sent.