Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.16 KB

File metadata and controls

40 lines (31 loc) · 2.16 KB

CreateReceiptRequest

Properties

Name Type Description Notes
allocations List[ReceiptTransactionAllocation] [optional]
transaction_id int Id of the transaction associated to a payment. This parameter is mutually exclusive with `paymentId`. [optional]
payment_id int Id of the payment. This parameter is mutually exclusive with `transactionId`. [optional]
invoice_id int Id of invoice that receipt should be applied to. Ignored if allocations are presented. [optional]
sequence_id int [optional]
skip_integration bool At the moment this can only be set to True on Italy to skip the integration, for italy this case is needed to avoid Printing the Receipt [optional] [default to False]
handwritten bool Indicates this is a handwritten receipt created during POS unavailability. Only allowed for properties with Fiskaltrust integration enabled. [optional] [default to False]
user_id int
source_id int
source_kind SourceKind
recipient RecipientRequest [optional]
manual_recipient ManualRecipientRequest [optional]

Example

from cloudbeds_fiscal_document.models.create_receipt_request import CreateReceiptRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateReceiptRequest from a JSON string
create_receipt_request_instance = CreateReceiptRequest.from_json(json)
# print the JSON string representation of the object
print(CreateReceiptRequest.to_json())

# convert the object into a dict
create_receipt_request_dict = create_receipt_request_instance.to_dict()
# create an instance of CreateReceiptRequest from a dict
create_receipt_request_from_dict = CreateReceiptRequest.from_dict(create_receipt_request_dict)

[Back to Model list] [Back to API list] [Back to README]