feat(cfdi): descarga masiva de XMLs como ZIP, limite 1,000
This commit is contained in:
@@ -91,6 +91,11 @@ export async function getCfdiById(id: string): Promise<Cfdi> {
|
||||
return response.data;
|
||||
}
|
||||
|
||||
export async function downloadXmlsZip(ids: number[]): Promise<Blob> {
|
||||
const response = await apiClient.post('/cfdi/download-xmls', { ids }, { responseType: 'blob' });
|
||||
return response.data;
|
||||
}
|
||||
|
||||
export async function getResumenCfdi(año?: number, mes?: number, contribuyenteId?: string) {
|
||||
const params = new URLSearchParams();
|
||||
if (año) params.set('año', año.toString());
|
||||
|
||||
Reference in New Issue
Block a user