stackin-python-sdk 0.3.1__py3-none-any.whl → 0.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stackin/__init__.py +1 -1
- stackin/br/__init__.py +38 -0
- stackin/br/tax.py +1722 -133
- stackin/core/client.py +31 -0
- {stackin_python_sdk-0.3.1.dist-info → stackin_python_sdk-0.5.0.dist-info}/METADATA +1 -1
- stackin_python_sdk-0.5.0.dist-info/RECORD +13 -0
- stackin_python_sdk-0.3.1.dist-info/RECORD +0 -13
- {stackin_python_sdk-0.3.1.dist-info → stackin_python_sdk-0.5.0.dist-info}/WHEEL +0 -0
- {stackin_python_sdk-0.3.1.dist-info → stackin_python_sdk-0.5.0.dist-info}/licenses/LICENSE +0 -0
stackin/core/client.py
CHANGED
|
@@ -244,6 +244,37 @@ class Invoice:
|
|
|
244
244
|
|
|
245
245
|
return self._request("GET", "/received-invoices", params=params)
|
|
246
246
|
|
|
247
|
+
def history(
|
|
248
|
+
self,
|
|
249
|
+
*,
|
|
250
|
+
document_type: DocumentType | None = None,
|
|
251
|
+
status: str | None = None,
|
|
252
|
+
limit: int | None = None,
|
|
253
|
+
offset: int | None = None,
|
|
254
|
+
sort_by: str | None = None,
|
|
255
|
+
order_by: str | None = None,
|
|
256
|
+
) -> dict:
|
|
257
|
+
"""This company's own issuance history, newest first.
|
|
258
|
+
|
|
259
|
+
The counterpart of received(): that one lists what was issued
|
|
260
|
+
against the company, this one what the company issued.
|
|
261
|
+
"""
|
|
262
|
+
params: dict[str, object] = {}
|
|
263
|
+
if document_type is not None:
|
|
264
|
+
params["document_type"] = document_type.value
|
|
265
|
+
if status is not None:
|
|
266
|
+
params["status"] = status
|
|
267
|
+
if limit is not None:
|
|
268
|
+
params["limit"] = limit
|
|
269
|
+
if offset is not None:
|
|
270
|
+
params["offset"] = offset
|
|
271
|
+
if sort_by is not None:
|
|
272
|
+
params["sort_by"] = sort_by
|
|
273
|
+
if order_by is not None:
|
|
274
|
+
params["order_by"] = order_by
|
|
275
|
+
|
|
276
|
+
return self._request("GET", "/invoices", params=params)
|
|
277
|
+
|
|
247
278
|
def manifest(
|
|
248
279
|
self,
|
|
249
280
|
access_key: str,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
stackin/__init__.py,sha256=7asOn6WfIEccIYuv-WYfEsjJfZu7SWgJ1ps49lPZGKc,531
|
|
2
|
+
stackin/br/__init__.py,sha256=ktBhaGVPE81n8r5jdIloERq4x9B2AE1k9-1IlzqVhVM,1184
|
|
3
|
+
stackin/br/product.py,sha256=877FGYgVZ8iBIJFecsDRbbnEiKmbMY5WBuVtHoEoia4,4044
|
|
4
|
+
stackin/br/tax.py,sha256=UxcYX-kJw1HxUixB0hRABSgoHqT6CLoEjup4xIRFaYg,54747
|
|
5
|
+
stackin/core/__init__.py,sha256=dxtOP1DopMSNFYGh3Hf12RVcs58R9xwLn-gqfKFo-HE,19
|
|
6
|
+
stackin/core/address.py,sha256=-w5R3nzfU5T3VoxIeygu5Dq4DRb_lJHAGc0lmSMwEMU,616
|
|
7
|
+
stackin/core/client.py,sha256=AIN1a0_NQm64tv14GmTpEQm9Gt7JYxpSZFBXBdCK6Jw,11277
|
|
8
|
+
stackin/core/exceptions.py,sha256=ELn-uL8rwjAFsD1PgM8Zr-1if3Z5yOWU81chUs4k6tU,505
|
|
9
|
+
stackin/core/types.py,sha256=NpfYVN58Ug9fEY7VYeQ2TC1eekoFGHZq_habvrqEeTY,604
|
|
10
|
+
stackin_python_sdk-0.5.0.dist-info/METADATA,sha256=yw5jy8MC7Wgdv6qr2PKF2yjicfRMlLtC3KG6yqxbAIk,11041
|
|
11
|
+
stackin_python_sdk-0.5.0.dist-info/WHEEL,sha256=eY7nduwzv-ldUxpzbRlxwvC693Hg6PX8bWDjEHjZ_dk,88
|
|
12
|
+
stackin_python_sdk-0.5.0.dist-info/licenses/LICENSE,sha256=D-XHDcKFFhzEo9C5Dp4QPvt00pb_u__hi4Bc08zpxyU,1072
|
|
13
|
+
stackin_python_sdk-0.5.0.dist-info/RECORD,,
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
stackin/__init__.py,sha256=Ga5d3L7QT2WwhVNA1_PAC_NIBpaF6h-hyZtO7lqkkbM,531
|
|
2
|
-
stackin/br/__init__.py,sha256=Nw5VyeoFFJPqweZI60uADtBrxilXqkpzpkYtR5WZ630,656
|
|
3
|
-
stackin/br/product.py,sha256=877FGYgVZ8iBIJFecsDRbbnEiKmbMY5WBuVtHoEoia4,4044
|
|
4
|
-
stackin/br/tax.py,sha256=PdUkg5JdNKy7AHlt5ZpM9svvilZA93FPMr2QNi0SRlw,7716
|
|
5
|
-
stackin/core/__init__.py,sha256=dxtOP1DopMSNFYGh3Hf12RVcs58R9xwLn-gqfKFo-HE,19
|
|
6
|
-
stackin/core/address.py,sha256=-w5R3nzfU5T3VoxIeygu5Dq4DRb_lJHAGc0lmSMwEMU,616
|
|
7
|
-
stackin/core/client.py,sha256=GqWWxDdOeiSfLMJ2iqm_-xWA6zvwUM-387bSqR5eA2Y,10232
|
|
8
|
-
stackin/core/exceptions.py,sha256=ELn-uL8rwjAFsD1PgM8Zr-1if3Z5yOWU81chUs4k6tU,505
|
|
9
|
-
stackin/core/types.py,sha256=NpfYVN58Ug9fEY7VYeQ2TC1eekoFGHZq_habvrqEeTY,604
|
|
10
|
-
stackin_python_sdk-0.3.1.dist-info/METADATA,sha256=zgjUSIk67gBeZj_YY70TUhgxcaBnlBgVN6HKXsKLlKg,11041
|
|
11
|
-
stackin_python_sdk-0.3.1.dist-info/WHEEL,sha256=eY7nduwzv-ldUxpzbRlxwvC693Hg6PX8bWDjEHjZ_dk,88
|
|
12
|
-
stackin_python_sdk-0.3.1.dist-info/licenses/LICENSE,sha256=D-XHDcKFFhzEo9C5Dp4QPvt00pb_u__hi4Bc08zpxyU,1072
|
|
13
|
-
stackin_python_sdk-0.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|