You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Magento:手动设置发票编号(禁用自动编号,适配SAP开票场景)

Does Magento support manual invoice numbers?

Absolutely, Magento does support manual invoice numbers—this is a super common scenario for teams that handle invoicing in external systems like SAP and need to sync those numbers back manually. Here’s how to make it work for your workflow:

  • First, verify your invoice number configuration
    Before diving in, double-check that Magento’s auto-generate settings don’t block manual input. Head to Stores > Settings > Configuration > Sales > Sales > Invoice and Credit Memo Numbers. You can either disable "Generate Invoice Number Automatically" entirely, or leave it enabled (many Magento versions let you override the auto-populated number when creating invoices manually—just test this in your staging environment first to be safe).

  • Step-by-step to enter your SAP invoice number

    1. Go to Sales > Orders in your Magento admin panel.
    2. Locate the order you need to invoice and click into its detail page.
    3. Hit the Invoice button in the top-right corner of the order screen.
    4. On the invoice creation page, look for the Invoice Number field (it’s typically near the top, under the core order details).
    5. Erase any auto-generated number that’s pre-filled, then type in your SAP-generated invoice number directly.
    6. Fill out any other required invoice details (like selecting items to invoice, confirming shipping info) and click Submit Invoice to save.
  • Key things to keep in mind

    • Avoid duplicate numbers: Magento will throw an error if you try to use an invoice number that’s already been assigned to another order, so make sure your SAP numbers are unique within your Magento instance.
    • Version/extension variations: If you’re on Magento 2, the exact placement of the invoice number field might shift a bit depending on your specific version or installed extensions, but it will always be available on the manual invoice creation screen.
    • Bulk options (if needed): If you end up having a lot of invoices to sync, you could build a simple custom script or use a lightweight extension to import SAP numbers in batches. But for manual, one-off entries, the steps above will work perfectly.

内容的提问来源于stack exchange,提问作者Steve

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 06:46:12