1 | <?php |
||
7 | final class NFCe extends AbstractAccessKey |
||
8 | { |
||
9 | const LABEL = 'NFCeAccessKey'; |
||
10 | |||
11 | /** |
||
12 | * Generates a valid Sped Access Key. |
||
13 | * |
||
14 | * @param int $state IBGE state code. |
||
15 | * @param \DateTime $generatedAt Year and month when invoice was created. |
||
16 | * @param Cnpj $cnpj Cnpj from issuer. |
||
17 | * @param int $sequence Invoice sequence. |
||
18 | * @param int $invoiceNumber Invoice number. |
||
19 | * @param int $controlNumber Control number. |
||
20 | * |
||
21 | * @return NFe |
||
22 | */ |
||
23 | 1 | public static function generate( |
|
43 | } |
||
44 |