Skip to main content
POST
https://staging-api.propaga.io/v1
/
transaction
/
{transactionId}
/
invoice
curl 
--location 
--request POST 'https://staging-api.propaga.io/v1/transaction/{transactionId}/invoice' \
--header 'Authorization: <your_awesome_token>'
--header 'Content-Type: application/json'
--data '{
  "invoice": {
    "discount": 0,
    "products": [
       {
        "product": {
          "description": "Sopa",
          "price": 200.77,
          "productKey": "50191507",
          "sku": "00041789901980",
          "taxes": [{ "rate": 0, "type": "IVA" }],
          "unitKey": "XUN"
        },
        "quantity": 1
      },
    ]
  }
}'
{
    "success": true
}
curl 
--location 
--request POST 'https://staging-api.propaga.io/v1/transaction/{transactionId}/invoice' \
--header 'Authorization: <your_awesome_token>'
--header 'Content-Type: application/json'
--data '{
  "invoice": {
    "discount": 0,
    "products": [
       {
        "product": {
          "description": "Sopa",
          "price": 200.77,
          "productKey": "50191507",
          "sku": "00041789901980",
          "taxes": [{ "rate": 0, "type": "IVA" }],
          "unitKey": "XUN"
        },
        "quantity": 1
      },
    ]
  }
}'
{
    "success": true
}

Path parameters

transactionId
string
required
Propaga’s transaction id

Body

invoice
object
required

Response

success
boolean