meta data de esta página
  •  

Anulacion () Method

Allows the user to cancel generated documents in which the operation recorded in a E-bill is not performed after the bill is authorized.

REQUEST: Parameters to send
Type Identifier Description
String tokenEmpresa/tokenPassword Supplied by The Factory HKA
String motivoAnulacion Cancellation reason
Object datosDocumento See details below
datosDocumento (Document data)
Type Required Format Identifier Description
String YES AN|4 codigoSucursalEmisor 0000: head office. 0001 onwards: other branches. You can use numbers and letters.
String YES N|3 numeroDocumentoFiscal Number of the tax document in the corresponding series, from 0000000001 to 9999999999, restarting the numbering is not allowed. Fill with zeros the positions to the left.
String YES N|10 puntoFacturacionFiscal Billing point of the tax document. The series serves to allow independent invoice numbering sequences. The value "zero" is not allowed. Fill with zeros the positions to the left.
String YES N|4 tipoDocumento 01: Internal bill 02: Import bill 03: Export bill 04: Credit note referring to a E-bill 05: Debit note referring to a E-bill 06: Generic credit note 07: Generic debit note 08: Free Zone bill 09: Reimbursement.
String YES N|2 tipoEmision 01: Prior Authorization, normal operation. 02: Prior Authorization, contingency operation. 03: Post emission Authorization, normal operation. 04: Post emission Authorization, contingency operation.