modifyReqPropertiesBeforeSend(context)
To access the LATAM E-Document Certification SuiteApp documentation in Brazilian Portuguese (Português do Brasil), see LATAM E-Document Certification.
Function Declaration |
|
Type |
Interface function |
Description |
Modifies properties of the request before sending it to tax authority. Currently, you can only change the URL property. This function should only be used if you need to modify the certification environment URL before sending the certification request to the tax authority. If not, you do not need to implement this function. |
Returns |
|
Input Parameters |
Example
function modifyReqPropertiesBeforeSend(context) {
var customizedUrl = context.url;
customizedUrl.replace('{ChaveAcesso}', "ABC1234");
return {url: customizedUrl};
};