warningformatpeppol-bis-3

IN-QUANTITY-POSITIVE:Line quantity should be positive

Fix: Use positive quantity; for credits use credit note.

Invoice line quantity (InvoicedQuantity) should typically be a positive value.

Severity
Warning
Rule set
peppol-bis-3
Country
All EU
Fix type
BLOCKED

Engine Classification

Financial or legal field · Modification blocked by policy

Reason: Line quantities should be positive values. Negative quantities indicate a data entry error or that this should be a credit note. Fix the quantities in your source system, or use invoice type 381 (Credit Note) for returns.

What is IN-QUANTITY-POSITIVE?

IN-QUANTITY-POSITIVE is a warning validation rule defined in the peppol-bis-3 specification. It validates the InvoicedQuantity element under Invoice > InvoiceLine in the UBL invoice XML.

The invoice may pass transmission, but this non-compliance can cause problems during tax audits or buyer-side processing.

Target path: XPath: /Invoice/cac:InvoiceLine/cbc:InvoicedQuantity

This error requires manual correction — financial fields are protected by policy.

Why This Error Matters

Positive quantities expected on invoices.

IN-QUANTITY-POSITIVE is a soft failure that can cause issues at the receiving end — tax audits, ERP processing, or VAT reconciliation mismatches.

Validator Behavior

  • ·Generates validation warning
  • ·Rejected by PEPPOL Access Points
  • ·Error returned: IN-QUANTITY-POSITIVE
  • ·Specification: peppol-bis-3

How to Fix It

1.

Check quantities

Each line InvoicedQuantity

2.

Use positive

Or use credit note for returns

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Incorrect value -->
<cbc:InvoicedQuantity>INVALID</cbc:InvoicedQuantity>
After
<!-- Corrected value -->
<cbc:InvoicedQuantity>VALID_VALUE</cbc:InvoicedQuantity>

Technical Reference

XPathXPath: /Invoice/cac:InvoiceLine/cbc:InvoicedQuantity
Specpeppol-bis-3

Common Causes

  • ·Negative quantity on invoice

Seeing this in production? The API handles IN-QUANTITY-POSITIVE automatically. See the fix response →

Frequently Asked Questions

InvoicedQuantity should typically be positive.

Use positive quantity; for credits use credit note. This error involves a protected field — Invoice Navigator flags it in your pipeline so your team can correct it at the source.

Yes, PEPPOL-EN16931-R053 is a critical error that must be fixed.

Related Errors

Related Content

Last updated: 3 March 2026

Share this guide:

Validate your invoice

Drop your XML here to check for IN-QUANTITY-POSITIVE

Detect IN-QUANTITY-POSITIVE before submission

This error involves a financial field that can't be auto-modified. We'll flag it with a clear diagnosis so you can fix it at the source.