====== Document Status Method ====== %%Allows the user to query the status of a document by indicating its number.%% ^ **%%REQUEST: Parameters to send%%** |||||^ ^ **%%Type%%** |^ **%%Identifier%%** |^ **%%Description%%** |^ | %%String%% || %%tokenEmpresa/tokenPassword%% || %%Supplied by EBI%% || | %%Object%% || %%documentoElectronico%% || %%See details below%% || ^ **%%datosDocumento (Document data)%%** |||||^ ^ **%%Type%%** ^ **%%Required%%** |^ **%%Format%%** ^ **%%Identifier%%** ^ **%%Description%%** ^ | %%String%% | %%YES%% || %%N|2%% | %%codigoSucursalEmisor%% | %%0000: Main location 0001 onwards: Other locations; numbers and letters allowed.%% | | %%String%% | %%YES%% || %%N|10%% | %%numeroDocumentoFiscal%% | %%Number of the tax document in the corresponding sequence, from 0000000001 to 9999999999, restarting the sequence is not allowed. Fill with zeros the positions to the left.%% | | %%String%% | %%YES%% || %%N|3%% | %%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|2%% | %%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.%% | ^ **%%estadoDocumentoResponse (Document status RESPONSE): Parameters to be received%%** ||^ ^ **%%Type%%** ^ **%%Identifier%%** ^ **%%Description%%** ^ | %%String%% | %%codigo%% | %%Code corresponding to the result of the operation%% | | %%String%% | %%mensaje%% | %%Return message%% | | %%String%% | %%fechaEmisionDocumento%% | %%Document Issue Date%% | | %%String%% | %%fechaRecepcionDocumento%% | %%Date Document Received%% | | %%String%% | %%estatusDocumento%% | %%Status of document consulted%% | | %%String%% | %%mensajeDocumento%% | %%Date of authorization according to the DGI%% | | %%String%% | %%resultado%% | %%Return Message%% |