Como agrupar pedidos para gerar NFe ou boleto