Skip to content

subzet/arca-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCA Invoicing Skill

Electronic invoicing for Argentina's tax authority (ARCA, formerly AFIP).

Setup

cd skills/arca-invoicing
npm install
npm run setup

The setup script will prompt for:

  • Environment (production or homologation)
  • CUIT (with validation)
  • Company name
  • Certificate name

And generate the OpenSSL key and CSR automatically.

CLI Usage

# List available commands
npm run cli

# List sales points
npm run cli -- puntos-venta

# Get last invoice number
npm run cli -- ultimo 3 11    # PV 3, Factura C (type 11)

# Get invoice info
npm run cli -- info 3 11 1    # PV 3, Factura C, number 1

# List invoice types
npm run cli -- tipos

# Check server status
npm run cli -- status

# View configuration
npm run cli -- config

Configuration

Configuration is stored in ~/.arca/ (not committed to git):

~/.arca/
├── arca.key              # Private key
├── arca.crt              # Certificate
├── arca.csr              # Certificate signing request
├── config.json           # CUIT, company, environment
├── cuit.txt
├── afipsdk_access_token.txt
└── puntos_de_venta.txt

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors