Factuarea APIDevelopers
Contract

Stripe auto-invoicing for subscriptions and customers outside Spain

Connected Stripe accounts gain four document settings, charge rules can apply to subscriptions, and the invoice carries document_language and a recipient without tax ID. The discard_reason catalogue gains ten reasons. Automatic results change for Stripe Tax invoices, plan changes, customers outside Spain and the VAT of another country, and the Stripe App will ask for the tax_rate_read permission. Forty-one updated operations, with their MCP tools.

25 November 2026 — The auto-invoicing of Stripe now handles an account that sells subscriptions with Stripe Tax to customers outside Spain. Four settings of the connected account decide the series, the language, the qualification and the withholding of the documents it creates; a charge rule can leave out one subscription; and the invoice publishes its own language and a recipient without tax ID. Some automatic results also change without you touching anything: read what changes on its own before you reactivate an account. The Stripe auto-invoicing guide explains the whole flow, and the integration event inbox has a row for each new reason.

New fields

All of them are optional and additive: an integration that does not send them needs no changes, and an account that does not set them behaves as before.

  • Connected account — four new keys, simplified_series_id (UUID v7 of a series of simplified invoices, or null), document_language (es, en, ca or null), cross_border_supply (services or goods, services by default) and apply_customer_withholding (a boolean, false by default). The three operations that return an account publish them and the update accepts them. A series that is not of simplified invoices answers 422 business_rule_violation with the subcode series_invoice_kind_mismatch and param simplified_series_id; the other three answer 422 on their own field when the value is outside its catalogue. The MCP tool update_stripe_connected_account accepts the four, and the three tools that return an account publish them. Guide.
  • Charge rules — a new key, applies_to_subscriptions (a boolean, false by default): the rule is also evaluated on the invoices Stripe creates for subscriptions. The four operations that return rules publish it, create and update accept it, and PUT replaces the whole rule, so omitting it sets it back to false. The MCP tools create_stripe_charge_rule and update_stripe_charge_rule accept it, and the four tools that return rules publish it. Guide.
  • Invoice — two new keys, always present. document_language is the own language of the invoice (es, en, ca or null), read-only: no write operation accepts it. recipient is null, except in a complete invoice issued without the recipient's tax ID, where it carries name, address, postal_code, city, province and country and the invoice has no contact (client.id is null). No write operation accepts recipient either. Guide.
  • discard_reason of the integration events — ten new values of the closed catalogue, in the enum of the event and in the filter of the list: stripe_tax_rate_unresolved, stripe_taxability_reason_unsupported, stripe_foreign_vat, stripe_tax_jurisdiction_unknown, reverse_charge_without_vat_id, recipient_details_required, recipient_tax_id_required, subscription_credit_to_balance, customer_balance_applied and withholding_with_stripe_tax. subscription_proration_review is retired: it is no longer recorded, but it stays in the enum because past events carry it. If you branch on discard_reason, handle the new values. Nine of the ten are actionable and none is replayable.

What changes on its own

These cases change the result of a charge of an account that already has auto-invoicing on, without any change of its configuration. Before this release, we measure how many accounts fall in each row and warn their companies.

CaseBeforeNow
Stripe invoice with Stripe Tax and a price without VATReview: the total did not matchInvoice with the VAT of Stripe
Stripe invoice with Stripe Tax and a tax of 0Invoice with the default VAT inside the priceInvoice without VAT and with its cause (N2, or E5 and E2 with goods)
Payer with a Spanish VAT numberSimplified invoice or reviewComplete invoice
Payer with an identifier of another countrySimplified invoice or reviewComplete invoice
Payer from outside Spain without an identifierSimplified invoiceComplete invoice without the recipient's NIF, or review
Plan change with a positive amountReviewInvoice
Cycle or plan change paid in part with the customer balanceInvoice for the totalReview, customer_balance_applied
Email of an invoice of a company whose issuing language is not SpanishIn SpanishIn that language
Partial corrective of an invoice with withholdingWithout withholdingWith the withholding of the original
Charge with the tax of another countryInvoice with that rate as Spanish VAT (Checkout), with the default VAT, or review for a total that does not match (Stripe invoice)Review, stripe_foreign_vat
Stripe invoice with a tax of a Spanish rate to a customer in another country, in an account that has not accepted tax_rate_readInvoice with Spanish VAT, or review for a total that does not matchReview, stripe_tax_jurisdiction_unknown, until the account accepts the permission

In short: a charge can go from review to invoice (Stripe Tax with a price without VAT, a plan change), from simplified invoice to complete invoice (a payer with an identifier of any country, or a payer outside Spain), and from invoice to review (the customer balance and the tax of another country). Everything else, namely the simplified series, the language, the withholding and the rules in subscriptions, changes nothing until you configure it. The import option that keeps the literal number is only in the app.

New permission of the Stripe App

To know which country a tax belongs to, Factuarea reads the Stripe tax rate of the invoices of Stripe, and that needs a new read-only permission of the Factuarea Stripe App, tax_rate_read. The version of the app that asks for it, 0.1.3, is coming soon: it is not published in Stripe yet, and when it is, each account has to accept the permission from its Stripe Dashboard. Until then nothing fails and no account is asked to reauthorise: the country is unknown and the decision uses the rate and the address of the customer, which is why the last row above can send to review a charge that used to be invoiced. How the country is recognised.

What to check in your integration

  • discard_reason. Handle the ten new values and the retirement of subscription_proration_review. Their discard_reason_label is in Spanish and their recommended_action says what to do.
  • Invoices without a contact. A complete invoice without the recipient's NIF has client.id at null and a recipient. If you read the customer of an invoice, read recipient when there is no client.id.
  • Plan changes. They now arrive as invoices with the origin subscription and the event invoice.subscription_auto_created, and GET /v1/companies/{company}/stripe-autoinvoicing/payments lists them with origin=subscription, like the sign-up and the threshold charge of a subscription.
  • Facturae and FACe. A complete invoice without the recipient's tax ID cannot be exported to Facturae or submitted to FACe, and neither can an invoice without a recipient: both answer 422 facturae_buyer_required. Its duplicate answers 422 invoice_not_duplicatable_in_current_state.
  • Rules. Review your charge rules: one with applies_to_subscriptions at true leaves a subscription invoice out of invoicing.
  • SDKs. They pin their own generated catalogs. Check the version you have installed before relying on the typed keys; the JSON always carries them.

Operations in this release

OperationoperationIdMCP toolWhat changes
GET /v1/companies/{company}/connected-accountspublic-api.v1.stripe_autoinvoicing.accounts.listlist_stripe_connected_accountsEach account carries simplified_series_id, document_language, cross_border_supply and apply_customer_withholding.
GET /v1/companies/{company}/connected-accounts/{account}public-api.v1.stripe_autoinvoicing.accounts.showget_stripe_connected_accountThe account carries simplified_series_id, document_language, cross_border_supply and apply_customer_withholding.
PATCH /v1/companies/{company}/connected-accounts/{account}public-api.v1.stripe_autoinvoicing.accounts.updateupdate_stripe_connected_accountIt accepts simplified_series_id, document_language, cross_border_supply and apply_customer_withholding, returns them, and answers 422 for a series that is not of simplified invoices or a value outside the catalogue.
GET /v1/companies/{company}/connected-accounts/{account}/charge-rulespublic-api.v1.stripe_autoinvoicing.accounts.charge_rules.listlist_stripe_charge_rulesEach rule carries applies_to_subscriptions.
POST /v1/companies/{company}/connected-accounts/{account}/charge-rulespublic-api.v1.stripe_autoinvoicing.accounts.charge_rules.createcreate_stripe_charge_ruleIt accepts applies_to_subscriptions and returns it.
PUT /v1/companies/{company}/connected-accounts/{account}/charge-rules/orderpublic-api.v1.stripe_autoinvoicing.accounts.charge_rules.reorderreorder_stripe_charge_rulesThe rules come back with applies_to_subscriptions.
PUT /v1/companies/{company}/connected-accounts/{account}/charge-rules/{rule}public-api.v1.stripe_autoinvoicing.accounts.charge_rules.updateupdate_stripe_charge_ruleIt replaces the rule, including applies_to_subscriptions: omitting it sets it back to false.
GET /v1/companies/{company}/stripe-autoinvoicing/paymentspublic-api.v1.stripe_autoinvoicing.payments.listlist_stripe_autoinvoiced_paymentsThe origin subscription also covers the sign-up, the plan change and the threshold charge of a subscription, not only its renewals.
GET /v1/companies/{company}/integrations/eventspublic-api.v1.integrations.events.listlist_integrations_eventsThe filter and the discard_reason of each event accept the ten new values.
GET /v1/companies/{company}/integrations/events/{event}public-api.v1.integrations.events.showget_integrations_eventThe discard_reason of the event can be any of the ten new values, with its label and its recommended action.
POST /v1/companies/{company}/integrations/events/{event}/replaypublic-api.v1.integrations.events.replayreplay_integrations_eventThe event it returns can carry any of the ten new values.
GET /v1/companies/{company}/invoicespublic-api.v1.invoices.listsearch_invoicesEach invoice carries document_language and recipient.
POST /v1/companies/{company}/invoicespublic-api.v1.invoices.createcreate_invoiceThe invoice carries document_language and recipient.
GET /v1/companies/{company}/invoices/{invoice}public-api.v1.invoices.showget_invoiceThe invoice carries document_language and recipient.
PATCH /v1/companies/{company}/invoices/{invoice}public-api.v1.invoices.updateupdate_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/find-by-numberpublic-api.v1.invoices.find_by_numberfind_invoice_by_numberThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/find-by-external-idpublic-api.v1.invoices.find_by_external_idfind_invoice_by_external_idThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/duplicatepublic-api.v1.invoices.duplicateduplicate_invoiceThe invoice carries document_language and recipient, and a complete invoice without the recipient's tax ID cannot be duplicated: 422 invoice_not_duplicatable_in_current_state.
POST /v1/companies/{company}/invoices/{invoice}/issuepublic-api.v1.invoices.issueissue_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/sendpublic-api.v1.invoices.sendsend_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/mark-sentpublic-api.v1.invoices.mark_sentmark_invoice_as_sentThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/unsendpublic-api.v1.invoices.unsendmark_invoice_unsentThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/mark-paidpublic-api.v1.invoices.mark_paidmark_invoice_as_paidThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/schedulepublic-api.v1.invoices.scheduleschedule_invoiceThe invoice carries document_language and recipient.
PATCH /v1/companies/{company}/invoices/{invoice}/reschedulepublic-api.v1.invoices.reschedulereschedule_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/unschedulepublic-api.v1.invoices.unscheduleunschedule_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/annulpublic-api.v1.invoices.annulannul_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/voidpublic-api.v1.invoices.voidvoid_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/assign-real-numberpublic-api.v1.invoices.assign_real_numberassign_invoice_real_numberThe invoice carries document_language and recipient.
POST /v1/companies/{company}/invoices/{invoice}/correctivepublic-api.v1.invoices.correctivecreate_corrective_invoiceThe corrective invoice carries document_language and recipient.
GET /v1/companies/{company}/invoices/{invoice}/correctivespublic-api.v1.invoices.correctivesget_invoice_correctivesEach corrective invoice carries document_language and recipient.
GET /v1/companies/{company}/invoices/{invoice}/facturaepublic-api.v1.invoices.facturaeget_invoice_facturae_linkAn invoice without a recipient, or a complete one without the recipient's tax ID, answers 422 facturae_buyer_required: the Facturae needs a buyer with a tax ID.
POST /v1/companies/{company}/invoices/{invoice}/face-submissionspublic-api.v1.invoices.face_submissions.submitsend_invoice_to_faceAn invoice without a recipient, or a complete one without the recipient's tax ID, answers 422 facturae_buyer_required: the Facturae that is submitted needs a buyer with a tax ID.
POST /v1/companies/{company}/invoices/substitute-simplifiedpublic-api.v1.invoices.substitute_simplifiedsubstitute_simplified_invoiceThe invoice carries document_language and recipient.
POST /v1/companies/{company}/quotes/{quote}/convertpublic-api.v1.quotes.convertconvert_quoteThe invoice it creates carries document_language and recipient.
POST /v1/companies/{company}/proformas/{proforma}/convertpublic-api.v1.proformas.convertconvert_proformaThe invoice it creates carries document_language and recipient.
POST /v1/companies/{company}/delivery-notes/{delivery_note}/convertpublic-api.v1.delivery_notes.convertconvert_delivery_noteThe invoice it creates carries document_language and recipient.
GET /v1/companies/{company}/eventspublic-api.v1.events.listlist_eventsThe invoice that an event carries has document_language and recipient.
GET /v1/companies/{company}/events/{event}public-api.v1.events.showget_eventThe invoice that the event carries has document_language and recipient.
GET /v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveriespublic-api.v1.webhook_endpoints.deliveries.listlist_webhook_deliveriesThe invoice that the event of a delivery carries has document_language and recipient.
GET /v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveries/{delivery}public-api.v1.webhook_endpoints.deliveries.showget_webhook_deliveryThe invoice that the event of the delivery carries has document_language and recipient.

Updated endpoints41

EndpointDescription
GET/v1/companies/{company}/connected-accountsList connected Stripe accounts
GET/v1/companies/{company}/connected-accounts/{account}Retrieve a connected Stripe account
PATCH/v1/companies/{company}/connected-accounts/{account}Update a connected Stripe account
POST/v1/companies/{company}/connected-accounts/{account}/charge-rulesCreate a charge treatment rule
GET/v1/companies/{company}/connected-accounts/{account}/charge-rulesList charge treatment rules of a connected Stripe account
PUT/v1/companies/{company}/connected-accounts/{account}/charge-rules/orderReorder the charge treatment rules
PUT/v1/companies/{company}/connected-accounts/{account}/charge-rules/{rule}Update a charge treatment rule
GET/v1/companies/{company}/stripe-autoinvoicing/paymentsList Stripe autoinvoiced charges
GET/v1/companies/{company}/integrations/eventsList integration events
POST/v1/companies/{company}/integrations/events/{event}/replayReplay a parked integration event
GET/v1/companies/{company}/integrations/events/{event}Retrieve an integration event
POST/v1/companies/{company}/invoices/{invoice}/annulAnnul an invoice
POST/v1/companies/{company}/invoices/{invoice}/assign-real-numberAssign a real invoice number
POST/v1/companies/{company}/invoices/{invoice}/correctiveGenerate corrective invoice
GET/v1/companies/{company}/invoices/{invoice}/correctivesList corrective invoices
POST/v1/companies/{company}/invoicesCreate an invoice
POST/v1/companies/{company}/invoices/{invoice}/duplicateDuplicate an invoice
POST/v1/companies/{company}/invoices/{invoice}/face-submissionsPrepare or continue a FACe submission
GET/v1/companies/{company}/invoices/{invoice}/facturaeDownload current or retained Facturae XML
POST/v1/companies/{company}/invoices/find-by-external-idFind an invoice by external ID
POST/v1/companies/{company}/invoices/find-by-numberFind an invoice by number
POST/v1/companies/{company}/invoices/{invoice}/issueIssue an invoice
GET/v1/companies/{company}/invoicesList all invoices
POST/v1/companies/{company}/invoices/{invoice}/mark-paidMark invoice as paid
POST/v1/companies/{company}/invoices/{invoice}/mark-sentMark an invoice as sent
PATCH/v1/companies/{company}/invoices/{invoice}/rescheduleReschedule an invoice
POST/v1/companies/{company}/invoices/{invoice}/scheduleSchedule an invoice
POST/v1/companies/{company}/invoices/{invoice}/sendSend invoice by email
GET/v1/companies/{company}/invoices/{invoice}Retrieve an invoice
POST/v1/companies/{company}/invoices/substitute-simplifiedSubstitute simplified invoices with full invoice
POST/v1/companies/{company}/invoices/{invoice}/unscheduleUnschedule an invoice
POST/v1/companies/{company}/invoices/{invoice}/unsendUnsend an invoice
PATCH/v1/companies/{company}/invoices/{invoice}Update an invoice
POST/v1/companies/{company}/invoices/{invoice}/voidVoid an invoice
POST/v1/companies/{company}/delivery-notes/{delivery_note}/convertConvert delivery note to invoice
POST/v1/companies/{company}/proformas/{proforma}/convertConvert proforma to invoice
POST/v1/companies/{company}/quotes/{quote}/convertConvert quote to invoice
GET/v1/companies/{company}/eventsList all events
GET/v1/companies/{company}/events/{event}Retrieve an event
GET/v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveriesList webhook deliveries
GET/v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveries/{delivery}Retrieve webhook delivery

On this page

Need a hand?Contact support