Netzo Logo

contpaqicomercial

API to integrate a on-premise CONTPAQi Comercial server.

The third-party CONTPAQi API is a separate application that requires a license. Contact the developer or send an email to obtain an API key and installation instructions.

Usage

import { contpaqicomercial } from 'netzo/apis/contpaqicomercial.ts'

const api = contpaqicomercial({
  apiKey: Deno.env.get('CONTPAQICOMERCIAL_API_KEY'),
  companyRfc: Deno.env.get('CONTPAQICOMERCIAL_COMPANY_RFC'),
})

Configuration

The contpaqicomercial factory function expects an object with the following, and returns an object with an API client api.

ParamTypeDefaultDescription
apiKeystringDeno.env.get('CONTPAQICOMERCIAL_API_KEY')the api key to use for authentication
companyRfcstringDeno.env.get('CONTPAQICOMERCIAL_COMPANY_RFC')the rfc (mexican taxId) of the company
Refer to the API documentation to get the required information.

References