sgrTrocarNota
Method that makes it possible to exchange invoices
PARAMETERS
Field | Type | Req. | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
cdclient | integer | Yes | Client code, returned by the sgrListCompaniesPASUser method. |
cdviagem | integer | No* | Boarding authorization number. * It is mandatory to enter the number of the AE or the schedule. |
rrprogramacao | string | No* | Schedule number. * It is mandatory to enter the number of the AE or schedule. |
nrdoctroca | string | Yes | Number of the document to be replaced. |
newdocument | object | Yes | List of documents. To use this parameter you must create an array of type sgrDocumentProductsSeqV2. |