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