Ir a contenido
Crea una cuenta o inicia sesión
Aquileo | Logotipo de la documentación de Stripe
/
Pregúntale a la IA
Crear cuentaIniciar sesión
Empezar
Pagos
Ingresos
Plataformas y marketplaces
Gestión del dinero
Recursos para desarrolladores
API y SDKAyuda
Resumen
Facturación
ResumenAcerca de las API de facturación
Suscripciones
Invoicing
    Resumen
    Cómo funciona la facturación
    Inicio rápido de la API
    Integrar con la API
    Facturación sin necesidad de programación
    Ciclo de vida de la factura
    Previsualización de facturas
    Editar facturas
    Programar la finalización de las facturas
    Transiciones de estado y finalización
    Enviar correos electrónicos a clientes
    Genera notas de crédito
    Facturar a los clientes
    Clientes
    Saldo acreedor del cliente
    ID fiscal de los clientes
    Facturar pagos
    Página de facturas alojadas
    Crea planes de pago de facturas
    Acepta pagos parciales
    Aplicación de pago
    Métodos de pago para las facturas
    Cobros automatizados
      Avance automático de facturas
      Conciliación automática
      Cobro automático
      Cargo automático
    Personalización de facturas
    Personalizar facturas
    Plantillas de representación de facturas
    Agrupa partidas individuales de factura
    Resume las partidas individuales
    Facturación internacional
    Mejores prácticas
    Clientes en múltiples divisas
    Otras funciones de facturación
    Productos y precios
    Gestiona partidas individuales de facturas en bloque
    Impuestos
Facturación basada en el consumo
Presupuestos
Gestión de clientes
Facturación con otros productos
Recuperación de ingresos
Automatizaciones
Scripts
Prueba tu integración
Impuesto
Resumen
Usa Stripe Tax
Tipos impositivos
Gestiona el cumplimiento de la normativa
Elaboración de informes
Resumen
Selecciona un informe
Configura informes
Informes para varias cuentas
API de informes
Reconocimiento de ingresos
Datos
Resumen
Consulta de datos de la empresa
API analítica
Sigma
Data Pipeline
Nueva generación de Data PipelineBase de datos
Importa los datos externos
España
Español (España)
  1. Inicio/
  2. Ingresos/
  3. Invoicing/
  4. Automated collections

Conciliación automática

Let Stripe handle the cash reconciliation for credit transfer payment methods.

Obsoleto

This guide documents the deprecated Sources API implementation of credit transfers. If you currently integrate with Credit Transfers, you must migrate to the Payment Methods API. We’ll send email communication with more information about ending support for the Sources API.

​​Businesses often use credit transfer payments for large deals or new business relationships. Credit transfer payments can generate a lot of manual work for your team. Stripe facilitates this process by accepting transfers that pay open invoices.

For each of your customers, Stripe auto-generates a US virtual bank account number that can be paid in USD with ACH credit or wires. When your customer sees an invoice with this virtual bank account, they can send payment to it. ​​Stripe automatically reconciles the payment with the virtual bank account and the invoice. Stripe then marks the invoice as paid.

Transferencias frente a adeudos

Using automatic reconciliation means that you don’t need to expose your sensitive bank account details to users or manually reconcile open invoices with your bank. With auto-reconciliation for invoices, Stripe can:

  • Match incoming payments with invoice amounts.
  • Manage overpayment or underpayment, when the amount paid doesn’t match the invoice.
  • Reducir la cantidad de llamadas a la API necesarias para transferir fondos a Stripe.
  • Gestionar reintentos de pago de facturas abiertas.

Pay an invoice

If a customer doesn’t have an ach_credit_transfer subhash, Stripe creates one for every invoice. All invoices include instructions on where to send payment. Also, each customer has a unique payment address that’s shared across their invoices. With the ach_credit_transfer subhash, customers can transfer funds through either the US ACH system or domestic wire, and include an invoice number in the memo field.

Nota

Transferencias de crédito ACH solo admite USD.

As soon as a customer makes a transfer, Stripe matches the payment to an invoice by checking for an invoice number in the memo field of the transfer. We fulfill any invoices that we find a match for. If we can’t find a match, we fulfill the oldest outstanding invoice of the same amount. If we can’t find any outstanding invoice that has the same amount, then we’ll fulfill as many outstanding invoices that can be fulfilled with the transfer amount, starting with the oldest payable invoice. When an invoice is fulfilled, an invoice.paid event occurs (you can receive this event by using webhooks).

You can inspect the status of any ACH credit transfer by viewing the list of payment methods for the customer in the Dashboard. You can also see the status by viewing a customer’s sources in the API:

Command Line
curl https://api.stripe.com/v1/customers/cus_9jWC3097MQwYwF/sources \ -u
sk_test_CGGvfNiIPwLXiDwaOfZ3oX6Y
:

Stripe returns a list of sources attached to that customer. The source type for an ACH credit transfer has a value of ach_credit_transfer. In the following response example, the ACH credit transfer receiver is awaiting payment from the customer:

{ "object": "list", "data": [ { "id": "src_19Q3AILlRB0eXbMt81RVDnM9", "object": "source", "amount": null, "client_secret": "src_client_secret_Z0zPIgnR0BVafiMLaJcxI3HS", "created": 1481585102, "currency": "usd", "customer": "cus_9jWC3097MQwYwF", "flow": "receiver", "livemode": false, "metadata": {}, "owner": { "address": null, "email": "jenny.rosen@example.com", "name": null, "phone": null, "verified_address": null,

Occasionally, customers might want to use payment methods outside of Stripe, such as paper checks. In these situations, Stripe allows you to keep track of your invoice’s payment status. After you receive an invoice payment from a customer outside of Stripe, you can manually mark their invoice as paid:

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/invoices/in_18jwqyLlRB0eXbMtrUQ97YBw/pay \ -u "
sk_test_CGGvfNiIPwLXiDwaOfZ3oX6Y
:"
\ -d paid_out_of_band=true

Handle exceptions

Si tu cliente paga un importe que no coincide con el importe de la factura, los fondos no se cobran y permanecen en le objeto Source. Si deseas usar esos fondos para cumplir con

  • Overpayment—If a user sends more funds than the invoice requests, Stripe automatically marks the invoice as paid, using the funds that match the open invoice. The remaining funds stay in the Source receiver. You can manually apply these funds to an invoice. If you have multiple matching open invoices, Stripe applies the funds to the oldest invoice.
  • Underpayment—In your Subscription and emails settings, you can specify rules around underpayment in the Partial payments section. You can specify that within a certain margin of error, Stripe auto-reconciles invoices and credits the difference.

A typical scenario for underpayment might be that a customer’s bank takes funds from the total amount sent. For example, ​​if the customer sends 100 USD to pay their 100 USD invoice, the customer’s bank might take 20 USD, which leaves you with 80 USD. If this difference (which is usually within 20 USD) is acceptable, you can ​​minimize manual effort by specifying this margin ahead of time.

Para otras excepciones:

  • ​If the receiver has enough money to pay your invoice, you can claim those funds in the Dashboard by clicking the Charge customer button on the invoice, or by calling the Pay invoice endpoint and specifying the ACH credit transfer object as the source.
  • ​​If the funds to pay the invoice are insufficient and you don’t forgive the difference, you can ask your customer to send the remaining amount. You can also void the old invoice, open a new one for the lesser amount, and immediately click Charge customer on it.

If your customer has an ACH credit transfer source with sufficient funds, or a credit card or bank account on file, you can use those sources to pay the invoice by calling the Pay invoice endpoint with the source you want to use.

Reembolsar pagos

You can refund ACH credit transfer and check payments through either the Dashboard or the API. However, the customer must specify the account to return the funds to. Stripe automatically contacts the customer at the email address provided. As soon as the customer provides us with their account information, we process the refund automatically.

A refund’s initial status is pending. If the refund fails, ​​you receive the refund.failed event, and the status of the refund transitions to failed. This means Stripe can’t process the refund, and you must return the funds to your customer outside of Stripe. This is rare, but might happen if the refunded account is frozen. Completed refunds have a succeeded status.

Test payment

If ​​you’re in a sandbox, you can simulate transferring money into the receiver by updating the owner email on the source to amount_XXXX@any_domain.com, where XXXX is the amount of money you want to simulate transferring. ​​The payment won’t be associated with the invoice unless Stripe has frozen the invoice from editing. This happens either one hour after webhooks have been delivered, or when you’ve sent the customer an email for the invoice. In the Dashboard, you can immediately send an email by clicking the invoice’s Send invoice button.

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/sources/src_19Q3AILlRB0eXbMt81RVDnM9 \ -u "
sk_test_CGGvfNiIPwLXiDwaOfZ3oX6Y
:"
\ --data-urlencode "owner[email]=amount_1000@example.com"

A few moments after the update request, you can retrieve the receiver parameter:

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/sources/src_19Q3AILlRB0eXbMt81RVDnM9 \ -u "
sk_test_CGGvfNiIPwLXiDwaOfZ3oX6Y
:"

If the update request succeeded, the receiver attribute shows the funds:

{ "object": "list", "data": [ { "id": "src_19Q3AILlRB0eXbMt81RVDnM9", "object": "source", "amount": null, "client_secret": "src_client_secret_Z0zPIgnR0BVafiMLaJcxI3HS", "created": 1481585102, "currency": "usd", "customer": "cus_4fdAW5ftNQow1a", "flow": "receiver", "livemode": false, "metadata": {}, "owner": { "address": null, "email": "amount_1000@test.com", "name": null, "phone": null, "verified_address": null,

In this instance, the customer’s open invoice (of the same amount) transitions to paid. It has a corresponding payment object that displays the details of the payment.

¿Te ha sido útil la página?
SíNo
  • ¿Necesitas ayuda? Ponte en contacto con el equipo de soporte.
  • Chatea con desarrolladores Stripe en Discord.
  • Echa un vistazo a nuestro registro de cambios.
  • ¿Tienes alguna pregunta? Ponte en contacto con el equipo de ventas.
  • ¿LLM? Lee llms.txt.
  • Con tecnología de Markdoc
En esta página