einvoice_config_save
Set up or modify e-invoice provider configurations for companies. Enable providers and assign API credentials for XRechnung, SDI, KSeF, FacturX, or ANAF.
Instructions
Create or update an e-invoice provider configuration for a company. Use this to enable a provider and set API credentials. Config is provider-specific JSON: xrechnung requires {clientId, clientSecret} for ZRE API; sdi requires {certPath, certPassword} or {apiEndpoint, apiKey} for intermediary; ksef requires {authToken, nip}; facturx requires {clientId, clientSecret, siret} for Chorus Pro. ANAF config is managed separately via ANAF tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Provider-specific configuration as JSON object | |
| enabled | No | Whether this provider is active (default: true) | |
| provider | Yes | E-invoicing provider to configure | |
| companyId | No | Company UUID (uses default if not specified) |