PHPackages                             awacode/importnfe - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. awacode/importnfe

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

awacode/importnfe
=================

Importe suas Nfe de maneira facil utilizando o XML

1.0.0(3y ago)38MITPHPPHP ^7.2

Since Sep 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rhyannc/importNfe)[ Packagist](https://packagist.org/packages/awacode/importnfe)[ Docs](http://www.awatech.com.br)[ RSS](/packages/awacode-importnfe/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ImportNfe Library @AwaCode
==========================

[](#importnfe-library-awacode)

[![Maintainer](https://camo.githubusercontent.com/276b5c16b5bf20afeb89a8962b52ea0c795dd07d7d09dcfc16d6fa2cf263a89c/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40726879616e6e635f2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/rhyannc_)[![Source Code](https://camo.githubusercontent.com/43dddb2f5470a7595f9c2a07cda5fecfcf08437d0ee1c6ed6a65d458da662168/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d417761436f64652f496d706f72744e66652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/rhyannc/ImportNfe)[![PHP from Packagist](https://camo.githubusercontent.com/890704c0f7d269104537c65cae68a44ba704a1dfca34c7ed3086b7c4184c2a7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f417761436f64652f496d706f72744e66652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/AwaCode/ImportNfe)[![Latest Version](https://camo.githubusercontent.com/d92635782cbfbce88d4d9f2d7650bc0f752fee331aa87eb3e5881900d9693668/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f726879616e6e632f496d706f72744e66652e7376673f7374796c653d666c61742d737175617265)](https://github.com/rhyannc/ImportNfe/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/04c7703447c0624aa113610137b7d3325782b1bab6acde1e49de666069605bf5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f726879616e6e632f496d706f72744e66652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rhyannc/ImportNfe)[![Quality Score](https://camo.githubusercontent.com/fc2905aa7ce30bad44a638a1575dd2a7219212f03020fd9a21158e3b316fec91/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f726879616e6e632f496d706f72744e66652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rhyannc/ImportNfe)[![Total Downloads](https://camo.githubusercontent.com/955e9bb0f7dddfbd9a52d65208f554214b29dc2594b8baedc40bbb30504c08f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f417761436f64652f496d706f72744e66652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/awacode/importnfe)

ImportNfe é um componente extremamente compacto e fácil de usar. Você só precisa configurar seu comportamento uma vez pelo contrutor, e depois enviar os aquivos xml para fazer a importação e cadastro no Banco de Dados.

###### ImportNfe Library is an extremely compact and easy-to-use component. You only need to configure its behavior once by the constructor, and then send the xml files to make the remittance and register in the Bank.

[](#importnfe-library-is-an-extremely-compact-and-easy-to-use-component-you-only-need-to-configure-its-behavior-once-by-the-constructor-and-then-send-the-xml-files-to-make-the-remittance-and-register-in-the-bank)

Sobre AwaCode
-------------

[](#sobre-awacode)

AwaCode é um conjunto de pequenos e otimizados componentes PHP para tarefas comuns. Mantido por Rhyann C. Com eles você executa tarefas rotineiras com poucas linhas, escrevendo menos e fazendo muito mais.

###### AwaCode is a set of small, optimized PHP components for common tasks. Maintained by Rhyan C. With them you can do routine tasks with few lines, writing less and doing a lot more.

[](#awacode-is-a-set-of-small-optimized-php-components-for-common-tasks-maintained-by-rhyan-c-with-them-you-can-do-routine-tasks-with-few-lines-writing-less-and-doing-a-lot-more)

### Destaques

[](#destaques)

- Fácil para configurar e personalizar via ***construtor*** da classe (Easy to configure and customize via constructor class)
- Simples de integra e fazer a importação de suas Notas Fiscais em XML (Simple to integrate and import your Invoices in XML)
- Controle para nao importar Nfe emitidas em Homologação e sem numero de protocolo (Control not to import Nfe issued in Homologation and without protocol number)
- Controle para nao importar Nfe duplicadas. (Control not to import duplicate Nfe.)
- Organização de pasta de Nfe importadas com sucesso e com erros (Nfe folder organization imported successfully and with errors)
- Pronto para o composer e compatível com PSR-2 (Composer ready and PSR-2 compliant)

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

[](#installation)

ImportNfe está disponível via Composer:

```
"awacode/importnfe": "^1.0"
```

or run

```
composer require AwaCode/ImportNfe
```

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

[](#documentation)

###### For details on how to use the ImportNfe, see the sample folder with details in the component directory

[](#for-details-on-how-to-use-the-importnfe-see-the-sample-folder-with-details-in-the-component-directory)

Para mais detalhes sobre como usar o ImportNfe, veja a pasta de exemplo com detalhes no diretório do componente

```
