- Implement tests for basic and bearer authentication headers in `test_auth.py`. - Create tests for the `EasybillWebhookParser` in `test_webhooks.py`, covering JSON and form-encoded payloads, as well as a generic parse and acknowledgement method.
47 lines
2.4 KiB
Markdown
47 lines
2.4 KiB
Markdown
# DocumentRecurring
|
|
|
|
This object is only available in document type RECURRING.
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**next_date** | **date** | Must be in the future |
|
|
**frequency** | **str** | | [optional] [default to 'MONTHLY']
|
|
**frequency_special** | **str** | | [optional] [default to null]
|
|
**interval** | **int** | | [optional]
|
|
**end_date_or_count** | **str** | Date of last exectution day or number of times to exectute | [optional] [default to 'null']
|
|
**status** | **str** | | [optional] [default to 'WAITING']
|
|
**as_draft** | **bool** | | [optional] [default to False]
|
|
**is_notify** | **bool** | | [optional] [default to False]
|
|
**send_as** | **str** | | [optional] [default to null]
|
|
**is_sign** | **bool** | | [optional] [default to False]
|
|
**is_paid** | **bool** | | [optional] [default to False]
|
|
**paid_date_option** | **str** | Option is used to determine what date is used for the payment if is_paid is true. \"next_valid_date\" selects the next workday in regards to the created date of the document if the date falls on a saturday or sunday. | [optional] [default to 'created_date']
|
|
**is_sepa** | **bool** | | [optional] [default to False]
|
|
**sepa_local_instrument** | **str** | COR1 is deprecated use CORE instead. | [optional] [default to null]
|
|
**sepa_sequence_type** | **str** | | [optional] [default to null]
|
|
**sepa_reference** | **str** | | [optional] [default to 'null']
|
|
**sepa_remittance_information** | **str** | | [optional] [default to 'null']
|
|
**target_type** | **str** | The document type that will be generated. Can not be changed on existing documents. | [optional] [default to 'INVOICE']
|
|
|
|
## Example
|
|
|
|
```python
|
|
from easybill_generated_sync.models.document_recurring import DocumentRecurring
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of DocumentRecurring from a JSON string
|
|
document_recurring_instance = DocumentRecurring.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(DocumentRecurring.to_json())
|
|
|
|
# convert the object into a dict
|
|
document_recurring_dict = document_recurring_instance.to_dict()
|
|
# create an instance of DocumentRecurring from a dict
|
|
document_recurring_from_dict = DocumentRecurring.from_dict(document_recurring_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|