- Add ES-scoped issuer certificate file uploads, representation verification, submission-verification retries and pending-change cancellation.
- Expose active submission readiness and pending verification results from the deployed API contract (47 operations).
- Keep certificate uploads as native multipart requests without automatic retries.
All notable changes to the FiscalRail Python SDK are documented here.
- Match the deployed current-account API routes and split invoicing settings into a dedicated resource.
- Use
/tax-ids/{id}for tax ID retrieval. - Regenerate response and request types from the updated FiscalRail OpenAPI contract.
- Add
client.balances.retrieve(account_id)with precise decimal amounts and response metadata. - Add
client.account_tax_regimes.retrieve(account_id)with typed Global and Spanish responses, including nullable Spanish representation details. - Refresh generated types against the published OpenAPI contract, including account address updates, restoring coverage of all 42 public operations.
- Align the version with the initial Ruby SDK release.
- Add
client.payment_instructionswith create, retrieve, update, list, and delete operations for bank-transfer instructions. - Add account default payment instructions and invoice payment terms to the generated request and response types.
- Decode rendered payment options, including their snapshotted bank details and invoice payment reference.
- Add
InvalidPaymentInstructionErrorfor payment-instruction validation failures.
- Update the Account model for nested default series and account-wide invoice numbering scope.
- Add
client.accounts.update()for changing Account invoicing settings. - Add customer invoice prefixes to response and create/update parameter types.
- Add a typed, pooled
requestsclient for the complete FiscalRail API. - Generate immutable response dataclasses, request
TypedDicts, enums, and the operation registry from FiscalRail's published OpenAPI contract. - Add automatic safe retries and idempotency support for invoice issuance and amendments.
- Add webhook signature verification with timestamp tolerance.
- Add country-specific Spanish IVA and IRPF helpers.