Skip to Content
Menu

Angola - SIFP API Consultation for NIF / VAT

by
Odoo

58.06

v 12.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Lines of code 777
Technical Name nif_consultation
LicenseOPL-1
Websitehttps://github.com/batalhadematos
Versions 12.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Lines of code 777
Technical Name nif_consultation
LicenseOPL-1
Websitehttps://github.com/batalhadematos
Versions 12.0 18.0 19.0
SIFP API for VAT/NIF Consultation

Note: You will have to requesr AGT for access credentials to API Service or use  credentials someone may share with you.

Starting from 1st January 2026 all documents issued in Angola should make reference to an existing Customer NIF on the national SIFP database.

Additionally, companies can issue documents using a special NIF '999999999', but this NIF has limited applicability and can not be used for companies.

1. Features

This module allows you to:

- Validate NIF when you create / edit a partner (onchange vat);
- Adds a button "Check NIF" to partner form that allows you to manually check NIF - usefull for existing databases;
- Allows you to automatically re-validate NIF after a specified number os days (set on settings) during invoice/payment validation;
- Non existing NIF will be automatically removed from partner data;
- Partner name will automatically match the name found on SIFP database;

2. Data

Besides NIF and partner name, system wiill also record additional important data that can be used for other implementations. This data includes:

- VAT Regime;
- Activity State;
- Taxpayer state;
- ...other usefull information;

image

3. Setup the module

Afer installing the module you need to access Settings > General Settings > Integrations:

settings


4. Other info

Module tries to prevent user from stop working under:

- In case of API server unavailabily system will allow user to register / edit customers (make sure to double check before register/edit NIF under this conditions);
- System will allow to validate documentos for non verified NIF;
- NIF registered under this conditions will be marked as "not verified" and will be verified as soon as the connection is restablished and a document is issued to the customer;
- Re-validation is only performed for customers;
- User is allowed to register any NIF for foreign partners since system only verifies customers with country = Angola or customers with no country set;
- Correct/valid API username/password are mandatory for the system to work. If you wish to disable the system in backend, enter a wrong endpoint (not advised);

Module have been tested on core odoo with no custom modules installed so, there's no garantee it should work with other custom modules


If you need any help or information, drop me an email: batalhadematos at gmail dot com.




Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.