DOCUMENTATION

Searching relationship of the document

Name: ListarDocumento

This function has the purpose of to consult the registered documents.

Input format:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<documentoeletronico>
        <sessao>XXXX</sessao> 
        <documento>
            <status>XXXX</status>
        </documento>
</documentoeletronico>
Parameter Format Required Description
sessao Text Y Registered access key for your company
documento Text Y Node for defining documents to be inserted
status Text Y Document status. Possible values:
  • A - In force / Active;
  • B - Blocked;
  • C - Canceled;
  • D - Defining Roles;
  • G - Waiting for activation of another contract;
  • P - Pending signature/approval/acceptance;
  • R - Refused;
  • T - Document waiting for Time Stamp;
  • V - Expired document;
  • X - all documents.

Output format:

<?xml version="1.0" encoding="ISO-8859-1"?>
<documentoeletronico>
    <CodErro/>
    <MsgErro/>
        <documentos>
        <documento docto_referencia="" docto_status="" docto_validade="" />
        <documento docto_referencia="" docto_status="" docto_validade="" />
        </documentos>
</documentoeletronico>
Parameter Format Description
CodErro Numeric Error code (See Error Codes).
MsgErro Text Error message.
docto_referencia Text Document reference.
docto_status Text Document status. Possible values:
  • A - In force/Active;
  • B - Blocked;
  • C - Canceled;
  • D - Defining Roles;
  • E - Error in closing a part;
    • It can occur in two situations:

      1 - A party was without a representative to make a signature. Example: It was defined that a representative signs two different parties with the same CNPJ. At the time the representative signs the first part, it is automatically removed from the second part, the latter party being without a representative. The contract will enter status "E", error, warning that a party is without a representative;

       

      2 - Insufficient number of signatures in the party. Example: Client uses minimum signatures for party closure. A minimum quantity of two signatures was defined for a particular relationship, but in the contract only one representative was included in the party. At the moment the representative makes the signature, the contract will enter the status "E", error, warning that this part can not be closed due to the minimum amount of requested signature.

  • G - Waiting for activation of another contract;
  • P - Pending signature/approval/acceptance;
  • R - Refused;
  • T - Waiting for Time Stamp;
  • V - Expired.
docto_validade Text Expiring date of the document.