# Create/Edit An Invoice Creates a new or updates an existing supplier invoice for the authenticated SupplierAdmin. Endpoint: POST /SupplierInvoices Version: 1.0.0 Security: bearerAuth ## Request fields (application/json): - `SupplierId` (string) Example: "4b0b2dcd-58b5-41a9-b8b9-202b67a828ae" - `InvoiceNumber` (string) Example: "INV-2025-001" - `Amount` (number) Example: 10000 - `DueDate` (string) Example: "2025-11-01" ## Response 200 fields (application/json): - `success` (boolean) Example: true - `message` (string) Example: "Invoice created successfully." ## Response 401 fields (application/json): - `message` (string) Example: "You do not have appropriate access to this supplier."