bak
This commit is contained in:
@@ -584,5 +584,12 @@ export const invoicesApi = {
|
||||
can_generate: boolean;
|
||||
reasons: Array<{ field: string; message: string }>;
|
||||
}>(`/v1/a76/factura-cove/invoices/${invoiceId}/cove/eligibility?${params.toString()}`);
|
||||
},
|
||||
|
||||
getCoveReceipt: (invoiceId: number, companyId: number): Promise<Blob> => {
|
||||
const params = new URLSearchParams({ company_id: companyId.toString() });
|
||||
return api.getBlob(
|
||||
`/v1/a76/factura-cove/invoices/${invoiceId}/cove/acuse?${params.toString()}`
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user