fyo icon

fyo

Interact with fyo API

ARCA → Get Waybills

AI-generated

Summary

Retrieve ARCA waybills (Carta de Porte) from the fyo API by searching either within a date range or by a specific CTG number.

Inputs

  • Search By (required) — Select whether to search waybills by a date range (up to one month) or by CTG number.
  • Date From (required) — Start date for the search range when searching by date. The date must not be in the future and the range can be at most one month.
  • Date To — Optional end date for the search range when searching by date, with the same constraints.
  • CTG Number (required) — Specify the CTG number when searching by CTG number instead of date range.

Output shape

a list of waybill records as separate items

The operation returns an array of waybills under the 'data' field of the API response. Each waybill is returned as a separate n8n item for further processing.

Examples

Example 1: Search by date range

Set 'Search By' to 'Date Range', then provide 'Date From' and optionally 'Date To' within a maximum 1 month range that does not exceed the current date.

Example 2: Search by CTG Number

Set 'Search By' to 'CTG Number', then provide the required CTG number to retrieve corresponding waybills.

Links

Discussion