Yes, it is possible to send an invoice with both positive and negative totals through the Peppol network via a provider like StoreCove. The Peppol network supports a wide range of invoice scenarios, including invoices with credit notes, discounts, and negative line items. Here's a detailed explanation of how you can achieve this:
Understanding Peppol Invoice Structure
Peppol invoices are based on the UBL (Universal Business Language) standard, specifically UBL 2.1 for Peppol BIS 3.0. UBL allows for complex invoice structures, including line items with negative amounts.
Sending Invoices with Positive and Negative Totals
-
Line Items with Negative Amounts:
- Each line item in a UBL invoice can have a positive or negative amount.
- Negative amounts are typically used for discounts, returns, or credits.
-
Invoice Total Calculation:
- The total amount of the invoice is the sum of all line item amounts, including both positive and negative values.
- Peppol and UBL support this, so the net total will correctly reflect the sum of all line items.
Example of an UBL Invoice with Positive and Negative Line Items
Here is a simplified example of an UBL invoice with both positive and negative line items:
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:ID>INV001</cbc:ID>
<cbc:IssueDate>2023-10-05</cbc:IssueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- Standard Invoice -->
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cac:AccountingSupplierParty>
<cac:Party>
<cbc:EndpointID schemeID="0088">123456789</cbc:EndpointID> <!-- Supplier's Peppol ID -->
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="0088">987654321</cbc:EndpointID> <!-- Customer's Peppol ID -->
</cac:Party>
</cac:AccountingCustomerParty>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Description>Product A</cbc:Description>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">-50.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Description>Discount</cbc:Description>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">-50.00</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cbc:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">50.00</cbc:LineExtensionAmount> <!-- 100.00 - 50.00 -->
<cbc:TaxExclusiveAmount currencyID="EUR">50.00</cbc:TaxExclusiveAmount>
<cbc:PayableAmount currencyID="EUR">50.00</cbc:PayableAmount>
</cbc:LegalMonetaryTotal>
</Invoice>
Key Points in the Example:
- Invoice Lines:
- The first
<cac:InvoiceLine> has a positive amount of 100.00.
- The second
<cac:InvoiceLine> has a negative amount of -50.00, representing a discount.
- LegalMonetaryTotal:
- The
<cbc:LineExtensionAmount>, <cbc:TaxExclusiveAmount>, and <cbc:PayableAmount> all reflect the net total of 50.00 after accounting for the negative line item.
Using StoreCove
When using StoreCove or any other Peppol Access Point (AP), you need to ensure that your invoice XML conforms to the Peppol BIS 3.0 requirements. Most invoicing software that integrates with StoreCove will handle the creation of these complex invoices for you. If you are manually creating the XML you will need to validate it against the Peppol BIS 3.0 schema to ensure compliance.
Validation
Before sending the invoice through the Peppol network, validate your XML against the UBL 2.1 schema and the Peppol BIS 3.0 rules. StoreCove usually provides tools or services to validate your invoices to ensure they will be accepted by the Peppol network.
In summary, sending an invoice with both positive and negative totals through the Peppol network is entirely possible and supported by the UBL standard. Just ensure your invoice XML is correctly formatted and validated.