Email a payment reminder (sollecito)
Emails a payment reminder for an unpaid issued invoice, with the PDF and the payment link. Automatic reminders (days after the due date) are set per company in the app. Test keys (gb_test_…) only reach sandbox invoices, and their emails go to the team owner only, never to the customer (sent_to shows where it went).
Emails a payment reminder for an unpaid issued invoice, with the PDF and the payment link. Automatic reminders (days after the due date) are set per company in the app. Test keys (gb_test_…) only reach sandbox invoices, and their emails go to the team owner only, never to the customer (sent_to shows where it went).
apiKeyAuthorizationBearer <token>API key: gb_test_… or gb_live_…
id*stringIdempotency-Key?stringRecommended. Retrying with the same key and body within 24 hours replays the first response (header Idempotent-Replayed: true) instead of acting twice. The same key with a different body returns 422 idempotency_key_reused.
length <= 255Getbeel-Company?stringAct on one of the account's client companies (its id from GET /companies) instead of the key's own account. 404 company_not_found when the key cannot act on it.
uuidapplication/json- body
to?array<>Recipients; default: the customer's email on the invoice
1 <= items <= 10cc?array<>Email addresses copied on the email, up to 10. Ignored with a test key (the email goes only to the team owner).
items <= 10language*string"it""it""en"message?stringA note shown above the invoice summary
length <= 2000OK
application/json- response
object*stringid*string^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidinvoice_id*stringkind*string"invoice""reminder"to*array<string>cc*array<string>sent_to*array<string>Where it actually went: to for live invoices; for sandbox invoices (test keys) only the team owner, never the customer
sandbox*booleanlanguage*string"it""en"status*string"sending""sent""failed"reminder_day*|Automatic reminders: days after the due date
provider_message_id*string|nullerror*string|nullcreated_at*string^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timecurl -X POST 'https://www.getbeel.com/api/v1/invoices/string/reminders' \ -H 'Content-Type: application/json' \ -d '{ "language": "it"}'{ "object": "invoice_email", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoice_id": "string", "kind": "invoice", "to": [ "string" ], "cc": [ "string" ], "sent_to": [ "string" ], "sandbox": true, "language": "it", "status": "sending", "reminder_day": -9007199254740991, "provider_message_id": "string", "error": "string", "created_at": "2019-08-24T14:15:22Z"}Create a Stripe payment link POST
A Stripe payment link for what is still due, on the team's connected Stripe account (Stripe Connect). Returns the existing link (200) when the invoice has one. Invoice emails and reminders include it while the invoice is unpaid; payments made through it are recorded within the hour. Sandbox invoices need a Stripe test-mode connection.
Validate a FatturaPA XML without sending it POST
Validates locally against the official FatturaPA XSD (v1.2.3) and the SDI content controls of Allegato A v1.9.1 (Appendice 1) that depend on the file alone, the same check that runs before every send (no SDI call, nothing stored). Errors carry the AdE code and wording (00200 for XSD errors, with the line). Not checked: signatures, AdE registries (partita IVA, codice destinatario), duplicates. Returns 200 with `valid` and `errors` for any FatturaPA document; 413 above 5 MB.