PHPackages                             iutrace/php-afip-ws - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. iutrace/php-afip-ws

ActiveLibrary[API Development](/categories/api)

iutrace/php-afip-ws
===================

Librería PHP para interactuar con el webservice de AFIP (Argentina -&gt; factura electrónica).

05.9k↓33.3%PHP

Since Aug 21Pushed 6mo agoCompare

[ Source](https://github.com/iutrace/php-afip-ws)[ Packagist](https://packagist.org/packages/iutrace/php-afip-ws)[ RSS](/packages/iutrace-php-afip-ws/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP library for AFIP Web Services (Argentina)
=============================================

[](#php-library-for-afip-web-services-argentina)

Installation
------------

[](#installation)

```
composer require multinexo/php-afip-ws
```

Usage
-----

[](#usage)

```
    /** Invoice with items */
    $company_cuit = '20301112227';

    $invoice = new AfipInvoice();
    $invoice->addAfipDetail(
        (new AfipDetail())
            ->setQty(2)
            ->setItemCode('P0001')
            ->setDescription('Cool cooler')
            ->setItemNet(50)
            ->setIvaConditionCode(IvaConditionCodes::IVA_21)
            ->setItemNet(55.25)
    );

    $data = $invoice->getDataFromAfip(
        $this->getConfig($company_cuit)
    );

    var_dump($data);
```

Documentation
-------------

[](#documentation)

For more information, visit [official documentation](https://www.afip.gob.ar/ws/documentacion/).

Testing
-------

[](#testing)

```
composer coverage
```

### Security

[](#security)

If you discover any security related issues, please contact us at .

### License

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/multinexo/php-afip-ws/blob/master/LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance47

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c84cd8c29940e37e397784f8a11f0abb546af0b80330ff3f14129ca8ba4d72cd?d=identicon)[iutrace](/maintainers/iutrace)

![](https://www.gravatar.com/avatar/79f4f633b6e4ab1afc36d6b525cb743f61d5f859f850b4c042b7e92146dbc25e?d=identicon)[sdiaz-utrace](/maintainers/sdiaz-utrace)

![](https://www.gravatar.com/avatar/f274ca85f4d3bc943cac4853c510eceef390bd21c655b1d8429398b5036a9804?d=identicon)[flezcano-utrace](/maintainers/flezcano-utrace)

---

Top Contributors

[![lukascorr](https://avatars.githubusercontent.com/u/18623888?v=4)](https://github.com/lukascorr "lukascorr (15 commits)")[![pablorsk](https://avatars.githubusercontent.com/u/938894?v=4)](https://github.com/pablorsk "pablorsk (11 commits)")[![alexisverardo](https://avatars.githubusercontent.com/u/29296936?v=4)](https://github.com/alexisverardo "alexisverardo (3 commits)")[![sdiaz-utrace](https://avatars.githubusercontent.com/u/148882258?v=4)](https://github.com/sdiaz-utrace "sdiaz-utrace (2 commits)")[![jonaeseiza](https://avatars.githubusercontent.com/u/19875674?v=4)](https://github.com/jonaeseiza "jonaeseiza (2 commits)")[![juanicastellan0](https://avatars.githubusercontent.com/u/37382853?v=4)](https://github.com/juanicastellan0 "juanicastellan0 (1 commits)")[![ayelen117](https://avatars.githubusercontent.com/u/7717615?v=4)](https://github.com/ayelen117 "ayelen117 (1 commits)")

### Embed Badge

![Health badge](/badges/iutrace-php-afip-ws/health.svg)

```
[![Health](https://phpackages.com/badges/iutrace-php-afip-ws/health.svg)](https://phpackages.com/packages/iutrace-php-afip-ws)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
