Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Agrega ejemplo de como relacionar documentos cfdi #108

Merged

Conversation

AndresRamos
Copy link
Owner

Este PR agrega ejemplos de como relacionar documentos de tipo CFDI por llave y por UUID.

public void RelacionPorLlave()
{
    var documento = new tLlaveDoc { aCodConcepto = "PRUEBAFACTURA", aSerie = "PRUEBA", aFolio = 1 };
    var documentoARelacionar = new tLlaveDoc { aCodConcepto = "PRUEBAFACTURA", aSerie = "PRUEBA", aFolio = 2 };

    _documentoService.RelacionarDocumentos(documento, "01", documentoARelacionar);
}

public void RelacionPorUuid()
{
    var documento = new tLlaveDoc { aCodConcepto = "PRUEBAFACTURA", aSerie = "PRUEBA", aFolio = 1 };

    _documentoService.RelacionarDocumentos(documento, "03", "51F58A42-3827-49A3-A1E5-54CADF80F9C6");
}

@AndresRamos AndresRamos self-assigned this Dec 16, 2023
@AndresRamos AndresRamos merged commit 6978ddd into next-release Dec 16, 2023
@AndresRamos AndresRamos deleted the agrega-ejemplo-de-como-relacionar-documentos-cfdi branch December 16, 2023 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant