Generate compliant ZUGFeRD hybrid e-invoices (a visual PDF with embedded EN 16931 CII XML data) for German customers directly from NetSuite. ZoneCapture attaches the finished file to the transaction, so your finance team controls when and how it reaches the customer.
Note: Clicking on the images within this guide will enlarge them for better viewing.
Overview
ZoneCapture sends the invoice data and the rendered PDF to Ecosio, which creates the hybrid ZUGFeRD document. ZoneCapture then attaches the document back to the NetSuite transaction record.
Important: Generating a ZUGFeRD file attaches the hybrid PDF to the transaction record in NetSuite. Neither ZoneCapture nor Ecosio automatically emails or delivers the file to your customer. Manually send the generated PDF from NetSuite.
Prerequisites
Verify that the transaction meets all of the following conditions before you generate ZUGFeRD:
- Transaction type: The transaction is an Invoice or Credit Memo.
- Approval status: The transaction is Approved. Unapproved transactions cannot generate e-invoices.
- Subsidiary: The transaction belongs to a German subsidiary set up with an Ecosio e-document station.
- Bill-to address: The bill-to address is in Germany (Country = Germany).
- Customer setup: The ZUGFeRD Enabled checkbox is selected on the customer record.
Generate a ZUGFeRD PDF
Please note that this process is not instant. After clicking Generate ZUGFeRD, allow 15–30 minutes for the scheduled background scripts to run, request the file, and retrieve it from ecosio.
Generate on demand
- Open the approved Invoice or Credit Memo in NetSuite.
- Click Generate ZUGFeRD in the top action bar.
- Review the confirmation prompt.
- Click OK.
The button label changes as generation progresses:
- Generate ZUGFeRD
- Generating ZUGFeRD in progress
- Regenerate ZUGFeRD
Generate automatically on save
If the Automatically Generate ZUGFeRD checkbox is selected on the customer record, ZoneCapture starts generation in the background whenever you save a transaction.
- Create, edit, or copy an Invoice or Credit Memo.
- Click Save. ZoneCapture initiates generation automatically.
If you open the record while generation is running, the button displays Generating ZUGFeRD in progress. Click the button to display an advisory message confirming that processing is already underway.
How background processing works
ZoneCapture coordinates with Ecosio using automated Map/Reduce scripts:
- Request queue: Clicking Generate ZUGFeRD ticks the ZUGFeRD Requested checkbox in the ZoneCapture subtab.
Transmission to Ecosio: ZoneCapture bundles the transaction UBL XML with the visual PDF and transmits both to Ecosio. ZoneCapture creates an E-invoice Send Document Attempt record with Is ZUGFeRD set to true.
- Ecosio generation: Ecosio combines the visual PDF and the structured XML into a single hybrid ZUGFeRD PDF.
- Retrieval and attachment: ZoneCapture downloads the hybrid PDF and attaches it to the NetSuite transaction in the ZUGFeRD PDF field. ZoneCapture then selects ZUGFeRD Generated and clears ZUGFeRD Requested.
- Button state: The button changes to Regenerate ZUGFeRD.
Monitor ZUGFeRD fields on the transaction
Use the ZoneCapture subtab on the Invoice or Credit Memo to monitor the following fields:
| Field label | Field type | Purpose |
|---|---|---|
| ZUGFeRD Requested | Checkbox | Indicates that generation is queued or processing. |
| ZUGFeRD Generated | Checkbox | Selected automatically after ZoneCapture generates and attaches the ZUGFeRD file. |
| ZUGFeRD PDF | File attachment | Contains the final hybrid PDF with the embedded XML. |
View and verify the generated PDF
- Locate the ZUGFeRD PDF field on the transaction record.
- Click the file link to open or download the PDF.
- Open the PDF in a compliant viewer, such as Adobe Acrobat Reader.
- Open the attachments panel to inspect the embedded
factur-x.xmlorzugferd-invoice.xmlfile.
Send the ZUGFeRD invoice to your customer
Outbound ZUGFeRD does not transmit files to the buyer automatically, so Accounts Receivable must send the file.
- Open the transaction record and click Actions > Email, or use your standard NetSuite transaction emailing process.
- Select your customer's billing contact as the recipient.
- Attach the generated ZUGFeRD PDF from the File Cabinet archiving folder.
- Click Send.
💡 Tip: Attach the ZUGFeRD PDF itself, not a separately rendered copy of the invoice. Only the hybrid PDF contains the embedded XML data your customer needs.
Regenerate a ZUGFeRD PDF
Regenerate the file if transaction lines, amounts, or billing details change after generation.
- Open the approved transaction record.
- Click Regenerate ZUGFeRD.
- Review the confirmation prompt: "A new ZUGFeRD PDF will be generated and will replace the existing ZUGFeRD PDF attached to this transaction."
- Click OK. The button changes to Generating ZUGFeRD in progress.
When processing finishes, the new hybrid PDF overwrites the previous file in the ZUGFeRD PDF field. The visual copy and embedded XML then match your latest transaction data.
Troubleshooting and FAQ
What happens if ZUGFeRD generation fails?
If Ecosio encounters a schema validation error or a communication issue:
- The transaction will be added to the E-Invoicing > Failed list on Zone Control Center.
- ZoneCapture clears the ZUGFeRD Requested checkbox.
- The action button reverts to Generate ZUGFeRD (or Regenerate ZUGFeRD).
ZoneCapture logs the failure reason on the associated E-Invoice Send Document Attempt record. Error codes are descriptive.
To proceed, correct the erroneous data and regenerate ZUGFeRD.
Why do I see a duplicate delivery warning?
This warning appears when you have already sent an invoice through Peppol (or marked it as generated) and then start a second delivery channel. NetSuite alerts you so that you do not send the customer two copies of the same invoice through different channels.
Can I generate ZUGFeRD for Credit Memos?
Yes. Credit Memos follow the same workflow as Invoices, provided they meet the German subsidiary and bill-to country requirements.