Skip to content

Commit

Permalink
ix-improvements-2
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmoliner committed Dec 12, 2024
1 parent 3b4631f commit ab45993
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions guides/pt-invoicexpress.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,68 @@ All of the following steps must be carried out from the [Invopop Console](https:
* **Send to InvoiceXpress** - Transmits invoice data
* **Generate PDF** - Creates document (configure for your environment)
* **Set State** - Updates status to "sent"

For quick setup, use our pre-configured workflow below:

<Accordion title="Invoice Processing Workflow example">
```json
{
"name": "Send invoice to InvoiceXpress",
"description": null,
"steps": [
{
"id": "61b16e10-b8c9-11ef-b752-d31a7493e92d",
"name": "Send to InvoiceXpress",
"provider": "invoicexpress",
"config": {
"skip_pdf": false
}
},
{
"id": "2b65e8e0-2f21-11ef-803c-8d182b3d70cd",
"name": "Generate PDF",
"next": [
{
"status": "KO",
"step_id": "6e7ea2d0-49a1-11ef-8c8c-7bca04ed2465"
}
],
"config": {
"logo_height": 40,
"locale": "pt",
"date_format": "%Y-%m-%d"
},
"summary": "Portuguese",
"provider": "pdf"
},
{
"id": "6a8f6740-49a1-11ef-8c8c-7bca04ed2465",
"name": "Set State",
"next": [
{
"stop": true,
"status": "NA"
}
],
"config": {
"state": "sent"
},
"summary": "Set state to `sent`{.state .sent}",
"provider": "silo.state"
},
{
"id": "6e7ea2d0-49a1-11ef-8c8c-7bca04ed2465",
"name": "Set State",
"config": {
"state": "error"
},
"summary": "Set state to `error`{.state .error}",
"provider": "silo.state"
}
]
}
```
</Accordion>
</Step>
</Steps>
## Running
Expand Down

0 comments on commit ab45993

Please sign in to comment.