Skip to content

Add get_government_data parameter and government fields to GetInvoices#36

Open
iglak wants to merge 4 commits intobugproof:masterfrom
iglak:master
Open

Add get_government_data parameter and government fields to GetInvoices#36
iglak wants to merge 4 commits intobugproof:masterfrom
iglak:master

Conversation

@iglak
Copy link
Copy Markdown

@iglak iglak commented Apr 2, 2026

This pull request updates the GetInvoices request and response model to support retrieving government invoice data from the API. The changes add an option to include government-related fields in the response and update the invoice model to handle these new fields.

Enhancements to government invoice data support:

  • Added the GetGovernmentData property to the GetInvoices request, allowing clients to specify whether government data fields (gov_id, gov_date, gov_status) should be included in the response.
  • Extended the Invoice class in the response to include new properties: GovId, GovDate, and GovStatus, which represent government invoice identifier, date (in Unix time), and status, respectively. These fields are only populated if get_government_data is true in the request.

Improvements to existing property documentation:

  • Updated the XML documentation for the GetExternalInvoices property to clarify its behavior and use case, especially for ERP integrations.

Copilot AI and others added 4 commits April 2, 2026 08:46
Add get_government_data parameter and gov fields to GetInvoices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants