Skip to content

feat(invoices): agregar métodos ZIP - #11

Merged
javorosas merged 2 commits into
chore/retention_draftfrom
chore/download_zip_methods
Aug 24, 2026
Merged

feat(invoices): agregar métodos ZIP#11
javorosas merged 2 commits into
chore/retention_draftfrom
chore/download_zip_methods

Conversation

@raul-facturapi

@raul-facturapi raul-facturapi commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Cambios

  • Agrega métodos para solicitar archivos ZIP de facturas y retenciones.

@raul-facturapi
raul-facturapi requested review from javorosas and a lite review from Copilot August 12, 2026 15:41
@raul-facturapi raul-facturapi self-assigned this Aug 12, 2026
@raul-facturapi raul-facturapi added the documentation Improvements or additions to documentation label Aug 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support in the Java SDK for creating, listing, retrieving, and downloading invoice ZIP requests via the /v2/invoices/zip-requests endpoints, along with test coverage and a version bump for release.

Changes:

  • Add ZIP request methods to InvoicesResource (createZipRequest, listZipRequests, retrieveZipRequest, downloadZipRequest).
  • Add resource tests validating request method/path and basic payload/query behavior for the new endpoints.
  • Bump SDK version to 1.4.0 and document changes in the changelog.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/main/java/io/facturapi/resources/InvoicesResource.java Introduces new ZIP request endpoints under invoices, including a streaming download method.
src/test/java/io/facturapi/FacturapiResourcesTest.java Adds tests covering the new ZIP request methods and expected HTTP interactions.
pom.xml Bumps library version from 1.3.0 to 1.4.0.
CHANGELOG.md Documents the new ZIP request methods in the 1.4.0 release entry.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/main/java/io/facturapi/resources/InvoicesResource.java
@javorosas
javorosas force-pushed the chore/download_zip_methods branch from 12000d5 to 6100ac0 Compare August 21, 2026 16:17
@javorosas
javorosas changed the base branch from main to chore/retention_draft August 21, 2026 16:17
@javorosas javorosas changed the title Add invoice ZIP request methods feat(invoices): agregar métodos ZIP Aug 21, 2026
@javorosas
javorosas merged commit ecd89d1 into chore/retention_draft Aug 24, 2026
4 checks passed
javorosas added a commit that referenced this pull request Aug 24, 2026
* Add invoice ZIP request methods

* fix: align ZIP download method naming

---------

Co-authored-by: javorosas <javier.rosasb@gmail.com>
javorosas added a commit that referenced this pull request Aug 24, 2026
* feat(retentions): agregar métodos para borradores (#7)

* chore(retentions): add new retentions method for support drafts

* chore: keep retention draft methods unreleased

---------

Co-authored-by: javorosas <javier.rosasb@gmail.com>

* feat(invoices): agregar métodos ZIP (#11)

* Add invoice ZIP request methods

* fix: align ZIP download method naming

---------

Co-authored-by: javorosas <javier.rosasb@gmail.com>

* fix!: return Java API error codes as strings

* fix: only normalize numeric API error codes

* fix: model property tax accounts as arrays

* docs: update Java dependency snippets for 2.0.0

* docs: complete Java 2.0.0 changelog

---------

Co-authored-by: Raúl García <141654545+raul-facturapi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants