Invoice actions
The windows below open from the E-Invoicing list and from the invoice detail window.
Set Status modal
Opens from the History tab's Set status button. Lets the user move an invoice to a chosen status — useful for manual corrections or for triggering a transition the platform itself did not pick up.
| Field | Description |
|---|---|
| Target | PA (sends a status update to the Plateforme Agréée) or DB (writes the new status directly to the local database without notifying the PA). |
| Status | Drop-down listing every status from the statuses reference list, with code + label. |
| Status at (PA only) | Date / time of the status event. Default: now. |
| Reason | Free-text reason / message. Pre-populated with the status label; editable. |
| Rejection reason code + label (when applicable) | Code from the rejection-reason-codes reference list, plus its translation. |
| Action code + label (when applicable) | Code from the action-codes reference list, plus its translation. |
When Target = DB is selected, an orange notice reminds the user that the change is local-only and will not be propagated to the PA.
Click Submit to apply. A green banner confirms success; the modal closes after a short delay.
E-mail modal
Opens from the PDF tab. Lets the user send the invoice PDF to the customer via SMTP using the credentials configured in the global template.
| Field | Description |
|---|---|
| To (required) | Recipient e-mail address. |
| Cc | Optional carbon copy. |
| Subject | Pre-filled with Invoice <ublNumber>; editable. |
| Body | Pre-filled with a French / English template depending on the user's language: greeting, main line referencing the invoice number and total amount, contact line, signature. Fully editable. |
The PDF currently shown in the PDF tab is automatically attached. If the PDF was not pre-loaded, the server fetches it from the database before sending.
While the e-mail is sending, an overlay covers the modal until the SMTP server confirms the send. A green banner indicates success; the modal closes automatically after ~2 s.
Create / Edit invoice modal
Opens from + New Invoice in the toolbar, or from the Edit UBL / Copy buttons in the Summary tab. Lets the user create a new invoice from scratch or adjust an existing one. The modal is laid out like a printable invoice — the user fills the form and NomaUBL produces the corresponding UBL document on Save.
The sections and fields shown depend on the user's role: a role granted entry forms opens the editor on its default form — some fields read-only or hidden, defaults filled in, required fields checked on save — and a picker in the header switches between its forms. Without any form, the role keeps the complete editor. On a line, + Price opens the price details (gross price, price discount, net price) and + Delivery the line delivery block; the bin closes them.
Editing an existing invoice no longer flips its cbc:CustomizationID back to the EN16931 default. The form now carries the customizationId value from the source UBL and writes it back verbatim — new invoices still default to urn:cen.eu:en16931:2017.
Sections of the editor
The modal is split into vertical sections:
- Document — invoice number, type, profile ID, contract / buyer / order references.
- Header — issue / due dates, currency, period start / end, the Despatch advice (BT-16 — number and date), plus a Preceding invoices block (BG-3, 0..n): each row a reference number (BT-25) and an optional issue date (BT-26), added or removed with + Add a preceding invoice (BG-3). On a credit note this is the reference to the corrected invoice.
- Supplier — pre-populates from the supplier directory (UBL Defaults → Suppliers / Companies); editable per invoice.
- Customer — filled end to end from the company search: results show the badge, name and identifier on one line with the address below; searching a bare SIREN or SIRET lists every establishment (the same second INSEE lookup as E-Directory), and an optional SIRET field completes the SIREN. The electronic address is not guessed from the SIREN/SIRET — a PPF electronic-address list (opened automatically after picking a company, or anytime via the button next to the identifier field) shows the addresses registered for the SIREN with their active/disabled state; picking one fills the identifier and its scheme, then the list closes. An Other ids (BT-46) block adds any number of extra buyer identifiers, each with its scheme from the EAS list — a routing code or a second SIRET carried on the document is now visible, editable and removable instead of travelling invisibly.
- Delivery — optional document-level delivery group (BG-13). It shows only the delivery set at document level; deliveries carried by the lines stay on the lines and are never copied up to the header.
- Payment — payment means code, IBAN, BIC, mandate, terms.
- Allowances / charges — document-level discounts / charges.
- Notes — free-text notes per
BT-22prefix. - Lines — invoice lines with item, quantity, unit, price, allowances, item properties. The unit-price input accepts fine precision (up to 6 decimals), to match prices that carry more than 2 decimals at source. A per-line Price (BG-29) block sets the gross unit price (BT-148) and the price discount (BT-147); the net price is derived and drives the line amount, and the line amount divides by the price base quantity (BT-149) so a price per 100 or 1,000 units is computed correctly. The line References block also holds per-line Preceding invoice references (EXT-FR-FE-136) — number, optional date and a DocumentStatusCode picked from
INFORMATION/DETAIL/GROUP. Three quick-add buttons in the same block fill the order references of the line, all carried bycac:OrderLineReference: Customer Order Reference (the buyer's order number, EXT-FR-FE-135 — the key the PDF groups lines on), Order number (the seller's order number, EXT-FR-FE-144) and Customer line no. (the line number inside the buyer's order, BT-132). A fourth button, Despatch advice, adds the line's despatch advice reference and date (EXT-FR-FE-BG-07). - VAT summary — auto-computed from the lines (read-only — line edits are reflected here).
- Totals — auto-computed (read-only).
Saving
The Save button at the bottom validates the input, writes to the database, generates the UBL document and submits it to the PA according to the e-invoicing template's settings. The modal closes after a successful save.
A fullscreen toggle in the header swaps between windowed and full-screen edit, useful for invoices with many lines.
Resend confirmation
The Resend button (in the History tab, or via Seller actions when status is 9904/9907) opens a confirmation dialog before re-submitting the UBL to the Plateforme Agréée, within the resend rules — the document is transmitted immediately and its status moves to Pending (9906). After confirmation, the invoice is re-submitted; an inline banner reports success or the error returned by the PA. The lifecycle is updated to reflect the new submission.