Stock, stock take and reorder screens under /magazzino, with valuation, rebuild and the movements of an item; the understock dashboard widget. Supplier e-invoices (XML, p7m, ZIP) become draft purchase invoices with supplier, items and tax codes matched, the file attached and duplicates refused; the TD code mapping stays in the Italian fiscal pack. Purchase invoices show price differences against the order and the self-invoice still to issue, with a pending list on the self-invoice screen. The opening stock import now writes an opening movement. The demo company gets purchases, an opening stock, a pending self-invoice and a stock take being counted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eb301fa570
commit
ced689b297
31 files changed
+3478
-110
No files matched your search
@@ -267,3 +267,15 @@ public sealed record IncomingSocialSecurity(string Fund, decimal Rate, decimal A
|
||||
/// <param name="Description">The description, if any.</param>
|
||||
/// <param name="Content">The decoded content.</param>
|
||||
public sealed record IncomingAttachment(string Name, string? Format, string? Description, byte[] Content);
|
||||
|
||||
/// <summary>
|
||||
/// How a received e-invoice becomes a document of the company: which document type registers each type of the format
|
||||
/// (Italy: TD01 and the like as supplier invoice FF, TD04 and TD08 as supplier credit note NCF).
|
||||
/// </summary>
|
||||
public interface IIncomingInvoiceRules
|
||||
{
|
||||
/// <summary>The code of the document type that registers an invoice of this type of the format.</summary>
|
||||
/// <param name="formatType">The type in the file (TD01...).</param>
|
||||
/// <returns>The document type code, or none when the type is not registered as a purchase (a self-invoice).</returns>
|
||||
string? DocumentTypeCode(string formatType);
|
||||
}
|
||||
Reference in new issue
Block a user