Skip to main content
Question

Alegra “Create Invoice” sends datetime instead of date (YYYY-MM-DD)

  • December 13, 2025
  • 2 replies
  • 10 views

Hi everyone,

 

I’m reporting a blocking issue with the Alegra – Create Invoice action in Zapier.

Issue

The date and dueDate fields are treated as datetime fields by Zapier.

Even when providing a correctly formatted value (YYYY-MM-DD), Zapier internally sends a datetime value with timezone, for example:

 

2025-12-11T00:00:00-06:00

Alegra’s API expects date-only values and rejects datetimes with the error:

“The value 2025-12-11T00:00:00-06:00 is not valid for a date field in Y-m-d format”

As a result, the invoice cannot be created.

What has been tested

• Formatter by Zapier (Date/Time → Format)

• Text formatting and Replace

• Static dates and manual input

• UTC timezone

• Passing pre-formatted YYYY-MM-DD strings

In all cases, Zapier still sends a datetime value instead of a plain date.

API reference

Alegra’s API documentation specifies that invoice dates must be sent as date-only strings:

 

POST /api/v1/invoices

{

  "date": "YYYY-MM-DD",

  "dueDate": "YYYY-MM-DD"

}

 

Docs:

https://developer.alegra.com/api-reference/invoices/create-invoice/

 

Calling the same endpoint via Webhooks by Zapier with these values works correctly, confirming this is a limitation of the Alegra Zapier connector.

Expected behavior

• Allow sending date and dueDate as plain strings

or

• Provide a custom/raw input mode for these fields

Workaround

Use Webhooks by Zapier to call the Alegra API directly.

This workaround works, but the official Alegra app remains unusable for invoice creation.

Thanks in advance — hoping this helps get the connector fixed.

 

Best regards,

Anxapz

2 replies

  • Author
  • New
  • December 13, 2025

According to Zapier’s documentation on Field Types and Date/Time formatting, Datetime fields are always parsed and reformatted before being sent. Allegra’s Create Invoice action defines date and dueDate as Datetime fields, which causes Zapier to convert valid YYYY-MM-DD values into ISO-8601 with timezone. Allegra’s API only accepts plain date strings, making the native Zapier action incompatible.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • December 13, 2025

Hi ​@Anxapz 

Most Zap app integrations are created and managed by the app developer (not by Zapier).

Try reaching out to Alegra Support for help with their Zap app.

You can report this via a ticket to Zapier Support: https://zapier.com/app/get-help