Negative invoice lines are used when you need to subtract an amount from the invoice total as a line item within an otherwise positive invoice. Common use cases include:
allowances fields instead. Negative lines should only be used for actual line-item corrections.381) instead. Credit notes are the correct document type for:A negative invoice line works just like a regular line, but with a negative quantity or negative net amount:
| Field | Positive Line | Negative Line |
|---|---|---|
invoiced_quantity | 100 | -1 |
invoice_line_net_amount | 2145 | -100 |
item_net_price | 21.45 | 100 (always positive) |
item_net_price should always be positive. Use a negative invoiced_quantity to achieve a negative line total.Here's an invoice with two lines: a regular positive line and a negative credit line.
{
"invoice_number": "33445566",
"invoice_issue_date": "2019-08-24",
"invoice_type_code": 380,
"invoice_currency_code": "EUR",
"buyer_reference": "abs1234",
"payment_terms": "#SKONTO#TAGE=14#PROZENT=2.25#",
"delivery_information": {
"actual_delivery_date": "2025-10-10"
},
"additional_supporting_documents": [
{
"supporting_document_reference": "123",
"supporting_document_description": "Something"
}],
"seller": {
"name": "Full Formal Seller Name LTD.",
"vat_identifier": "DE-123",
"identifier": [
{
"scheme_identifier": "0094",
"value": "Full Formal Seller Name LTD."
}
],
"electronic_address": {
"value": "DE123456789",
"scheme_identifier": "9930"
},
"postal_address": {
"city": "Sun City",
"post_code": "12345",
"country_code": "AD"
},
"contact": {
"point": "Jens Jensen",
"telephone_number": "876 654 321",
"email_address": "jens.j@buyer.se"
}
},
"buyer": {
"name": "Buyer Full Name AS",
"electronic_address": {
"value": "DE987654321",
"scheme_identifier": "9930"
},
"postal_address": {
"city": "Moon City",
"post_code": "12345",
"country_code": "AD"
}
},
"payment_instructions": {
"payment_means_type_code": "30",
"credit_transfer": [
{
"payment_account_identifier": "NO99991122222"
}
]
},
"document_totals": {
"sum_of_invoice_line_net_amount": 2045,
"invoice_total_amount_without_vat": 2045,
"invoice_total_amount_with_vat": 2556.25,
"invoice_total_vat_amount": 511.25,
"amount_due_for_payment": 2556.25
},
"vat_breakdown": [
{
"vat_category_taxable_amount": 2045,
"vat_category_tax_amount": 511.25,
"vat_category_code": "S",
"vat_category_rate": 25
}
],
"invoice_line": [
{
"invoice_line_identifier": "12",
"invoiced_quantity": 100,
"invoiced_quantity_unit_of_measure_code": "Lizenzen",
"invoice_line_net_amount": 2145,
"price_details": {
"item_net_price": 21.45,
"item_price_discount": 100,
"item_gross_price": 121.45
},
"line_vat_information": {
"invoiced_item_vat_category_code": "S",
"invoiced_item_vat_rate": 25
},
"item_information": {
"name": "Item name"
}
},
{
"invoice_line_identifier": "13",
"invoiced_quantity": -1,
"invoiced_quantity_unit_of_measure_code": "Lizenzen",
"invoice_line_net_amount": -100,
"price_details": {
"item_net_price": 100
},
"line_vat_information": {
"invoiced_item_vat_category_code": "S",
"invoiced_item_vat_rate": 25
},
"item_information": {
"name": "Item name"
}
}
],
"validation_mode": "lax"
}
Line 1 (Positive):
100 licenses21.45 €2145 € (100 × 21.45)Line 2 (Negative Credit):
-1 (negative!)100 € (positive)-100 € (−1 × 100)Totals:
2145 + (−100) = 2045 €511.25 €2556.25 €| Use Case | Solution |
|---|---|
| General discount (e.g., 10% off) | Use allowances at document or line level |
| Promotional rebate | Use allowances |
| Early payment discount (Skonto) | Use payment_terms with skonto info |
| Cancelling a previous invoice | Issue a Credit Note (type 381) |
| Full refund for returned goods | Issue a Credit Note (type 381) |
| Correcting a past billing error | Issue a Credit Note (type 381) |
| Return of items on a new order | Use negative invoice line |
| Price adjustment on a new invoice | Use negative invoice line |
| Goodwill credit combined with new charges | Use negative invoice line |