DeleteProduct API
The DeleteProduct API is a development developed by The Factory HKA team which offers the taxpayer the possibility of updating a product that belongs to the catalog of products registered on the HKA Invoice portal, to create an electronic document. , and later you can view them on the HKA Invoice portal in a demo environment and in a production environment or when consuming the service through the DeleteProduct 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:
DeleteProduct
The structure that must be considered in the construction of the Request and Response of the DeleteProduct 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 <Products> | Products | Parameters that make up the class InvoiceDetail of the Invoice Object' |
Where Class.Products contains the following information:
- RESPONSE
- Parameters to Receive ArrayCustomerAddress
Type | Identifier | Description |
---|---|---|
String | ProductId | Identifier of the product to be deleted configured in HKA Invoice. |