Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) |
- [InvoiceItemsFilter](docs/models/InvoiceItemsFilter.md)
- [InvoiceItemsSort](docs/models/InvoiceItemsSort.md)
- [InvoiceLineItem](docs/models/InvoiceLineItem.md)
- [InvoicePaymentAllocations](docs/models/InvoicePaymentAllocations.md)
- [InvoiceResponse](docs/models/InvoiceResponse.md)
- [InvoicesFilter](docs/models/InvoicesFilter.md)
- [InvoicesSort](docs/models/InvoicesSort.md)
Expand Down
14 changes: 14 additions & 0 deletions docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6359,6 +6359,13 @@ with apideck.ApiClient(configuration) as api_client:
),
template_id="123456",
source_document_url="https://www.invoicesolution.com/invoice/123456",
payment_allocations=[
InvoicePaymentAllocations(
id="123456",
allocated_amount=1000,
date=dateutil_parser('2020-09-30T07:43:32Z'),
),
],
payment_method="cash",
channel="email",
language="EN",
Expand Down Expand Up @@ -6988,6 +6995,13 @@ with apideck.ApiClient(configuration) as api_client:
),
template_id="123456",
source_document_url="https://www.invoicesolution.com/invoice/123456",
payment_allocations=[
InvoicePaymentAllocations(
id="123456",
allocated_amount=1000,
date=dateutil_parser('2020-09-30T07:43:32Z'),
),
],
payment_method="cash",
channel="email",
language="EN",
Expand Down
1 change: 1 addition & 0 deletions docs/models/Invoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Name | Type | Description | Notes
**shipping_address** | [**Address**](Address.md) | | [optional]
**template_id** | **str, none_type** | Optional invoice template | [optional]
**source_document_url** | **str, none_type** | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | [optional]
**payment_allocations** | [**[InvoicePaymentAllocations], none_type**](InvoicePaymentAllocations.md) | IDs of payments made on the invoice | [optional]
**payment_method** | **str, none_type** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional]
**channel** | **str, none_type** | The channel through which the transaction is processed. | [optional]
**language** | **str, none_type** | language code according to ISO 639-1. For the United States - EN | [optional]
Expand Down
14 changes: 14 additions & 0 deletions docs/models/InvoicePaymentAllocations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# InvoicePaymentAllocations


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | ID of the payment | [optional]
**allocated_amount** | **float, none_type** | Amount of the payment allocated to the invoice | [optional]
**date** | **datetime, none_type** | Date of the payment | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)


3 changes: 3 additions & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ apideck/model/invoice_item_sales_details.py
apideck/model/invoice_items_filter.py
apideck/model/invoice_items_sort.py
apideck/model/invoice_line_item.py
apideck/model/invoice_payment_allocations.py
apideck/model/invoice_response.py
apideck/model/invoices_filter.py
apideck/model/invoices_sort.py
Expand Down Expand Up @@ -1213,6 +1214,7 @@ docs/InvoiceItemSalesDetails.md
docs/InvoiceItemsFilter.md
docs/InvoiceItemsSort.md
docs/InvoiceLineItem.md
docs/InvoicePaymentAllocations.md
docs/InvoiceResponse.md
docs/InvoicesFilter.md
docs/InvoicesSort.md
Expand Down Expand Up @@ -1941,6 +1943,7 @@ test/test_invoice_item_sales_details.py
test/test_invoice_items_filter.py
test/test_invoice_items_sort.py
test/test_invoice_line_item.py
test/test_invoice_payment_allocations.py
test/test_invoice_response.py
test/test_invoices_filter.py
test/test_invoices_sort.py
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/accounting_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/ats_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/connector_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/crm_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/ecommerce_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/file_storage_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/hris_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/issue_tracking_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/lead_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/pos_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/sms_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/vault_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/api/webhook_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
4 changes: 2 additions & 2 deletions src/apideck/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Apideck-python-sdk/1.4.8 Unify-spec/10.15.1'
self.user_agent = 'Apideck-python-sdk/1.4.8 Unify-spec/10.15.2'

def __enter__(self):
return self
Expand Down
4 changes: 2 additions & 2 deletions src/apideck/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -427,7 +427,7 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 10.15.1\n"\
"Version of the API: 10.15.2\n"\
"SDK Package Version: 1.4.8".\
format(env=sys.platform, pyversion=sys.version)

Expand Down
2 changes: 1 addition & 1 deletion src/apideck/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/accounting_customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/accounting_department.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/accounting_departments_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/accounting_event_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/accounting_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/accounting_locations_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/activities_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/activities_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/activity_attendee.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/address.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/aged_creditors.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/aged_debtors.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/aged_report_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/allocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion src/apideck/model/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The Apideck OpenAPI Spec: SDK Optimized # noqa: E501

The version of the OpenAPI document: 10.15.1
The version of the OpenAPI document: 10.15.2
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
Loading
Loading