Moloni¶
Moloni is a certified billing and accounting platform widely used in Portugal. FaturaSync connects to it via API to create draft documents.
Setup¶
You need four credentials:
| Field | What it is |
|---|---|
| Client ID | App identifier from Moloni Developer Portal |
| Client Secret | App secret from Moloni Developer Portal |
| Your Moloni login email | |
| Password | Your Moloni login password |
Get your Client ID and Secret¶
- Go to moloni.pt/developers and log in with your Moloni account
- Click Criar aplicação (Create application) — or select an existing one
- Fill in a name (e.g. "FaturaSync") and a redirect URL (can be
https://faturasync.app) - After creating, your Client ID and Client Secret are displayed — copy both
Developer Portal access
Any Moloni account can access the Developer Portal at no extra cost. You don't need a special plan.
Connect to FaturaSync¶
- Go to Settings in FaturaSync
- Select Moloni as your invoicing provider
- Enter your Client ID, Client Secret, Email, and Password
- Click Save
FaturaSync will authenticate and confirm the connection.
How drafts are created¶
When you click Create Draft in FaturaSync:
- FaturaSync authenticates with Moloni using your credentials
- A draft document is created in your Moloni account
- The document includes guest name, service description, amount, and IVA
Document types¶
Moloni supports multiple document types. FaturaSync creates the appropriate type based on your settings — typically an invoice (fatura) or simplified invoice (fatura simplificada).
Finding your drafts in Moloni¶
- Log in to Moloni
- Go to Documents (Documentos)
- Filter by draft status
- Review and finalize your FaturaSync-generated documents
Troubleshooting¶
- "Authentication failed" — Verify all four credentials are correct, especially the email and password
- "Client not found" — Check your Client ID and Secret from the Developer Portal
- Document type errors — Ensure your Moloni account has the required document types configured