# Billing details must be null if the collection mode is automatic

You are attempting to set billing details when the collection mode is automatic

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_billing_details_must_be_null",
    "detail": "billing_details must be null if collection_mode=automatic",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_billing_details_must_be_null"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_billing_details_must_be_null` |
| Error message | billing_details must be null if collection_mode=automatic |

## Common causes

- Billing Details have been defined when the Collection Mode is automatic

## Common solutions

- Set the Collection Mode to manual
- Remove Billing Details from your request
