Electronic invoicing setup in Argentina (AFIP)
Full guide: Follow these steps to configure AFIP electronic invoicing in Doctor Vet. You will be able to issue electronic invoices directly from the app.
Setup steps
2 Open a command window
Open Run and start a command session:
3 Generate private key
Run the following command and press Enter:
4 Generate certificate request
Important: Replace “My company name” with your business name and “123456789” with your CUIT (Argentine tax ID) with no spaces or dashes.
Run the following command (replace the values):
5 Enable AFIP digital certificate manager
On the AFIP website, search for: Administrador de certificados digitales (Digital certificate manager).
If you cannot find it, enable it using this path:
6 Create certificate in AFIP
In the digital certificate manager, follow these steps:
- Add alias
- Enter a symbolic name (e.g. “electronic invoicing”)
- Upload the certificate request created earlier (certificate_request.csr)
- Add alias
- View → download
7 Convert certificate from CRT to PEM
Run these commands on the downloaded file:
8 Configure point of sale in AFIP
On the AFIP website, search for: Administración de puntos de venta y domicilios
(If inactive, enable it from the fiscal key relationship manager.)
Create an electronic point of sale RCE web services and note the point-of-sale number.
9 Enable invoicing web services
Follow this path in AFIP:
10 Transfer files to your phone
Copy these files to your phone:
private_key.keyserver.pem
11 Configure in Doctor Vet
In the Doctor Vet app:
- Create an electronic point of sale with the same number as in AFIP
- Select the
.keyand.pemfiles
Setup complete! You can now issue electronic invoices directly from Doctor Vet.
If you have questions or issues during setup, contact us: