@dojocoding/hacienda-mcp 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/{chunk-NJFDE5LL.js → chunk-B2GJ3MA4.js} +1628 -928
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -75,9 +75,10 @@ Create a Factura Electronica (electronic invoice). Accepts emisor, receptor, and
|
|
|
75
75
|
|
|
76
76
|
- `emisor` -- Issuer information (name, ID, email)
|
|
77
77
|
- `receptor` -- Receiver information (name, optional ID, optional email)
|
|
78
|
-
- `
|
|
78
|
+
- `codigoActividadEmisor` -- Issuer economic activity code (6 digits)
|
|
79
|
+
- `proveedorSistemas` -- Invoicing-system provider ID (optional, defaults to the emisor ID)
|
|
79
80
|
- `condicionVenta` -- Sale condition code (default: `"01"` = cash)
|
|
80
|
-
- `medioPago` -- Payment
|
|
81
|
+
- `medioPago` -- Payment method code (default: `"01"` = cash; emitted inside ResumenFactura per v4.4)
|
|
81
82
|
- `lineItems` -- Array of line items with CABYS code, quantity, unit, description, price, and optional tax/discount
|
|
82
83
|
- `plazoCredito` -- Credit term in days (optional)
|
|
83
84
|
|
|
@@ -132,7 +133,7 @@ Generate a draft invoice template with sensible defaults. Returns JSON that can
|
|
|
132
133
|
- `receptorIdTipo` -- Receiver ID type (optional)
|
|
133
134
|
- `receptorIdNumero` -- Receiver ID number (optional)
|
|
134
135
|
- `receptorEmail` -- Receiver email (optional)
|
|
135
|
-
- `
|
|
136
|
+
- `codigoActividadEmisor` -- Activity code (default: `"620100"`)
|
|
136
137
|
- `description` -- Default line item description (default: `"Servicio profesional"`)
|
|
137
138
|
- `amount` -- Default line item amount (default: `0`)
|
|
138
139
|
- `includeIva` -- Include 13% IVA (default: `true`)
|