Configure ANAF application modes
An application that uses the RO E-Factura Service or the RO E-Transport Service has an operating mode for each service. The e-Factura mode determines whether the application only sends invoices or also imports the invoices it receives from suppliers. The e-Transport mode determines whether the application acts as a declarer, a carrier, or both.
A mode applies to the whole application, across all of its tenants and ANAF authorizations. The e-Factura and e-Transport modes are independent of each other.
You can set the modes either from the SBS Console or from GraphQL. In either case, your user account (or the account access key, if you are doing this through the Account API) must have the permission to run the updateApp mutation of the Account API.
Modes
E-Factura
| Console label | API value | Effect |
|---|---|---|
| Send and receive | SEND_RECEIVE |
The application sends invoices and imports the invoices it receives from suppliers. This is the default. |
| Send only | SEND_ONLY |
The application sends invoices only. Invoices it receives from suppliers are not imported. |
E-Transport
| Console label | API value | Effect |
|---|---|---|
| Declarer | DECLARER |
The application obtains and manages its own transport declarations. It does not read or amend declarations assigned to it as a carrier. |
| Carrier | CARRIER |
The application manages declarations assigned to it as a carrier. It does not perform declarer operations. |
| All | ALL |
The application performs both declarer and carrier operations. This is the default. |
Caution
A mode change affects all users of the application with immediate effect:
- Send only stops importing the invoices the application receives. Invoices received while the application is in this mode are not imported automatically when you switch back to Send and receive.
- Carrier stops the application’s declarer operations. Transport declarations already in progress may not complete.
Web UI
To set your app’s e-Factura or e-Transport mode:
-
Sign in to the SBS Console.
-
In the left-hand side navigation menu, click Applications.
-
Click the application for which you would like to set the mode.
-
Click the RO-ANAF tab, and then click E-Factura or E-Transport, as applicable.
-
Under E-Factura Mode (or E-Transport Mode), select the mode from the list. The list shows the application’s current mode.

-
In the confirmation dialog box, read the description of the change, and then click Confirm. To keep the current mode, click Cancel.

GraphQL
To set your app’s e-Factura or e-Transport mode:
- Sign in to the SBS Console.
- Click the GraphQL tab.
- Run the
updateAppmutation and supply a value toroAnafEfacturaMode,roAnafEtransportMode, or both. For example, the mutation listed below sets the e-Factura mode to Send only and the e-Transport mode to Declarer:
mutation updateApp($id:ID!,$input:UpdateAppInput!) {
updateApp(id:$id, input:$input) {
id
name
roAnafEfacturaMode
roAnafEtransportMode
}
}
{
"id": "YOUR_APPLICATION_ID",
"input": {
"roAnafEfacturaMode": "SEND_ONLY",
"roAnafEtransportMode": "DECLARER"
}
}