Operations in the Fatture in Cloud Receipts resource.
Summary
Functions
Creates a new receipt.
Deletes the specified receipt.
Gets the specified receipt.
Retrieves the information useful while creating a new receipt.
Returns the monthly totals by year and receipt type.
Lists the receipts.
Modifies the specified receipt.
Functions
@spec create_receipt( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Creates a new receipt.
Sends POST /c/{company_id}/receipts (createReceipt).
Pass the JSON body with the provider's envelope. Use nil to omit it.
@spec delete_receipt( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Deletes the specified receipt.
Sends DELETE /c/{company_id}/receipts/{document_id} (deleteReceipt).
@spec get_receipt( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Gets the specified receipt.
Sends GET /c/{company_id}/receipts/{document_id} (getReceipt).
Query options
:fields(string):fieldset(string, one of"basic","detailed","fic_view")
@spec get_receipt_pre_create_info( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Retrieves the information useful while creating a new receipt.
Sends GET /c/{company_id}/receipts/info (getReceiptPreCreateInfo).
@spec get_receipts_monthly_totals( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Returns the monthly totals by year and receipt type.
Sends GET /c/{company_id}/receipts/monthly_totals (getReceiptsMonthlyTotals).
Query options
:type(string, required, one of"sales_receipt","till_receipt"):year(string, required)
@spec list_receipts( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Lists the receipts.
Sends GET /c/{company_id}/receipts (listReceipts).
Query options
:fields(string):fieldset(string, one of"basic","detailed","fic_view"):page(integer, minimum 1):per_page(integer, minimum 1, maximum 100):sort(string):q(string)
@spec modify_receipt( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Modifies the specified receipt.
Sends PUT /c/{company_id}/receipts/{document_id} (modifyReceipt).
Pass the JSON body with the provider's envelope. Use nil to omit it.