Account
Preview a bulk import of managed accounts
Preview, with no effect, a bulk import of managed accounts and own tax IDs: send the same multipart/form-data body you would apply.
- Returns each row's status, errors, plan and amounts, plus totals; nothing is written or charged.
- Needs no Idempotency-Key; limits are 5 MB per file and 100 account rows.
- Requires the privileged accounts:write scope.
post/accounts/imports/preview
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/accounts/imports/preview
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Headers
Factuarea-Versionstring date
Example:2026-06-01
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
Response
Example response
{
"data": {
"object": "managed_account_import_preview",
"rows": [
{
"line": 2,
"mode": "managed_account",
"external_ref": "cliente-0042",
"tax_id": "B12345674",
"status": "VALID",
"errors": {},
"error_codes": {},
"plan": "empresario",
"monthly_amount_cents": 3500,
"proration_amount_cents": 1750,
"account_id": "0199a1f0-1c22-7a10-b111-6a6b6c6d6e6f",
"customers_status": "queued",
"customers_queued": 3,
"name": "Talleres García SL"
}
],
"totals": {
"total_rows": 3,
"valid": 2,
"blocked": 1
},
"cost": {
"currency": "EUR",
"managed_account": {
"monthly_amount_cents": 3500,
"proration_amount_cents": 1750,
"tax_amount_cents": 368,
"total_amount_cents": 2118,
"tax_rate": 21,
"next_invoice_date": "2026-11-01T00:00:00+00:00",
"recurring_quantity": 3,
"recurring_base_cents": 3500,
"recurring_total_cents": 4235,
"monthly_tax_amount_cents": 735,
"monthly_total_cents": 4235
},
"own_nif": {
"monthly_amount_cents": 1500,
"proration_amount_cents": 750,
"tax_amount_cents": 158,
"total_amount_cents": 908,
"tax_rate": 21,
"next_invoice_date": "2026-11-01T00:00:00+00:00",
"recurring_quantity": 3,
"recurring_base_cents": 1500,
"recurring_total_cents": 1815,
"monthly_tax_amount_cents": 315,
"monthly_total_cents": 1815
},
"total": {
"monthly_amount_cents": 5000,
"proration_amount_cents": 2500,
"tax_amount_cents": 525,
"total_amount_cents": 3025,
"tax_rate": 21,
"next_invoice_date": "2026-11-01T00:00:00+00:00",
"recurring_quantity": 3,
"recurring_base_cents": 5000,
"recurring_total_cents": 6050,
"monthly_tax_amount_cents": 1050,
"monthly_total_cents": 6050
}
},
"own_company_customers": {
"status": "VALID",
"customers_queued": 12
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.