From 369f8087a95e75c200c9f549c5dbb42431cb7571 Mon Sep 17 00:00:00 2001
From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com>
Date: Tue, 12 May 2026 15:21:46 +0000
Subject: [PATCH] docs: document pt-saft advance amount validation rule
---
addons/pt-saft-v1.mdx | 1 +
1 file changed, 1 insertion(+)
diff --git a/addons/pt-saft-v1.mdx b/addons/pt-saft-v1.mdx
index c38b865..8b9116c 100644
--- a/addons/pt-saft-v1.mdx
+++ b/addons/pt-saft-v1.mdx
@@ -613,6 +613,7 @@ Example:
| `value_date` |
| `GOBL-PT-SAFT-BILL-INVOICE-06`
Cannot be blank |
| `lines[*]` | - Line has tax category VAT
| `GOBL-PT-SAFT-BILL-INVOICE-07`
Line taxes must include VAT category |
| `payment.advances[*].date` | | `GOBL-PT-SAFT-BILL-INVOICE-08`
Cannot be blank |
+| `payment.advances[*].amount` | | `GOBL-PT-SAFT-BILL-INVOICE-16`
Must be no less than 0 |
| `totals.payable`
Calculated | | `GOBL-PT-SAFT-BILL-INVOICE-09`
Must be no less than 0 |
| `totals.due`
Calculated | - Is invoice-receipt
- Equals 0
| `GOBL-PT-SAFT-BILL-INVOICE-10`
Must be equal to 0 |
| `preceding` | | `GOBL-PT-SAFT-BILL-INVOICE-11`
The length must be no more than 1 |