Actions12
- NIT Actions
- Indicator Actions
- Emitir Factura Actions
NIT → Formatear
AI-generatedSummary
Format a given NIT string into the standard Colombian format with pattern XXX.XXX.XXX-X.
Inputs
- NIT (required) — The NIT string to format, e.g., "900.123.456-7".
Output shape
a single record with the formatted NIT string returned in the 'response' field within a JSON array
Returns an array containing one JSON object with keys 'success', 'statusCode', 'response' (the formatted NIT), 'error' (null if successful), and 'input' (echoing the original input). If the formatting fails, 'success' is false and 'error' explains the failure.
Examples
Example 1: Formatting a plain numeric NIT input
Provide the raw NIT string without formatting punctuation as input to the 'NIT' parameter under resource 'NIT' and operation 'Formatear'. The node formats it to the standard pattern with dots and dash.