Issue invoices and notes
Documents are issued from the Invoices section of the app or automatically from a flow.
Steps
- 1Open Invoices and choose the active issuer.
- 2Create the invoice with customer data, lines, taxes and payment method.
- 3Issue: Pulbot stores the intent, sends it to Smart and records the control number and PDF.
- 4For adjustments, create a credit or debit note referencing the original invoice.
Reference
- No duplicates
- Repeating the same request returns the same document. Reusing the same key with a different amount is rejected with a 409 error.
- Uncertain result
- If Smart does not confirm the issuance, the document stays «uncertain» and is not resent automatically: an administrator reconciles it with evidence.
- Numbering
- Sequence numbers are shared per issuer, environment, type and series. You can check the next number and manage the control-number lot, with a warning when few remain.
- Isolation
- Each organization only sees its own documents.
Common errors
- Uncertain document
- Smart did not confirm the issuance. Do not issue again: request reconciliation.
- Lot exhausted
- Control numbers ran out. The document fails and can be retried after loading a new lot.
- 409 Conflict
- The operation key was already used with a different amount.
Next step
Check what is available today in Status and scope.
A document's states
Every invoice or note goes through these states. None deletes or renumbers documents.
- STARTPendingIntent stored before contacting Smart.
- SUCCESSIssuedSmart confirmed: control number and original PDF exist.
- ATTENTIONUncertainSmart did not confirm. Not resent; an administrator reconciles it with evidence.
- ERRORFailedDefinitive rejection (data or exhausted lot). Fix it and retry.
An uncertain document is never resent automatically: it is reconciled with evidence to avoid duplicating the invoice.