# Atributo Data Faturamento

Incluímos um novo atributo no POST de atualização para o status "**Faturado**" (**invoice**).

O atributo em questão é: “**issue\_date**”, referente a data que a nota físcal foi gerada, o formato deve seguir o seguinte padrão: "**2019-01-27T12:30:00-03:00**".

#### Exemplo de requisição:

```
curl --location --request POST 'https://api.skyhub.com.br/orders/{code}/invoice' \
--header 'X-User-Email: email_de_usuario' \
--header 'X-Api-Key: token_de_integracao' \
--header 'X-Accountmanager-Key: token_account' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "order_invoiced",
    "invoice": {
        "key": "99999999999999999999999999999999999999999999",
        "issue_date": "2019-01-27T12:30:00-03:00"
    }
}'
```

{% hint style="warning" %}
Caso não envie o atributo ou a informação esteja como "**null**", o “**issue\_date**” será considerado como a data de envio da requisição para a SkyHub.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desenvolvedores.skyhub.com.br/comunicados/comunicados-2020/atributo-data-faturamento-vigente-desde-20-02-20.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
