@nodecfdi/sat-ws-descarga-masiva
    Preparing search index...

    The implementors must create the request signed ready to send to the SAT Web Service Descarga Masiva The information about owner like RFC, certificate, private key, etc. are outside the scope of this interface

    type RequestBuilderInterface = {
        authorization(
            created: DateTime,
            expires: DateTime,
            securityTokenId: string,
        ): string;
        download(packageId: string): string;
        query(queryParameters: QueryParameters): string;
        verify(requestId: string): string;
    }

    Implemented by

    Index

    Methods

    • Creates an authorization signed xml message

      Parameters

      • created: DateTime

        must use SAT format 'Y-m-dTH:i:s.000T'

      • expires: DateTime

        must use SAT format 'Y-m-dTH:i:s.000T'

      • securityTokenId: string

        if empty, the authentication method will create one by its own

      Returns string