← Nortiqo E-invoicing

Help · version 1.0

How it fits together

Contents
Element What it is
Seller setup One per company: whether and from which posting date its invoices go, the seller’s PEPPOL ID, the F-skatt statement, the report and destination that print the PDF, and the route. No invoice goes without its company’s active seller setup.
Route Where the file goes: the outbox directory, and from it the SFTP transfer where the setup names a host. A copy of each file that left is kept in the sent files directory.
Operator The company that takes the file from the route, such as InExchange: it finds the buyer and delivers the invoice. E-invoicing’s part ends at the route: a Sent invoice’s file is in the outbox, or transferred where the route transfers.
Customer’s row Only for a customer whose defaults are not enough: a PEPPOL ID the receiver asked for, a buyer reference it requires, its own rules, or do not send. A customer with no row is sent under its Swedish organisation number, else its GLN.
Code lists X3’s codes as PEPPOL’s: tax codes as VAT categories with their exemption reasons, units as UN/ECE Rec 20 codes, payment methods as payment means, invoicing elements as allowance and charge reasons.
Element rule Where one business term of the file takes its value from: a field, a fixed text or an X3 formula, such as the buyer reference, BT-10. A customer’s rule comes before its company’s, and the company’s before the product’s default. A buyer or order reference typed for one invoice in Invoice references comes before every rule.
Attachment rule Which of the invoice’s or its order’s attachments go inside the file, by a name pattern or a type, required or not.
Attempt One build, check and delivery of an invoice, by the recurring task, Send now or Resend: when, by whom, its outcome, its findings, its file.
Finding A rule an attempt broke: the rule’s ID, Fatal or Warning, its message and the record to fix. A fatal finding stops the invoice; with a warning the file goes.
Manual invoice One the company sends by hand, kept from e-invoicing: marked in Manual invoices, or kept by a condition of the seller setup’s Manual handling.
Job log The invoice’s row: its status and every attempt, kept by the invoice’s number.
Recurring task Runs every few minutes and sends the posted invoices that wait.

An invoice’s status:

Status When Who acts
Waiting Posted, inside an active seller setup, no attempt yet The recurring task, or Send now
Stopped Its last attempt broke a fatal rule; nothing has left You fix the record the finding names, or type a missing reference in Invoice references, then Send now: the invoice is built again under the same number
Sent Its file is in the outbox, or transferred where the route transfers Nobody
Failed Built and checked, but the directory or the transfer refused it The recurring task tries again; the monitor shows why
Not sent The customer’s row says do not send, Sage’s own e-invoicing holds the invoice, or a user left it unsent Nobody
Manual Marked in Manual invoices, posted or not, or kept by a condition of the seller setup’s Manual handling The company sends it by hand; deleting its mark makes it Waiting again

What it never does. E-invoicing writes its own tables and nothing else: it reads Sage’s invoices, customers and codes, and adds no field to Sage’s tables or screens. The recurring task sends only an invoice with no sent file in its log, so no invoice goes twice: a sent invoice goes again only by Resend, a user’s act, logged. A sent invoice that was wrong is corrected by a credit note, never by a file built again. So is a stopped one whose finding is a value of the posted invoice itself: Leave unsent then closes it, with its reason. A missing buyer or order reference is the exception: Invoice references types it for that invoice alone.

What X3 checks. Before a file leaves, X3 runs the rules that the folder’s data can break, under their official IDs: EN 16931’s (BR-…), PEPPOL’s (PEPPOL-…) and Sweden’s (SE-R-…), and the product’s own (XNQI-R…) where the file needs more. Sweden’s rules check a Swedish organisation number and VAT number, the VAT rates 25, 12 and 6, and a bankgiro or plusgiro number with its payment means; the F-skatt statement the file always writes as they want it. Each rule has the flag PEPPOL gives it: a fatal rule stops the invoice, a warning is logged and the file goes. A finding in the job log names its rule’s ID.

A line’s price. Each line of the file gives its quantity, its net price and its net amount, and PEPPOL wants the quantity times the price to make the amount. X3 rounds a price to its price decimals, so on some lines, prices including tax among them, the two drift apart. Where X3’s price times the quantity misses the line’s net amount by more than 0.02, the file gives the price from the amount: the net amount divided by the quantity, with the fewest decimals, four at least, that keep the quantity times it within 0.005 of the amount. A line entered in accounts receivable always takes its price so. The amounts and the tax are X3’s, and the invoice’s PDF keeps the price X3 holds.

Stuck? Ask your Sage partner, or write to info@nortiqo.com.

Email us

info@nortiqo.com