v0.7.0
What's Changed
history— lists what this company issued, the counterpart ofreceived- The contract grew from nine methods to ten, in every language at once
history — the company's own issuance list
received lists what other companies issued against this one. This is the other side: what this company issued, newest first.
const result = await invoice.history({ documentType: DocumentType.NFE, status: "rejected", limit: 10 });
Returns the usual paginated envelope. Each row carries both identifiers the other methods need: id, which reissue takes, and access_key, which consult, cancel, correct and pdf take. A rejected row has an id and no access key — the authorizer never assigned one.
Filters: document type, status (pending, authorized, rejected, cancelled), plus limit, offset and ordering.
It is named history rather than list because list is a builtin in Python and a language construct in PHP, and the API itself names the operation after the issuance history.
Nothing was removed and no signature changed.
Full Changelog: v0.6.0...v0.7.0