Skip to content

Commit

Permalink
feat: add document_type on iLink integration
Browse files Browse the repository at this point in the history
Add the fixed `document_type` parameter with value of `issued`
when querying iLink, so we can search documents issued by
fixes #299
  • Loading branch information
igobranco committed Jun 11, 2024
1 parent 0ece58b commit 29cf776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/billing/services/receipt_host_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_document(self, document_id: str):
"""
response = requests.get(
url=f"{self.__receipt_host_url}",
params={"document_number": document_id},
params={"document_number": document_id, "document_type": "issued"},
headers={
"entity": self.__receipt_entity_public_key,
"Authorization": f"Bearer {self.__receipt_bearer_token}",
Expand Down

0 comments on commit 29cf776

Please sign in to comment.