warningpeppol-bis-3

IN-QUANTITY-POSITIVE:Line quantity should be positive

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.

This is a soft validation failure. The invoice may pass initial transmission, but non-compliant values in this field can cause problems during tax audits, buyer-side processing, or downstream VAT reconciliation.

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. The invoice may pass initial validation, but the non-compliant field can cause issues at the receiving end — tax authorities may flag it during audits, buyer ERP systems may fail to process it, or VAT reconciliation may produce mismatches. Fixing warnings before they accumulate prevents larger compliance gaps.

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. Invoice Navigator can help identify and fix this issue.

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

Related Errors

Last updated: 19 January 2026

Share this guide:

Handle IN-QUANTITY-POSITIVE Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.