MobiariDocs

Service invoices (NFS-e)

Issue service invoices through the national NFS-e system with the company's A1 certificate: setup, testing, issuing, cancelling and going to production.

NFS-e is the invoice for services: a consultation, a session, a class, maintenance, advice. Mobiari sends the invoice to the national NFS-e system with the company's digital certificate and keeps the result. After this page you can set up issuing, test it with no fiscal value, issue the invoice for an appointment and cancel when needed.

Before you start

  • The Service invoices feature must be on in Settings → Store settings → What the store uses. The "Appointments" and "Support desk" setups already switch it on. See Features.
  • The company data (CNPJ, city, regime) lives in Settings → Store settings → Store and company. This version issues for MEI and Simples Nacional (ME/EPP). Outside the Simples, talk to your accountant.
  • Have the A1 digital certificate (a .pfx or .p12 file) and its password. If the company already issues NF-e in Mobiari, it is the same certificate.
  • Companies in São Paulo's capital issue through the city's own service (Nota Paulistana), with the same certificate: they need the municipal registration (CCM) in the company data and the city's service code (4 or 5 digits, as in the "Código do Serviço" field of current invoices, for example 02692). Other cities use the national NFS-e system and must be enabled in it.
  • Outside São Paulo, ask your accountant for the national tax code of your service (6 digits, like 041101).

Set up

In Settings → Store settings → Service invoices (NFS-e) (the search, ⌘K or Ctrl+K, also finds the section by name):

  1. Who issues: check the CNPJ, city and regime. To change them, use Edit company data.
  2. Digital certificate: pick the file, type the password and Upload certificate. The file is stored encrypted.
  3. Default service: enter the City service code (São Paulo's capital) or the National tax code (other cities) and the Default description. Each invoice can still change the description and the amount.
    • ISS rate: fill it only if the city is not in the national system. Elsewhere the city provides the rate.
    • Approximate Simples rate: required for ME/EPP. It is the share of taxes the invoice shows the client. MEI leaves it empty.
    • ISS withheld by the client: choose Yes, the client withholds only if the client usually withholds the tax.
  4. Save.

Issue an invoice

In Operate → Service invoices, click Issue invoice. The button only turns on once the default service is set up; until then, a notice at the top of the screen leads to the setup. While NFS-e is in testing, the screen shows Test environment next to the button. In the Issue a service invoice panel:

  • enter the Client name and, if you have it, the CPF or CNPJ. Without it the invoice goes out without an identified client. Under E-mail (gets the invoice), the address the invoice goes to;
  • check the Service (it starts with the default description), the Amount and the Service date, the day the service was provided;
  • click Issue invoice of R$ ... and confirm with Send. The confirmation says whether the invoice goes to production or to the test environment.

The invoice takes the next number in the series and is sent to the national system. The answer usually comes in seconds: the status becomes Authorized and the access key appears in the details. If the national system is slow, the invoice stays Waiting for an answer. Then use Check now in the details: Mobiari asks the national system what happened and only sends again if it never received the invoice, so nothing is issued twice.

If the invoice is Rejected, the national system's message appears in the details. Fix what it asks for and issue again; the rejected attempt's number is not reused.

From a booking

With Bookings on, open a Completed booking in Sell → Agenda and click Issue service invoice. The client, service, amount and date come filled in. Each booking has one invoice at a time; once issued, the booking shows its status.

A charge in Operate → Charges also issues its own invoice, with Issue invoice or Review and issue. In the invoice's details, Source says whether it came from a charge or a booking.

Client abroad (export)

In São Paulo's capital, tick Client abroad when issuing to someone outside Brazil. Under Where the client is, enter the city and country (for example Campbell, CA - Estados Unidos): the city asks for it in the neighbourhood field. The invoice goes out as an export of services, with no ISS. For a client in Brazil the CPF or CNPJ is required and the service is taxed in São Paulo.

In other cities, Client abroad asks for the client's address outside Brazil: Country (2 letters), City, Street and Number (state, postal code and address line 2 are optional).

Details, PDF and XML

Click an invoice in the list: it opens in a side panel. The details show the status, the number, the client, the service, the Service date and the Amount, plus the verification code (in São Paulo's capital). The access key and the exchanges with the system are under Technical details, at the end of the panel. Invoice PDF opens the DANFSE and XML downloads the file, to send to the client or the accountant. In São Paulo's capital the city does not hand out a PDF: use the See on the city website button at the top of the panel.

Cancel

In the details of an authorized invoice, Cancel invoice: choose the reason (Issuing error, Service not provided or Other reason), write the Justification (15 to 255 characters) and confirm with Cancel invoice. The cancellation is registered in the national system and cannot be undone. Deadlines and cancellation rules belong to the city; if it refuses, the message appears on screen.

Go to production

Everything starts in homologação, the test environment, where invoices have no fiscal value. In São Paulo's capital the city has no test environment: the test uses the service's test method, which runs every validation of an issue and creates no invoice (so a test invoice has no number and cannot be cancelled). In Settings → Store settings → Service invoices (NFS-e), in the Environment block, the list shows what is missing:

  • company data and regime;
  • a valid certificate;
  • the service code (and the approximate rate, for ME/EPP outside the capital);
  • an authorized test invoice: issue one in Operate → Service invoices;
  • the next number in production: enter one more than the last DPS the company issued in the series, in any system, and Confirm number.

When everything is in place, Turn production on. From then on the invoices have fiscal value. Back to testing is always available.

Frequently asked questions

  • I do not see Service invoices in the Operate menu. Switch Service invoices on in Settings → Store settings → What the store uses. The owner has to do it. The screen also needs the View finance permission; issuing and cancelling need Manage finance.
  • The certificate was refused. Check the password, and that the certificate is A1 (a file), is within its validity and belongs to the company's CNPJ.
  • The invoice was rejected with a code. The code and text come from the national system. The most common are wrong client data and a service code the city does not accept. The accountant solves the second.
  • My city uses another system. This version talks to São Paulo's city service and to the national NFS-e system. Other city halls with their own system are not served yet.
  • The city refused with error 1100. The RPS had already been sent: Mobiari asks the city and shows the number of the invoice that already exists.

On this page